// data by calling (usual detector string) //
// SetUseHLTData("..."); //
// //
-// For debug purposes the method SetCheckPointLevel can be used. If the //
-// argument is greater than 0, files with ESD events will be written after //
-// selected steps of the reconstruction for each event: //
-// level 1: after tracking and after filling of ESD (final) //
-// level 2: in addition after each tracking step //
-// level 3: in addition after the filling of ESD for each detector //
-// If a final check point file exists for an event, this event will be //
-// skipped in the reconstruction. The tracking and the filling of ESD for //
-// a detector will be skipped as well, if the corresponding check point //
-// file exists. The ESD event will then be loaded from the file instead. //
// //
///////////////////////////////////////////////////////////////////////////////
fFirstEvent(0),
fLastEvent(-1),
fNumberOfEventsPerFile(1),
- fCheckPointLevel(0),
fOptions(),
fLoadAlignFromCDB(kTRUE),
fLoadAlignData("ALL"),
fFirstEvent(rec.fFirstEvent),
fLastEvent(rec.fLastEvent),
fNumberOfEventsPerFile(rec.fNumberOfEventsPerFile),
- fCheckPointLevel(0),
fOptions(),
fLoadAlignFromCDB(rec.fLoadAlignFromCDB),
fLoadAlignData(rec.fLoadAlignData),
if (!RunVertexFinder(fesd)) {
if (fStopOnError) {CleanUp(ffile); return kFALSE;}
}
- if (fCheckPointLevel > 0) WriteESD(fesd, "vertex");
}
}
if (!RunTracking(fesd)) {
if (fStopOnError) {CleanUp(ffile); return kFALSE;}
}
- if (fCheckPointLevel > 0) WriteESD(fesd, "tracking");
}
}
// combined PID
AliESDpid::MakePID(fesd);
- if (fCheckPointLevel > 1) WriteESD(fesd, "PID");
if (fFillTriggerESD) {
if (!ReadESD(fesd, "trigger")) {
if (!FillTriggerESD(fesd)) {
if (fStopOnError) {CleanUp(ffile); return kFALSE;}
}
- if (fCheckPointLevel > 1) WriteESD(fesd, "trigger");
}
}
// call AliEVE
if (fRunAliEVE) RunAliEVE();
- if (fCheckPointLevel > 0) WriteESD(fesd, "final");
fesd->Reset();
fhltesd->Reset();
if (fWriteESDfriend) {
AliError(Form("%s Clusters2Tracks failed", fgkDetectorName[iDet]));
return kFALSE;
}
- if (fCheckPointLevel > 1) {
- WriteESD(esd, Form("%s.tracking", fgkDetectorName[iDet]));
- }
// preliminary PID in TPC needed by the ITS tracker
if (iDet == 1) {
GetReconstructor(1)->FillESD((TTree*)NULL, (TTree*)NULL, esd);
AliError(Form("%s backward propagation failed", fgkDetectorName[iDet]));
// return kFALSE;
}
- if (fCheckPointLevel > 1) {
- WriteESD(esd, Form("%s.back", fgkDetectorName[iDet]));
- }
// unload clusters
if (iDet > 3) { // all except ITS, TPC, TRD and TOF
AliError(Form("%s postprocessing failed", fgkDetectorName[iDet]));
// return kFALSE;
}
- if (fCheckPointLevel > 1) {
- WriteESD(esd, Form("%s.refit", fgkDetectorName[iDet]));
- }
AliSysInfo::AddStamp(Form("Tracking2%s_%d",fgkDetectorName[iDet],eventNr), iDet,3, eventNr);
}
fLoader[iDet]->UnloadRecPoints();
}
- if (fCheckPointLevel > 2) WriteESD(esd, fgkDetectorName[iDet]);
}
}
Float_t GetV0CsPmin() const {return fV0CsPmin;}
Float_t GetDmax() const {return fDmax;}
Float_t GetZmax() const {return fZmax;}
-
- void SetCheckPointLevel(Int_t checkPointLevel)
- {fCheckPointLevel = checkPointLevel;}
// CDB storage activation
void SetDefaultStorage(const char* uri);
Int_t fFirstEvent; // index of first event to be reconstr.
Int_t fLastEvent; // index of last event to be reconstr.
UInt_t fNumberOfEventsPerFile; // number of events per file in case of raw-data reconstruction
- Int_t fCheckPointLevel; // level of ESD check points
TObjArray fOptions; // options for reconstructor objects
Bool_t fLoadAlignFromCDB; // Load alignment data from CDB and apply it to geometry or not
TString fLoadAlignData; // Load alignment data from CDB for these detectors
Bool_t fIsNewRunLoader; // galice.root created from scratch (real raw data case)
Bool_t fRunAliEVE; // Run AliEVE or not
- ClassDef(AliReconstruction, 25) // class for running the reconstruction
+ ClassDef(AliReconstruction, 26) // class for running the reconstruction
};
#endif