AliRoot Core  ee782a0 (ee782a0)
AliCaloCalibSignal Class Reference

class for signal monitoring and calibration tools More...

#include <AliCaloCalibSignal.h>

Inheritance diagram for AliCaloCalibSignal:

Public Types

enum  kDetType { kPhos, kEmCal, kNone }
 The detector types (add common enum as in AliCalibPedestal?) More...
 

Public Member Functions

 AliCaloCalibSignal (kDetType detectorType=kEmCal)
 
virtual ~AliCaloCalibSignal ()
 Destructor. More...
 
Bool_t ProcessEvent (AliRawReader *rawReader)
 
Bool_t ProcessEvent (AliCaloRawStreamV3 *in, UInt_t Timestamp)
 
Bool_t CheckFractionAboveAmp (const int *AmpVal, int resultArray[]) const
 
Bool_t CheckLEDRefAboveAmp (const int *AmpVal, int resultArray[]) const
 
AliCaloAltroMapping ** GetAltroMapping () const
 
void SetAltroMapping (AliCaloAltroMapping **mapp)
 
Int_t GetFittingAlgorithm () const
 
void SetFittingAlgorithm (Int_t val)
 
AliCaloRawAnalyzerGetRawAnalyzer () const
 
void SetParametersFromFile (const char *parameterFile)
 
void WriteParametersToFile (const char *parameterFile)
 Write parameters to file. More...
 
TTree * GetTreeAmpVsTime () const
 
TTree * GetTreeAvgAmpVsTime () const
 
TTree * GetTreeLEDAmpVsTime () const
 
TTree * GetTreeLEDAvgAmpVsTime () const
 
int GetNHighGain (int imod, int icol, int irow) const
 
int GetNLowGain (int imod, int icol, int irow) const
 
int GetNHighGain (int towId) const
 
int GetNLowGain (int towId) const
 
int GetNRef (const int imod, const int istripMod, const int igain) const
 
int GetNRef (int refId) const
 
kDetType GetDetectorType () const
 
TString GetCaloString () const
 
int GetColumns () const
 
int GetRows () const
 
int GetLEDRefs () const
 
int GetModules () const
 
int GetTowerNum (const int imod, const int icol, const int irow) const
 
int GetChannelNum (const int imod, const int icol, const int irow, const int igain) const
 
Bool_t DecodeChannelNum (const int chanId, int *imod, int *icol, int *irow, int *igain) const
 Output with the module, column, row, and gain for a given channel number. More...
 
int GetRefNum (const int imod, const int istripMod, const int igain) const
 
Bool_t DecodeRefNum (const int refId, int *imod, int *istripMod, int *igain) const
 Output with the module, stripModule, and gain for a given reference number. More...
 
int GetNEvents () const
 
int GetNAcceptedEvents () const
 
void SetAmpCut (double d)
 
double GetAmpCut () const
 
void SetReqFractionAboveAmpCutVal (double d)
 
double GetReqFractionAboveAmpCutVal () const
 
void SetReqFractionAboveAmp (bool b)
 
bool GetReqFractionAboveAmp () const
 
void SetAmpCutLEDRef (double d)
 
double GetAmpCutLEDRef () const
 
void SetReqLEDRefAboveAmpCutVal (bool b)
 
bool GetReqLEDRefAboveAmpCutVal () const
 
void SetUseAverage (bool b)
 
bool GetUseAverage () const
 
void SetSecInAverage (int secInAverage)
 set length of the interval that should be used for the average calculation (determines number of bins in TProfile) More...
 
int GetSecInAverage () const
 
void SetDownscale (int i)
 
int GetDownscale () const
 
double GetHour () const
 
double GetCurrentHour () const
 
double GetLatestHour () const
 
void SetLatestHour (double d)
 
void SetRunNumber (int runNo)
 
int GetRunNumber () const
 
void SetStartTime (int startTime)
 
int GetStartTime () const
 
void ResetInfo ()
 Reset trees and counters. More...
 
Bool_t AddInfo (const AliCaloCalibSignal *sig)
 
Bool_t Save (TString fileName)
 
Bool_t Analyze ()
 

Private Member Functions

 AliCaloCalibSignal (const AliCaloCalibSignal &)
 
AliCaloCalibSignaloperator= (const AliCaloCalibSignal &)
 
void DeleteTrees ()
 Delete old objects and set pointers, what was created in the constructor (TTrees) More...
 
void Zero ()
 Set all counters to 0; not cuts etc. though. More...
 
void CreateTrees ()
 Create/initialize/setup the TTrees. More...
 

Private Attributes

kDetType fDetType
 The detector type for this object. More...
 
int fColumns
 The number of columns per module. More...
 
int fRows
 The number of rows per module. More...
 
int fLEDRefs
 The number of LED references/monitors per module. More...
 
int fModules
 The number of modules. More...
 
TString fCaloString
 ID for which detector type we have. More...
 
AliCaloAltroMapping ** fMapping
 ! Altro Mapping object More...
 
Int_t fFittingAlgorithm
 Select the fitting algorithm. More...
 
AliCaloRawAnalyzerfRawAnalyzer
 ! e.g. for sample selection for fits More...
 
int fRunNumber
 The run number. Needs to be set by the user. More...
 
int fStartTime
 Time of first event. More...
 
double fAmpCut
 Amplitude cut value. More...
 
double fReqFractionAboveAmpCutVal
 Required fraction that should be above cut. More...
 
bool fReqFractionAboveAmp
 Flag to select if we should do some event selection based on amplitudes. More...
 
double fAmpCutLEDRef
 Amplitude cut value for LED reference. More...
 
bool fReqLEDRefAboveAmpCutVal
 Flag to select if we should require that signal is also seen in LED Reference/Monitoring channel. More...
 
double fHour
 Fraction of hour since beginning of run, for amp vs. time graphs, for current event. More...
 
double fLatestHour
 Largest fraction of hour since beginning of run, for amp vs. time graphs. More...
 
bool fUseAverage
 Flag to average graph points into over a time interval. More...
 
int fSecInAverage
 Time interval for the graph averaging. More...
 
int fDownscale
 To select 1 out every N (fDownscale) events. More...
 
int fNEvents
 Number of events processed. More...
 
int fNAcceptedEvents
 Number of events accepted. More...
 
TTree * fTreeAmpVsTime
 Store channel, gain, amp, and time info. More...
 
TTree * fTreeAvgAmpVsTime
 Store channel, gain, amp, and time info, for averages. More...
 
TTree * fTreeLEDAmpVsTime
 Store channel, gain, amp, and time info, for LED reference. More...
 
TTree * fTreeLEDAvgAmpVsTime
 Store channel, gain, amp, and time info, for LED reference - averages. More...
 
int fNHighGain [fgkMaxTowers]
 Number of Amp. vs. Time readings per tower. More...
 
int fNLowGain [fgkMaxTowers]
 Number of Amp. vs. Time readings per tower, for low gain. More...
 
int fNRef [fgkMaxRefs *2]
 Number of Amp. vs. Time readings per tower, for LED refs; *2 for both gains. More...
 

Static Private Attributes

static const int fgkPhosRows = 64
 Number of rows per module for PHOS. More...
 
static const int fgkPhosCols = 56
 Number of columns per module for PHOS. More...
 
static const int fgkPhosLEDRefs = 0
 No LED monitor channels for PHOS. More...
 
static const int fgkPhosModules = 5
 Number of modules for PHOS. More...
 
static const int fgkMaxTowers = 23040
 AliEMCALGeoParams::fgkEMCALModules * AliEMCALGeoParams::fgkEMCALCols * AliEMCALGeoParams::fgkEMCALRows;. More...
 
static const int fgkMaxRefs = 480
 AliEMCALGeoParams::fgkEMCALModules * AliEMCALGeoParams::fgkEMCALLEDRefs;. More...
 
static const int fgkNumSecInHr = 3600
 Number of seconds in an hour, for the fractional hour conversion on the time graph. More...
 

Detailed Description

class for signal monitoring and calibration tools

A help class for monitoring and calibration tools: MOOD, AMORE etc., that can process events from a standard AliCaloRawStreamV3, most usually from LED/pulser runs. It stores signal info as typical (highest) amplitude vs time in TGraphs (one per channel) or TProfiles if we decide to just store the averages (and not all points) for the detectors (EMCAL and PHOS).

Partly based on AliCaloCalibPedestal. It can be created and used a la (ctor):

Author
: Josh Hamblen (UTenn), original version.
D. Silvermyr (ORNL), consultant

Definition at line 44 of file AliCaloCalibSignal.h.

Member Enumeration Documentation

The detector types (add common enum as in AliCalibPedestal?)

Enumerator
kPhos 
kEmCal 
kNone 

Definition at line 50 of file AliCaloCalibSignal.h.

Constructor & Destructor Documentation

AliCaloCalibSignal::AliCaloCalibSignal ( kDetType  detectorType = kEmCal)

Constructor; initialize everything in order to avoid compiler warnings, put some reasonable defaults

Parameters
detectorTypespecify the detector defined in kDetType

Definition at line 57 of file AliCaloCalibSignal.cxx.

AliCaloCalibSignal::~AliCaloCalibSignal ( )
virtual

Destructor.

Definition at line 116 of file AliCaloCalibSignal.cxx.

AliCaloCalibSignal::AliCaloCalibSignal ( const AliCaloCalibSignal )
private

Member Function Documentation

Bool_t AliCaloCalibSignal::AddInfo ( const AliCaloCalibSignal sig)

Picks up new info from supplied argument.

Parameters
sigsignal pointer

Definition at line 484 of file AliCaloCalibSignal.cxx.

Referenced by AliEMCALPreprocessor::ExtractSignal(), and GetStartTime().

Bool_t AliCaloCalibSignal::Analyze ( )

Fill the tree holding the average values and summary tree

Definition at line 842 of file AliCaloCalibSignal.cxx.

Referenced by GetStartTime(), main(), and Save().

Bool_t AliCaloCalibSignal::CheckFractionAboveAmp ( const int *  iAmpVal,
int  resultArray[] 
) const

Check fraction of signals to check for LED events Check fraction of towers, per column, that are above amplitude cut

Definition at line 264 of file AliCaloCalibSignal.cxx.

Referenced by ProcessEvent().

Bool_t AliCaloCalibSignal::CheckLEDRefAboveAmp ( const int *  iAmpVal,
int  resultArray[] 
) const

Check if LED Ref is also above cut Check which LEDRef/Mon strips are above amplitude cut

Definition at line 313 of file AliCaloCalibSignal.cxx.

Referenced by ProcessEvent().

void AliCaloCalibSignal::CreateTrees ( )
private

Create/initialize/setup the TTrees.

Definition at line 197 of file AliCaloCalibSignal.cxx.

Referenced by GetStartTime(), and ResetInfo().

Bool_t AliCaloCalibSignal::DecodeChannelNum ( const int  chanId,
int *  imod,
int *  icol,
int *  irow,
int *  igain 
) const

Output with the module, column, row, and gain for a given channel number.

Definition at line 1013 of file AliCaloCalibSignal.cxx.

Referenced by AliEMCALCalibTimeDep::CalcLEDCorrection(), and GetChannelNum().

Bool_t AliCaloCalibSignal::DecodeRefNum ( const int  refId,
int *  imod,
int *  istripMod,
int *  igain 
) const

Output with the module, stripModule, and gain for a given reference number.

Definition at line 1026 of file AliCaloCalibSignal.cxx.

Referenced by AliEMCALCalibTimeDep::CalcLEDCorrection(), and GetRefNum().

void AliCaloCalibSignal::DeleteTrees ( )
private

Delete old objects and set pointers, what was created in the constructor (TTrees)

Definition at line 124 of file AliCaloCalibSignal.cxx.

Referenced by GetStartTime(), ResetInfo(), and ~AliCaloCalibSignal().

AliCaloAltroMapping** AliCaloCalibSignal::GetAltroMapping ( ) const
inline

Definition at line 71 of file AliCaloCalibSignal.h.

double AliCaloCalibSignal::GetAmpCut ( ) const
inline

Definition at line 144 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

double AliCaloCalibSignal::GetAmpCutLEDRef ( ) const
inline

Definition at line 154 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

TString AliCaloCalibSignal::GetCaloString ( ) const
inline
Returns
string, if this is a PHOS or EMCAL object

Definition at line 109 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetChannelNum ( const int  imod,
const int  icol,
const int  irow,
const int  igain 
) const
inline
Returns
Channel number with gain included

Definition at line 120 of file AliCaloCalibSignal.h.

Referenced by Analyze(), and ProcessEvent().

int AliCaloCalibSignal::GetColumns ( ) const
inline

Definition at line 111 of file AliCaloCalibSignal.h.

double AliCaloCalibSignal::GetCurrentHour ( ) const
inline

Definition at line 174 of file AliCaloCalibSignal.h.

kDetType AliCaloCalibSignal::GetDetectorType ( ) const
inline
Returns
int, if this is a PHOS or EMCAL object

Definition at line 107 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetDownscale ( ) const
inline

Definition at line 168 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

Int_t AliCaloCalibSignal::GetFittingAlgorithm ( ) const
inline

Definition at line 75 of file AliCaloCalibSignal.h.

double AliCaloCalibSignal::GetHour ( ) const
inline

Definition at line 173 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

double AliCaloCalibSignal::GetLatestHour ( ) const
inline

Definition at line 175 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

int AliCaloCalibSignal::GetLEDRefs ( ) const
inline

Definition at line 113 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetModules ( ) const
inline

Definition at line 114 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetNAcceptedEvents ( ) const
inline

Definition at line 137 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), and AliEMCALCalibTimeDep::GetCalibSignalInfo().

int AliCaloCalibSignal::GetNEvents ( ) const
inline
int AliCaloCalibSignal::GetNHighGain ( int  imod,
int  icol,
int  irow 
) const
inline

Definition at line 92 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetNHighGain ( int  towId) const
inline

Definition at line 97 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetNLowGain ( int  imod,
int  icol,
int  irow 
) const
inline

Definition at line 94 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetNLowGain ( int  towId) const
inline

Definition at line 98 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetNRef ( const int  imod,
const int  istripMod,
const int  igain 
) const
inline

Definition at line 101 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetNRef ( int  refId) const
inline

Definition at line 103 of file AliCaloCalibSignal.h.

AliCaloRawAnalyzer* AliCaloCalibSignal::GetRawAnalyzer ( ) const
inline

Definition at line 77 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetRefNum ( const int  imod,
const int  istripMod,
const int  igain 
) const
inline
Returns
LED channel number with gain included

Definition at line 129 of file AliCaloCalibSignal.h.

Referenced by Analyze(), CheckLEDRefAboveAmp(), GetNRef(), and ProcessEvent().

bool AliCaloCalibSignal::GetReqFractionAboveAmp ( ) const
inline

Definition at line 150 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

double AliCaloCalibSignal::GetReqFractionAboveAmpCutVal ( ) const
inline

Definition at line 147 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

bool AliCaloCalibSignal::GetReqLEDRefAboveAmpCutVal ( ) const
inline

Definition at line 157 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

int AliCaloCalibSignal::GetRows ( ) const
inline

Definition at line 112 of file AliCaloCalibSignal.h.

int AliCaloCalibSignal::GetRunNumber ( ) const
inline

Definition at line 180 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

int AliCaloCalibSignal::GetSecInAverage ( ) const
inline

Definition at line 165 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

int AliCaloCalibSignal::GetStartTime ( ) const
inline

Definition at line 184 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), and AliEMCALCalibTimeDep::CalcLEDCorrection().

int AliCaloCalibSignal::GetTowerNum ( const int  imod,
const int  icol,
const int  irow 
) const
inline
TTree* AliCaloCalibSignal::GetTreeAmpVsTime ( ) const
inline

Definition at line 86 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), AliEMCALCalibTimeDep::GetCalibSignalInfo(), and main().

TTree* AliCaloCalibSignal::GetTreeAvgAmpVsTime ( ) const
inline
TTree* AliCaloCalibSignal::GetTreeLEDAmpVsTime ( ) const
inline

Definition at line 88 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), AliEMCALCalibTimeDep::GetCalibSignalInfo(), and main().

TTree* AliCaloCalibSignal::GetTreeLEDAvgAmpVsTime ( ) const
inline

Definition at line 89 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), and AliEMCALCalibTimeDep::GetCalibSignalInfo().

bool AliCaloCalibSignal::GetUseAverage ( ) const
inline

Definition at line 161 of file AliCaloCalibSignal.h.

Referenced by AddInfo().

AliCaloCalibSignal& AliCaloCalibSignal::operator= ( const AliCaloCalibSignal )
private
Bool_t AliCaloCalibSignal::ProcessEvent ( AliRawReader *  rawReader)

Process event from rawReader

Parameters
rawReaderreader pointer

Definition at line 577 of file AliCaloCalibSignal.cxx.

Referenced by main().

Bool_t AliCaloCalibSignal::ProcessEvent ( AliCaloRawStreamV3 *  in,
UInt_t  timestamp 
)

Method to process=analyze one event in the data stream

Parameters
inAliCaloRawStreamV3 pointer to data stream
timestamptime stamp value

Definition at line 593 of file AliCaloCalibSignal.cxx.

void AliCaloCalibSignal::ResetInfo ( )

Reset trees and counters.

Definition at line 232 of file AliCaloCalibSignal.cxx.

Referenced by AliCaloCalibSignal(), and GetStartTime().

Bool_t AliCaloCalibSignal::Save ( TString  fileName)

Saves all the TTrees to the designated file

Parameters
fileNamestring with designated file

Definition at line 813 of file AliCaloCalibSignal.cxx.

Referenced by GetStartTime().

void AliCaloCalibSignal::SetAltroMapping ( AliCaloAltroMapping **  mapp)
inline

Definition at line 72 of file AliCaloCalibSignal.h.

Referenced by main().

void AliCaloCalibSignal::SetAmpCut ( double  d)
inline

Definition at line 143 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetAmpCutLEDRef ( double  d)
inline

Definition at line 153 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetDownscale ( int  i)
inline

Definition at line 167 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetFittingAlgorithm ( Int_t  fitAlgo)

Select which fitting algo should be used

Parameters
fitAlgoalgorithm flag, check AliCaloRawAnalyzerFactory for options

Definition at line 469 of file AliCaloCalibSignal.cxx.

Referenced by AliCaloCalibSignal(), GetFittingAlgorithm(), and SetParametersFromFile().

void AliCaloCalibSignal::SetLatestHour ( double  d)
inline

Definition at line 176 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetParametersFromFile ( const char *  parameterFile)

Parameter/cut handling, passing them from external file

Parameters
parameterFileexternal file path and name

Definition at line 350 of file AliCaloCalibSignal.cxx.

Referenced by GetRawAnalyzer(), and main().

void AliCaloCalibSignal::SetReqFractionAboveAmp ( bool  b)
inline

Definition at line 149 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetReqFractionAboveAmpCutVal ( double  d)
inline

Definition at line 146 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetReqLEDRefAboveAmpCutVal ( bool  b)
inline

Definition at line 156 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetRunNumber ( int  runNo)
inline

Definition at line 179 of file AliCaloCalibSignal.h.

Referenced by main().

void AliCaloCalibSignal::SetSecInAverage ( int  secInAverage)
inline

set length of the interval that should be used for the average calculation (determines number of bins in TProfile)

Definition at line 164 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetStartTime ( int  startTime)
inline

Definition at line 183 of file AliCaloCalibSignal.h.

void AliCaloCalibSignal::SetUseAverage ( bool  b)
inline

Definition at line 160 of file AliCaloCalibSignal.h.

Referenced by main().

void AliCaloCalibSignal::WriteParametersToFile ( const char *  parameterFile)

Write parameters to file.

Definition at line 447 of file AliCaloCalibSignal.cxx.

Referenced by GetRawAnalyzer().

void AliCaloCalibSignal::Zero ( )
private

Set all counters to 0; not cuts etc. though.

Definition at line 244 of file AliCaloCalibSignal.cxx.

Referenced by GetStartTime(), and ResetInfo().

Member Data Documentation

double AliCaloCalibSignal::fAmpCut
private

Amplitude cut value.

Definition at line 219 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), CheckFractionAboveAmp(), GetAmpCut(), SetAmpCut(), SetParametersFromFile(), and WriteParametersToFile().

double AliCaloCalibSignal::fAmpCutLEDRef
private

Amplitude cut value for LED reference.

Definition at line 223 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), CheckLEDRefAboveAmp(), GetAmpCutLEDRef(), SetAmpCutLEDRef(), SetParametersFromFile(), and WriteParametersToFile().

TString AliCaloCalibSignal::fCaloString
private

ID for which detector type we have.

Definition at line 210 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal(), GetCaloString(), and ProcessEvent().

int AliCaloCalibSignal::fColumns
private

The number of columns per module.

Definition at line 205 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal(), Analyze(), CheckFractionAboveAmp(), DecodeChannelNum(), GetChannelNum(), GetColumns(), GetTowerNum(), and ProcessEvent().

kDetType AliCaloCalibSignal::fDetType
private

The detector type for this object.

Definition at line 204 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal(), GetDetectorType(), and ProcessEvent().

int AliCaloCalibSignal::fDownscale
private

To select 1 out every N (fDownscale) events.

Definition at line 231 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetDownscale(), ProcessEvent(), SetDownscale(), SetParametersFromFile(), and WriteParametersToFile().

Int_t AliCaloCalibSignal::fFittingAlgorithm
private

Select the fitting algorithm.

Definition at line 213 of file AliCaloCalibSignal.h.

Referenced by GetFittingAlgorithm(), SetFittingAlgorithm(), SetParametersFromFile(), and WriteParametersToFile().

const int AliCaloCalibSignal::fgkMaxRefs = 480
staticprivate
const int AliCaloCalibSignal::fgkMaxTowers = 23040
staticprivate
const int AliCaloCalibSignal::fgkNumSecInHr = 3600
staticprivate

Number of seconds in an hour, for the fractional hour conversion on the time graph.

Definition at line 249 of file AliCaloCalibSignal.h.

Referenced by Analyze(), and ProcessEvent().

const int AliCaloCalibSignal::fgkPhosCols = 56
staticprivate

Number of columns per module for PHOS.

Definition at line 239 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal().

const int AliCaloCalibSignal::fgkPhosLEDRefs = 0
staticprivate

No LED monitor channels for PHOS.

Definition at line 240 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal().

const int AliCaloCalibSignal::fgkPhosModules = 5
staticprivate

Number of modules for PHOS.

Definition at line 241 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal().

const int AliCaloCalibSignal::fgkPhosRows = 64
staticprivate

Number of rows per module for PHOS.

Definition at line 238 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal().

double AliCaloCalibSignal::fHour
private

Fraction of hour since beginning of run, for amp vs. time graphs, for current event.

Definition at line 226 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), CreateTrees(), GetCurrentHour(), GetHour(), ProcessEvent(), and Zero().

double AliCaloCalibSignal::fLatestHour
private

Largest fraction of hour since beginning of run, for amp vs. time graphs.

Definition at line 227 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), GetLatestHour(), ProcessEvent(), SetLatestHour(), and Zero().

int AliCaloCalibSignal::fLEDRefs
private

The number of LED references/monitors per module.

Definition at line 207 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal(), Analyze(), CheckLEDRefAboveAmp(), DecodeRefNum(), GetLEDRefs(), GetRefNum(), and ProcessEvent().

AliCaloAltroMapping** AliCaloCalibSignal::fMapping
private

! Altro Mapping object

Definition at line 211 of file AliCaloCalibSignal.h.

Referenced by GetAltroMapping(), ProcessEvent(), and SetAltroMapping().

int AliCaloCalibSignal::fModules
private
int AliCaloCalibSignal::fNAcceptedEvents
private

Number of events accepted.

Definition at line 235 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetNAcceptedEvents(), ProcessEvent(), and Zero().

int AliCaloCalibSignal::fNEvents
private

Number of events processed.

Definition at line 234 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetNEvents(), ProcessEvent(), and Zero().

int AliCaloCalibSignal::fNHighGain[fgkMaxTowers]
private

Number of Amp. vs. Time readings per tower.

Definition at line 258 of file AliCaloCalibSignal.h.

Referenced by Analyze(), GetNHighGain(), ProcessEvent(), and Zero().

int AliCaloCalibSignal::fNLowGain[fgkMaxTowers]
private

Number of Amp. vs. Time readings per tower, for low gain.

Definition at line 259 of file AliCaloCalibSignal.h.

Referenced by Analyze(), GetNLowGain(), ProcessEvent(), and Zero().

int AliCaloCalibSignal::fNRef[fgkMaxRefs *2]
private

Number of Amp. vs. Time readings per tower, for LED refs; *2 for both gains.

Definition at line 260 of file AliCaloCalibSignal.h.

Referenced by Analyze(), GetNRef(), ProcessEvent(), and Zero().

AliCaloRawAnalyzer* AliCaloCalibSignal::fRawAnalyzer
private

! e.g. for sample selection for fits

Definition at line 214 of file AliCaloCalibSignal.h.

Referenced by GetRawAnalyzer(), ProcessEvent(), and SetFittingAlgorithm().

bool AliCaloCalibSignal::fReqFractionAboveAmp
private

Flag to select if we should do some event selection based on amplitudes.

Definition at line 221 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetReqFractionAboveAmp(), ProcessEvent(), and SetReqFractionAboveAmp().

double AliCaloCalibSignal::fReqFractionAboveAmpCutVal
private
bool AliCaloCalibSignal::fReqLEDRefAboveAmpCutVal
private

Flag to select if we should require that signal is also seen in LED Reference/Monitoring channel.

Definition at line 224 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetReqLEDRefAboveAmpCutVal(), ProcessEvent(), and SetReqLEDRefAboveAmpCutVal().

int AliCaloCalibSignal::fRows
private

The number of rows per module.

Definition at line 206 of file AliCaloCalibSignal.h.

Referenced by AliCaloCalibSignal(), Analyze(), CheckFractionAboveAmp(), DecodeChannelNum(), GetChannelNum(), GetRows(), GetTowerNum(), and ProcessEvent().

int AliCaloCalibSignal::fRunNumber
private

The run number. Needs to be set by the user.

Definition at line 216 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetRunNumber(), and SetRunNumber().

int AliCaloCalibSignal::fSecInAverage
private

Time interval for the graph averaging.

Definition at line 229 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), GetSecInAverage(), SetParametersFromFile(), SetSecInAverage(), and WriteParametersToFile().

int AliCaloCalibSignal::fStartTime
private

Time of first event.

Definition at line 217 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), GetStartTime(), ProcessEvent(), and SetStartTime().

TTree* AliCaloCalibSignal::fTreeAmpVsTime
private

Store channel, gain, amp, and time info.

Definition at line 252 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), CreateTrees(), DeleteTrees(), GetTreeAmpVsTime(), ProcessEvent(), and Save().

TTree* AliCaloCalibSignal::fTreeAvgAmpVsTime
private

Store channel, gain, amp, and time info, for averages.

Definition at line 253 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), CreateTrees(), DeleteTrees(), GetTreeAvgAmpVsTime(), and Save().

TTree* AliCaloCalibSignal::fTreeLEDAmpVsTime
private

Store channel, gain, amp, and time info, for LED reference.

Definition at line 254 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), CreateTrees(), DeleteTrees(), GetTreeLEDAmpVsTime(), ProcessEvent(), and Save().

TTree* AliCaloCalibSignal::fTreeLEDAvgAmpVsTime
private

Store channel, gain, amp, and time info, for LED reference - averages.

Definition at line 255 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), CreateTrees(), DeleteTrees(), GetTreeLEDAvgAmpVsTime(), and Save().

bool AliCaloCalibSignal::fUseAverage
private

Flag to average graph points into over a time interval.

Definition at line 228 of file AliCaloCalibSignal.h.

Referenced by AddInfo(), Analyze(), GetUseAverage(), Save(), and SetUseAverage().


The documentation for this class was generated from the following files: