![]() |
AliRoot Core
edcc906 (edcc906)
|
Give access to hits, digits, recpoints arrays and OCDB. More...
#include <AliEMCALLoader.h>
Public Member Functions | |
AliEMCALLoader () | |
Default constructor for EMCAL Loader Class. More... | |
AliEMCALLoader (const Char_t *detname, const Char_t *eventfoldername) | |
Specific constructor for EMCAL Loader class. More... | |
AliEMCALLoader (const Char_t *name, TFolder *topfolder) | |
Specific constructor for EMCAL Loader class. More... | |
virtual | ~AliEMCALLoader () |
Disconnect trees and remove arrays. More... | |
virtual Int_t | GetEvent () |
virtual void | CleanHits () const |
virtual void | CleanSDigits () const |
virtual void | CleanDigits () const |
virtual void | CleanRecPoints () const |
void | MakeSDigitsArray () |
Add SDigits array to the data folder. More... | |
void | MakeDigitsArray () |
Add Digits array to the data folder. More... | |
void | MakeRecPointsArray () |
Add RecPoints array to the data folder. More... | |
TClonesArray * | SDigits () |
const AliEMCALDigit * | SDigit (Int_t index) |
TClonesArray * | Digits () |
const AliEMCALDigit * | Digit (Int_t index) |
TObjArray * | RecPoints () |
const AliEMCALRecPoint * | RecPoint (Int_t index) |
void | SetDebug (Int_t level) |
void | SetCalibData (AliEMCALCalibData *calibda) |
AliEMCALCalibData * | CalibData () |
void | SetCalibTime (AliEMCALCalibTime *calibti) |
AliEMCALCalibTime * | CalibTime () |
void | SetPedestalData (AliCaloCalibPedestal *caloped) |
AliCaloCalibPedestal * | PedestalData () |
void | SetSimParam (AliEMCALSimParam *simparam) |
AliEMCALSimParam * | SimulationParameters () |
void | SetRecParam (AliEMCALRecParam *recparam) |
AliEMCALRecParam * | ReconstructionParameters (Int_t eventType) |
![]() | |
AliLoader () | |
AliLoader (const Char_t *detname, const Char_t *eventfoldername) | |
AliLoader (const Char_t *detname, TFolder *eventfolder) | |
virtual | ~AliLoader () |
virtual Int_t | SetEvent () |
virtual void | MakeTree (Option_t *opt) |
AliDataLoader * | GetHitsDataLoader () const |
AliDataLoader * | GetSDigitsDataLoader () const |
AliDataLoader * | GetDigitsDataLoader () const |
AliDataLoader * | GetRecPointsDataLoader () const |
AliDataLoader * | GetTracksDataLoader () const |
AliDataLoader * | GetRecParticlesDataLoader () const |
AliDataLoader * | GetDataLoader (const char *name) |
void | AddDataLoader (AliDataLoader *dl) |
Int_t | SetEventFolder (TFolder *eventfolder) |
Int_t | Register (TFolder *eventFolder) |
TFolder * | GetTopFolder () |
TFolder * | GetEventFolder () |
TFolder * | GetDataFolder () |
TFolder * | GetDetectorDataFolder () |
TFolder * | GetModulesFolder () |
virtual void | MakeHitsContainer () const |
virtual void | MakeSDigitsContainer () const |
virtual void | MakeDigitsContainer () const |
virtual void | MakeRecPointsContainer () const |
virtual void | MakeTracksContainer () const |
virtual void | MakeRecParticlesContainer () const |
virtual void | CleanFolders () |
virtual void | CloseFiles () |
TTree * | TreeH () const |
TTree * | TreeS () const |
TTree * | TreeD () const |
TTree * | TreeR () const |
TTree * | TreeT () const |
TTree * | TreeP () const |
Int_t | LoadHits (Option_t *opt="") |
Int_t | LoadSDigits (Option_t *opt="") |
Int_t | LoadDigits (Option_t *opt="") |
Int_t | LoadRecPoints (Option_t *opt="") |
Int_t | LoadTracks (Option_t *opt="") |
Int_t | LoadRecParticles (Option_t *opt="") |
void | UnloadHits () const |
void | UnloadSDigits () const |
void | UnloadDigits () const |
void | UnloadRecPoints () const |
void | UnloadTracks () const |
void | UnloadRecParticles () const |
void | UnloadAll () |
virtual Int_t | ReloadHits () const |
virtual Int_t | ReloadSDigits () const |
virtual Int_t | ReloadDigits () const |
virtual Int_t | ReloadRecPoints () const |
virtual Int_t | ReloadTracks () const |
virtual Int_t | ReloadRecParticles () const |
virtual Int_t | ReloadAll () |
virtual Int_t | WriteHits (Option_t *opt="") const |
virtual Int_t | WriteSDigits (Option_t *opt="") const |
virtual Int_t | WriteDigits (Option_t *opt="") const |
virtual Int_t | WriteRecPoints (Option_t *opt="") const |
virtual Int_t | WriteTracks (Option_t *opt="") const |
virtual Int_t | WriteRecParticles (Option_t *opt="") const |
void | SetHitsFileName (const TString &fname) const |
void | SetSDigitsFileName (const TString &fname) const |
void | SetDigitsFileName (const TString &fname) const |
void | SetRecPointsFileName (const TString &fname) const |
void | SetTracksFileName (const TString &fname) const |
void | SetRecParticlesFileName (const TString &fname) const |
const TString & | GetHitsFileName () const |
const TString & | GetSDigitsFileName () const |
const TString & | GetDigitsFileName () const |
const TString & | GetRecPointsFileName () const |
const TString & | GetTracksFileName () const |
const TString & | GetRecParticlesFileName () const |
virtual void | CleanTracks () const |
virtual void | SetHitsFileOption (Option_t *newopt) const |
virtual void | SetSDigitsFileOption (Option_t *newopt) const |
virtual void | SetDigitsFileOption (Option_t *newopt) const |
virtual void | SetRecPointsFileOption (Option_t *newopt) const |
virtual void | SetTracksFileOption (Option_t *newopt) const |
virtual void | SetRecParticlesFileOption (Option_t *newopt) const |
virtual void | SetHitsComprLevel (Int_t cl) const |
virtual void | SetDigitsComprLevel (Int_t cl) const |
virtual void | SetSDigitsComprLevel (Int_t cl) const |
virtual void | SetRecPointsComprLevel (Int_t cl) const |
virtual void | SetTracksComprLevel (Int_t cl) const |
virtual void | SetRecParticlesComprLevel (Int_t cl) const |
virtual void | SetCompressionLevel (Int_t cl) |
void | SetDirName (TString &name) |
const TString & | GetDetectorName () const |
AliRunLoader * | GetRunLoader () |
void | SetDigitsFileNameSuffix (const TString &suffix) const |
void | Synchronize () |
Private Member Functions | |
AliEMCALLoader (const AliEMCALLoader &) | |
const AliEMCALLoader & | operator= (const AliEMCALLoader &) |
Private Attributes | |
Int_t | fDebug |
Debug level. More... | |
Static Private Attributes | |
static const TString | fgkECASDigitsBranchName |
! Name of branch with ECA SDigits More... | |
static const TString | fgkECADigitsBranchName |
! Name of branch with ECA Digits More... | |
static const TString | fgkECARecPointsBranchName |
! Name of branch with ECA Reconstructed Points More... | |
static AliEMCALCalibData * | fgCalibData = 0 |
Energy calibration data. More... | |
static AliEMCALCalibTime * | fgCalibTime = 0 |
Time calibration data. More... | |
static AliCaloCalibPedestal * | fgCaloPed = 0 |
Dead map. More... | |
static AliEMCALSimParam * | fgSimParam = 0 |
Sim param. More... | |
static AliEMCALRecParam * | fgRecParam = 0 |
Rec param. More... | |
Additional Inherited Members | |
![]() | |
static TDirectory * | ChangeDir (TFile *file, Int_t eventno) |
static Bool_t | TestFileOption (Option_t *opt) |
static Bool_t | IsOptionWritable (const TString &opt) |
static void | SetDebug (Int_t deb=1) |
![]() | |
enum | EDataTypes { kHits = 0, kSDigits, kDigits, kRecPoints, kTracks, kRecParticles, kNDataTypes } |
![]() | |
virtual Int_t | PostHits () const |
virtual Int_t | PostSDigits () const |
virtual Int_t | PostDigits () const |
virtual Int_t | PostRecPoints () const |
virtual Int_t | PostTracks () const |
virtual Int_t | PostRecParticles () const |
void | Clean () |
void | Clean (const TString &name) |
TString | GetUnixDir () const |
TObject * | GetDetectorData (const char *name) |
TObject ** | GetDetectorDataRef (TObject *obj) |
virtual void | InitDefaults () |
void | ResetDataInfo () |
void | SetTAddrInDet () |
![]() | |
TObjArray * | fDataLoaders |
TString | fDetectorName |
TFolder * | fEventFolder |
TFolder * | fDataFolder |
Folder with data that changes from event to event, even in single run. More... | |
TFolder * | fDetectorDataFolder |
Folder with data (hits, sdigits, etc, grouped in folders named like detectors. More... | |
TFolder * | fModuleFolder |
Folder that contains the detector data. More... | |
![]() | |
static const TString | fgkDefaultHitsContainerName |
Folder that contains the modules. More... | |
static const TString | fgkDefaultDigitsContainerName = "TreeD" |
static const TString | fgkDefaultSDigitsContainerName = "TreeS" |
static const TString | fgkDefaultRecPointsContainerName = "TreeR" |
static const TString | fgkDefaultTracksContainerName = "TreeT" |
static const TString | fgkDefaultRecParticlesContainerName = "TreeP" |
static const TString | fgkLoaderBaseName |
Give access to hits, digits, recpoints arrays and OCDB.
Definition at line 45 of file AliEMCALLoader.h.
AliEMCALLoader::AliEMCALLoader | ( | ) |
Default constructor for EMCAL Loader Class.
Definition at line 45 of file AliEMCALLoader.cxx.
Referenced by SetRecParam().
AliEMCALLoader::AliEMCALLoader | ( | const Char_t * | detname, |
const Char_t * | eventfoldername | ||
) |
Specific constructor for EMCAL Loader class.
Definition at line 52 of file AliEMCALLoader.cxx.
AliEMCALLoader::AliEMCALLoader | ( | const Char_t * | name, |
TFolder * | topfolder | ||
) |
Specific constructor for EMCAL Loader class.
Definition at line 59 of file AliEMCALLoader.cxx.
|
virtual |
Disconnect trees and remove arrays.
Definition at line 66 of file AliEMCALLoader.cxx.
|
private |
AliEMCALCalibData * AliEMCALLoader::CalibData | ( | ) |
Check if the instance of AliEMCALCalibData exists, if not, create it if the OCDB is available, and finally return it.
Definition at line 88 of file AliEMCALLoader.cxx.
Referenced by AliEMCALDigitizer::Init(), and SetCalibData().
AliEMCALCalibTime * AliEMCALLoader::CalibTime | ( | ) |
Check if the instance of AliEMCALCalibTime exists, if not, create it if the OCDB is available, and finally return it.
Definition at line 107 of file AliEMCALLoader.cxx.
Referenced by AliEMCALDigitizer::Init(), and SetCalibTime().
|
inlinevirtual |
Reimplemented from AliLoader.
Definition at line 61 of file AliEMCALLoader.h.
|
inlinevirtual |
Reimplemented from AliLoader.
Definition at line 59 of file AliEMCALLoader.h.
|
inlinevirtual |
Reimplemented from AliLoader.
Definition at line 62 of file AliEMCALLoader.h.
|
inlinevirtual |
Reimplemented from AliLoader.
Definition at line 60 of file AliEMCALLoader.h.
|
inline |
Definition at line 78 of file AliEMCALLoader.h.
|
inline |
Definition at line 77 of file AliEMCALLoader.h.
Referenced by Digit(), AliEMCALDigitizer::Digitize(), AliEMCALRawUtils::Digits2Raw(), GetEvent(), MakeDigitsArray(), AliEMCALDigitizer::PrintDigits(), TestEMCALData(), TestEMCALDigit(), and AliEMCALDigitizer::WriteDigits().
|
virtual |
Method to load all of the data members of the EMCAL for a given event from the Trees
Reimplemented from AliLoader.
Definition at line 189 of file AliEMCALLoader.cxx.
Referenced by AliEMCALRawUtils::Digits2Raw(), and AliEMCAL::Raw2SDigits().
void AliEMCALLoader::MakeDigitsArray | ( | ) |
Add Digits array to the data folder.
Definition at line 271 of file AliEMCALLoader.cxx.
Referenced by CleanRecPoints(), and GetEvent().
void AliEMCALLoader::MakeRecPointsArray | ( | ) |
Add RecPoints array to the data folder.
Definition at line 285 of file AliEMCALLoader.cxx.
Referenced by CleanRecPoints(), and GetEvent().
void AliEMCALLoader::MakeSDigitsArray | ( | ) |
Add SDigits array to the data folder.
Definition at line 257 of file AliEMCALLoader.cxx.
Referenced by CleanRecPoints(), and GetEvent().
|
private |
Referenced by SetRecParam().
AliCaloCalibPedestal * AliEMCALLoader::PedestalData | ( | ) |
Check if the instance of AliCaloCalibPedestal exists, if not, create it if the OCDB is available, and finally return it.
Definition at line 127 of file AliEMCALLoader.cxx.
Referenced by AliEMCALDigitizer::IsDead(), AliEMCAL::Raw2SDigits(), and SetPedestalData().
AliEMCALRecParam * AliEMCALLoader::ReconstructionParameters | ( | Int_t | eventType = 0 | ) |
Check if the instance of AliEMCALRecParam exists, if not, create it if the OCDB is available, and finally return it.
eventType | The event type must be provided (AliRecoParam::kCalib, kLowMult,kHighMult,kCosmic) |
Definition at line 168 of file AliEMCALLoader.cxx.
Referenced by AliEMCAL::Raw2SDigits(), and SetRecParam().
|
inline |
Definition at line 84 of file AliEMCALLoader.h.
|
inline |
Definition at line 83 of file AliEMCALLoader.h.
Referenced by GetEvent(), MakeRecPointsArray(), and RecPoint().
|
inline |
Definition at line 72 of file AliEMCALLoader.h.
|
inline |
Definition at line 71 of file AliEMCALLoader.h.
Referenced by AliEMCALDigitizer::Digitize(), AliEMCALSDigitizer::Digitize(), AliEMCALDigitizer::Digits2FastOR(), GetEvent(), MakeSDigitsArray(), AliEMCALDigitizer::PrintDigits(), AliEMCALSDigitizer::PrintSDigits(), AliEMCAL::Raw2SDigits(), SDigit(), TestEMCALData(), and TestEMCALSDigit().
|
inline |
Definition at line 93 of file AliEMCALLoader.h.
|
inline |
Definition at line 96 of file AliEMCALLoader.h.
|
inline |
Definition at line 89 of file AliEMCALLoader.h.
|
inline |
Definition at line 99 of file AliEMCALLoader.h.
|
inline |
Definition at line 105 of file AliEMCALLoader.h.
|
inline |
Definition at line 102 of file AliEMCALLoader.h.
AliEMCALSimParam * AliEMCALLoader::SimulationParameters | ( | ) |
Check if the instance of AliEMCALSimParam exists, if not, create it if the OCDB is available, and finally return it.
Definition at line 146 of file AliEMCALLoader.cxx.
Referenced by AliEMCALDigitizer::InitParameters(), AliEMCALSDigitizer::InitParameters(), and SetSimParam().
|
private |
|
staticprivate |
Energy calibration data.
Definition at line 120 of file AliEMCALLoader.h.
Referenced by CalibData(), and SetCalibData().
|
staticprivate |
Time calibration data.
Definition at line 121 of file AliEMCALLoader.h.
Referenced by CalibTime(), and SetCalibTime().
|
staticprivate |
Dead map.
Definition at line 122 of file AliEMCALLoader.h.
Referenced by PedestalData(), and SetPedestalData().
|
staticprivate |
! Name of branch with ECA Digits
Definition at line 115 of file AliEMCALLoader.h.
Referenced by Digits(), MakeDigitsArray(), and ~AliEMCALLoader().
|
staticprivate |
! Name of branch with ECA Reconstructed Points
Definition at line 116 of file AliEMCALLoader.h.
Referenced by GetEvent(), MakeRecPointsArray(), RecPoints(), and ~AliEMCALLoader().
|
staticprivate |
! Name of branch with ECA SDigits
Definition at line 114 of file AliEMCALLoader.h.
Referenced by MakeSDigitsArray(), SDigits(), and ~AliEMCALLoader().
|
staticprivate |
Rec param.
Definition at line 124 of file AliEMCALLoader.h.
Referenced by ReconstructionParameters(), and SetRecParam().
|
staticprivate |
Sim param.
Definition at line 123 of file AliEMCALLoader.h.
Referenced by SetSimParam(), and SimulationParameters().