AliRoot Core  3dc7879 (3dc7879)
GeneratePedestalScriptSRU.C File Reference

Go to the source code of this file.

Functions

void GetPedVal (const Int_t iSM, const Int_t igain, const TProfile2D *h2)
 
void GetPedValLEDRef (const Int_t iSM, const Int_t igain, const TProfile *h)
 
void PrintScript (const Int_t runno)
 
void Clear ()
 
Int_t GetHWAddress (Int_t iside, Int_t icol, Int_t irow, Int_t igain)
 
Int_t GetHWAddressLEDRef (Int_t istrip, Int_t igain)
 
void DecodeHWAddress (Int_t hwAddr, Int_t &branch, Int_t &FEC, Int_t &chip, Int_t &chan)
 
void GetMapping ()
 
void CreateMappingLEDRef ()
 
void GeneratePedestalScriptSRU (const char *filename="EMCALPED.root")
 
void PrintScript (const int runno)
 
Int_t GetHWAddress (Int_t iside, Int_t icol, Int_t irow, Int_t igain, Int_t &iRCU)
 

Variables

const Int_t kNSM = 20
 
const Int_t kNRCU = 2
 
const Int_t kNDTC = 40
 
AliCaloAltroMapping * fMapping [4]
 
const Int_t kNBranch = 2
 
const Int_t kNFEC = 10
 
const Int_t kNChip = 5
 
const Int_t kNChan = 16
 
Float_t fMeanPed [kNSM][kNRCU][kNBranch][kNFEC][kNChip][kNChan]
 
Float_t fRmsPed [kNSM][kNRCU][kNBranch][kNFEC][kNChip][kNChan]
 
const int kNStrips = 24
 
Int_t fHWAddrLEDRef [kNStrips][2]
 
const Bool_t kDebug = kFALSE
 
const Float_t kBadRMS = 20
 

Function Documentation

void Clear ( )

Definition at line 313 of file GeneratePedestalScriptSRU.C.

Referenced by GeneratePedestalScriptSRU().

void CreateMappingLEDRef ( )

Definition at line 406 of file GeneratePedestalScriptSRU.C.

Referenced by GeneratePedestalScriptSRU().

void DecodeHWAddress ( Int_t  hwAddr,
Int_t &  branch,
Int_t &  FEC,
Int_t &  chip,
Int_t &  chan 
)

Definition at line 339 of file GeneratePedestalScriptSRU.C.

Referenced by CreateMappingLEDRef(), GetPedVal(), and GetPedValLEDRef().

void GeneratePedestalScriptSRU ( const char *  filename = "EMCALPED.root")

Definition at line 42 of file GeneratePedestalScriptSRU.C.

Int_t GetHWAddress ( Int_t  iside,
Int_t  icol,
Int_t  irow,
Int_t  igain 
)

Referenced by GetPedVal().

Int_t GetHWAddress ( Int_t  iside,
Int_t  icol,
Int_t  irow,
Int_t  igain,
Int_t &  iRCU 
)

Definition at line 349 of file GeneratePedestalScriptSRU.C.

Int_t GetHWAddressLEDRef ( Int_t  istrip,
Int_t  igain 
)

Definition at line 374 of file GeneratePedestalScriptSRU.C.

Referenced by GetPedValLEDRef().

void GetMapping ( )

Definition at line 385 of file GeneratePedestalScriptSRU.C.

Referenced by GeneratePedestalScriptSRU().

void GetPedVal ( const Int_t  iSM,
const Int_t  igain,
const TProfile2D *  h2 
)

Definition at line 71 of file GeneratePedestalScriptSRU.C.

Referenced by GeneratePedestalScriptSRU().

void GetPedValLEDRef ( const Int_t  iSM,
const Int_t  igain,
const TProfile *  h 
)

Definition at line 117 of file GeneratePedestalScriptSRU.C.

Referenced by GeneratePedestalScriptSRU().

void PrintScript ( const Int_t  runno)
void PrintScript ( const int  runno)

Definition at line 153 of file GeneratePedestalScriptSRU.C.

Variable Documentation

Int_t fHWAddrLEDRef[kNStrips][2]

Definition at line 24 of file GeneratePedestalScriptSRU.C.

Referenced by Clear(), CreateMappingLEDRef(), and GetHWAddressLEDRef().

AliCaloAltroMapping* fMapping[4]

Definition at line 15 of file GeneratePedestalScriptSRU.C.

Referenced by CreateMappingLEDRef(), GetHWAddress(), and GetMapping().

Float_t fMeanPed[kNSM][kNRCU][kNBranch][kNFEC][kNChip][kNChan]

Definition at line 20 of file GeneratePedestalScriptSRU.C.

Referenced by Clear(), GetPedVal(), GetPedValLEDRef(), and PrintScript().

Float_t fRmsPed[kNSM][kNRCU][kNBranch][kNFEC][kNChip][kNChan]

Definition at line 21 of file GeneratePedestalScriptSRU.C.

Referenced by Clear(), GetPedVal(), GetPedValLEDRef(), and PrintScript().

const Float_t kBadRMS = 20

Definition at line 27 of file GeneratePedestalScriptSRU.C.

Referenced by GetPedVal(), and PrintScript().

const Bool_t kDebug = kFALSE
const Int_t kNBranch = 2

Definition at line 16 of file GeneratePedestalScriptSRU.C.

Referenced by Clear().

const Int_t kNChan = 16

Definition at line 19 of file GeneratePedestalScriptSRU.C.

Referenced by Clear(), and PrintScript().

const Int_t kNChip = 5

Definition at line 18 of file GeneratePedestalScriptSRU.C.

Referenced by Clear(), CreateMappingLEDRef(), and PrintScript().

const Int_t kNDTC = 40

Definition at line 14 of file GeneratePedestalScriptSRU.C.

Referenced by PrintScript().

const Int_t kNFEC = 10

Definition at line 17 of file GeneratePedestalScriptSRU.C.

Referenced by Clear().

const Int_t kNRCU = 2

Definition at line 13 of file GeneratePedestalScriptSRU.C.

Referenced by Clear().

const Int_t kNSM = 20

Definition at line 12 of file GeneratePedestalScriptSRU.C.

Referenced by Clear(), GeneratePedestalScriptSRU(), and PrintScript().

const int kNStrips = 24

Definition at line 23 of file GeneratePedestalScriptSRU.C.

Referenced by Clear().