3 #if !defined(__CINT__) || defined(__MAKECINT__) 11 #include "TStopwatch.h" 27 cerr<<
"Can't load RunLoader from "<<endl;
37 cerr<<
"AliTPCHits2Digits.C : AliRun object not found on file\n";
43 if ((TPC == 0x0) || (tpcl == 0x0)) {
44 cerr<<
"AliTPCHits2Digits.C : Can not find TPC or TPCLoader\n";
58 for (Int_t i=0; i<nev; i++){
59 printf(
"Processing event %d \n",i);
61 TPC->SetActiveSectors();
static AliRunLoader * Instance()
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
Int_t AliTPCHits2Digits(Int_t nev=5)
AliLoader * GetLoader(const char *detname) const
static AliRunLoader * Open(const char *filename="galice.root", const char *eventfoldername=AliConfig::GetDefaultEventFolderName(), Option_t *option="READ")
Int_t LoadHits(Option_t *opt="")
Int_t GetEvent(Int_t evno)
AliDetector * GetDetector(const char *name) const
Int_t LoadDigits(Option_t *opt="")
AliRun * GetAliRun() const