12 #if !defined(__CINT__) || defined(__MAKECINT__) 15 #include <Riostream.h> 16 #include <TClonesArray.h> 17 #include <TGeoManager.h> 40 cout<<
"Can not instatiate the Run Loader"<<endl;
47 TGeoManager::Import(
"geometry.root");
59 cout<<
"Did not get geometry from EMCALLoader"<<endl;
68 cout<<
"Number of events "<<maxevent<<endl;
83 for ( iEvent=0; iEvent<maxevent; iEvent++)
85 cout <<
" ======> Event " << iEvent << endl ;
90 TClonesArray *digits = emcalLoader->
SDigits();
93 for(Int_t idig = 0; idig< digits->GetEntries();idig++)
100 printf(
"Digit null pointer\n");
108 cout<<
"Cell ID "<<
id<<
" Amp "<<amp<<endl;
116 iIphi, iIeta,iphi,ieta);
118 cout<<
"SModule "<<iSupMod<<
"; Tower "<<iTower <<
"; Eta "<<iIeta
119 <<
"; Phi "<<iIphi<<
"; Cell Eta "<<ieta<<
"; Cell Phi "<<iphi<<endl;
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
static const TString & GetDefaultEventFolderName()
Float_t GetTime(void) const
Int_t LoadSDigits(Option_t *detectors="all", Option_t *opt="READ")
AliLoader * GetDetectorLoader(const char *detname)
Give access to hits, digits, recpoints arrays and OCDB.
static AliRunLoader * Open(const char *filename="galice.root", const char *eventfoldername=AliConfig::GetDefaultEventFolderName(), Option_t *option="READ")
void GetCellPhiEtaIndexInSModule(Int_t nSupMod, Int_t nModule, Int_t nIphi, Int_t nIeta, Int_t &iphi, Int_t &ieta) const
Bool_t GetCellIndex(Int_t absId, Int_t &nSupMod, Int_t &nModule, Int_t &nIphi, Int_t &nIeta) const
virtual AliEMCALGeometry * GetGeometry() const
Int_t GetNumberOfEvents()
Base Class for EMCAL description.
Int_t GetEvent(Int_t evno)
AliDetector * GetDetector(const char *name) const
Float_t GetAmplitude() const
EMCal geometry, singleton.
AliRun * GetAliRun() const