virtual Float_t GetCpvLogWeight()const = 0 ;
virtual Float_t GetPpsdClusteringThreshold()const = 0 ;
virtual char * GetRecPointsBranch() const = 0 ;
+ virtual const Int_t GetRecPointsInRun() const = 0 ;
virtual char * GetDigitsBranch() const = 0 ;
virtual void MakeClusters() = 0 ;
fHeaderFileName = "" ;
fDigitsBranchTitle = "" ;
-
+ fRecPointsInRun = 0 ;
}
//____________________________________________________________________________
TString tempo(GetName()) ;
tempo.Append(Version()) ;
SetName(tempo.Data()) ;
-
+ fRecPointsInRun = 0 ;
+
Init() ;
}
cout << " Found "<< emcRecPoints->GetEntriesFast() << " EMC Rec Points and "
<< cpvRecPoints->GetEntriesFast() << " CPV RecPoints" << endl ;
+ fRecPointsInRun += emcRecPoints->GetEntriesFast() ;
+ fRecPointsInRun += cpvRecPoints->GetEntriesFast() ;
+
if(strstr(option,"all")) {
cout << "EMC clusters " << endl ;
cout << " Index "
virtual Float_t GetCpvClusteringThreshold()const{ return fCpvClusteringThreshold; }
virtual Float_t GetCpvLocalMaxCut()const { return fCpvLocMaxCut;}
virtual Float_t GetCpvLogWeight()const { return fW0CPV;}
- virtual Float_t GetPpsdClusteringThreshold()const{ return fPpsdClusteringThreshold; }
- virtual char * GetRecPointsBranch() const { return (char*) fRecPointsBranchTitle.Data() ;}
- virtual char * GetDigitsBranch() const { return (char*) fDigitsBranchTitle.Data() ;}
+ virtual Float_t GetPpsdClusteringThreshold() const { return fPpsdClusteringThreshold; }
+ virtual char * GetRecPointsBranch() const { return (char*) fRecPointsBranchTitle.Data() ;}
+ virtual const Int_t GetRecPointsInRun() const {return fRecPointsInRun ;}
+ virtual char * GetDigitsBranch() const { return (char*) fDigitsBranchTitle.Data() ;}
void Exec(Option_t *option); // Does the job
Float_t fW0 ; // logarithmic weight for the cluster center of gravity calculation
Float_t fCpvLocMaxCut ; // minimum energy difference to distinguish local maxima in a CPV cluster
Float_t fW0CPV ; // logarithmic weight for the CPV cluster center of gravity calculation
-
+ Int_t fRecPointsInRun ; //! Total number of recpoints in one run
+
ClassDef(AliPHOSClusterizerv1,1) // Clusterizer implementation version 1
};
fCPVDigitThreshold = 0.09 ;
fPPSDNoise = 0.0000001;
fPPSDDigitThreshold = 0.0000002 ;
+ fDigitsInRun = 0 ;
}
fCPVDigitThreshold = 0.09 ;
fPPSDNoise = 0.0000001;
fPPSDDigitThreshold = 0.0000002 ;
+ fDigitsInRun = 0 ;
Init() ;
cout << "AliPHOSDigitiser: event " << gAlice->GetEvNumber() << endl ;
cout << " Number of entries in Digits list " << digits->GetEntriesFast() << endl ;
cout << endl ;
+
+ fDigitsInRun += digits->GetEntriesFast() ;
+
if(strstr(option,"all")){
//loop over digits
const Float_t GetCPVNoise() const { return fCPVNoise ;}
const Float_t GetCPVThreshold() const { return fCPVDigitThreshold ;}
+ const Int_t GetDigitsInRun() const { return fDigitsInRun ;}
const Float_t GetEMCThreshold() const { return fEMCDigitThreshold;}
const Float_t GetPedestal() const { return fPedestal; }
const Float_t GetPinNoise() const { return fPinNoise;}
Float_t fCPVDigitThreshold ; // Threshold for storing digits in CPV
Float_t fPPSDNoise ; // Noise in PPSD
Float_t fPPSDDigitThreshold ; // Threshold for storing digits in PPSD
+ Int_t fDigitsInRun ; //! Total number of digits in one run
ClassDef(AliPHOSDigitizer,1) // description
virtual void Exec(Option_t * option) = 0 ;
virtual char * GetRecParticlesBranch()const = 0 ;
virtual char * GetTrackSegmentsBranch()const = 0 ;
+ virtual const Int_t GetRecParticlesInRun() const = 0 ;
virtual void Init()= 0 ;
virtual void Print(Option_t * option) const = 0 ;
virtual void PlotDispersionCuts()const = 0;
fRecPointsTitle = "" ;
fRecParticlesTitle = "" ;
fIDOptions = "" ;
+ fRecParticlesInRun = 0 ;
}
//____________________________________________________________________________
TString tempo(GetName()) ;
tempo.Append(Version()) ;
SetName(tempo.Data()) ;
+ fRecParticlesInRun = 0 ;
Init() ;
cout << "AliPHOSPIDv1: event "<<gAlice->GetEvNumber() << endl ;
cout << " found " << recParticles->GetEntriesFast() << " RecParticles " << endl ;
+ fRecParticlesInRun += recParticles->GetEntriesFast() ;
+
if(strstr(option,"all")) { // printing found TS
cout << " PARTICLE "
virtual void Exec(Option_t * option);
virtual char * GetRecParticlesBranch()const {return (char*) fRecParticlesTitle.Data() ;}
virtual char * GetTrackSegmentsBranch()const{return (char*) fTrackSegmentsTitle.Data(); }
-
+ virtual const Int_t GetRecParticlesInRun() const {return fRecParticlesInRun ;}
+
virtual void Init() ;
virtual void PlotDispersionCuts()const ;
virtual void Print(Option_t * option)const ;
TFormula * fFormula ; // formula to define cut on the shouer elips axis
Float_t fDispersion ; // dispersion cut
Float_t fCpvEmcDistance ; // Max EMC-CPV distance
-
+ Int_t fRecParticlesInRun ; //! Total number of recparticles in one run
ClassDef( AliPHOSPIDv1,1) // Particle identifier implementation version 1
};
fA = 0;
fB = 10000000.;
fPrimThreshold = 0.01 ;
+ fSDigitsInRun = 0 ;
}
//____________________________________________________________________________
fA = 0;
fB = 10000000.;
fPrimThreshold = 0.01 ;
+ fSDigitsInRun = 0 ;
Init();
}
cout << "AliPHOSSDigitizer: event "<<gAlice->GetEvNumber() << endl ;
cout << " Number of entries in SDigits list " << sdigits->GetEntriesFast() << endl ;
cout << endl ;
+
+ fSDigitsInRun += sdigits->GetEntriesFast() ;
if(strstr(option,"all")){// print all digits
const Float_t GetPedestalParameter()const {return fA;}
const Float_t GetCalibrationParameter()const{return fB;}
const char * GetSDigitsBranch()const{return GetName();}
+ const Int_t GetSDigitsInRun() const {return fSDigitsInRun ;}
virtual void Print(Option_t* option) const ;
Float_t fA ; // Pedestal parameter
Float_t fB ; // Slope Digitizition parameters
Float_t fPrimThreshold ; // To store primari if Elos > threshold
+ Int_t fSDigitsInRun ; //! Total number of sdigits in one run
ClassDef(AliPHOSSDigitizer,1) // description
virtual void Exec(Option_t * option) = 0 ;
virtual char* GetRecPointsBranch ()const = 0 ;
virtual char* GetTrackSegmentsBranch ()const = 0 ;
+ virtual const Int_t GetTrackSegmentsInRun() const = 0 ;
virtual void Print(Option_t * option)const = 0;
// virtual void Set... // method to choose recPoints: along z only, along x ...???
fHeaderFileName = "" ;
fRecPointsBranchTitle = "" ;
fTrackSegmentsBranchTitle = "" ;
+ fTrackSegmentsInRun = 0 ;
}
//____________________________________________________________________________
fHeaderFileName = GetTitle() ;
fRecPointsBranchTitle = GetName() ;
fTrackSegmentsBranchTitle = GetName() ;
-
+ fTrackSegmentsInRun = 0 ;
+
TString tempo(GetName()) ;
tempo.Append(Version()) ;
SetName(tempo.Data()) ;
cout << "AliPHOSTrackSegmentMakerv1: event "<<gAlice->GetEvNumber() << endl ;
cout << " Found " << trackSegments->GetEntriesFast() << " trackSegments " << endl ;
+ fTrackSegmentsInRun += trackSegments->GetEntriesFast() ;
+
if(strstr(option,"all")) { // printing found TS
cout << "TrackSegment # " << " EMC RP# " << " CPV RP# " << " PPSD RP#" << endl ;
virtual ~ AliPHOSTrackSegmentMakerv1() ; // dtor
- virtual char* GetRecPointsBranch (void)const{return (char*)fRecPointsBranchTitle.Data() ;}
- virtual char* GetTrackSegmentsBranch(void)const{return (char*)fTrackSegmentsBranchTitle.Data() ;}
+ virtual char* GetRecPointsBranch (void)const {return (char*)fRecPointsBranchTitle.Data() ;}
+ virtual char* GetTrackSegmentsBranch(void)const {return (char*)fTrackSegmentsBranchTitle.Data() ;}
+ virtual const Int_t GetTrackSegmentsInRun()const {return fTrackSegmentsInRun ;}
virtual void Exec(Option_t * option) ;
void FillOneModule() ; // Finds range in which RecPoints belonging current PHOS module are
Int_t fPpsdFirst; //! Cpv low layer
Int_t fPpsdLast; //!
Int_t fModule ; //! number of module being processed
+ Int_t fTrackSegmentsInRun ; //! Total number of track segments in one run
ClassDef( AliPHOSTrackSegmentMakerv1,1) // Implementation version 1 of algorithm class to make PHOS track segments
-include tgt_$(ALICE_TARGET)/Make-depend
test:
- @aliroot -b -q simPHOStest.C > out
- @aliroot -b -q anaPHOStest.C > out
+ @echo " ____________________________________________________________ "
+ @echo " "
+ @echo " Starting the test of the simulation/reconstruction software. Please don't take the warning messages into account. "
+ @echo " ____________________________________________________________ "
+ @aliroot -b -q testsim.C > out
+ @aliroot -b -q testsimexam.C > out
+ @aliroot -b -q testreconSDigits.C > out
+ @aliroot -b -q testreconDigits.C > out
+ @aliroot -b -q testreconRecPoints.C > out
+ @aliroot -b -q testreconTrackSegments.C > out
+ @aliroot -b -q testreconRecParticles.C > out
@rm out
# @rm galice.root