- default OCDB storage set to "raw://"
Example:
- aliroot -b -q 'recPass0.C("raw.root",100)'
+ aliroot -b -q 'recCPass0.C("raw.root",100)'
*/
-void recPass0(const char *filename="raw.root",Int_t nevents=-1, const char *ocdb="raw://")
+void recCPass0(const char *filename="raw.root",Int_t nevents=-1, const char *ocdb="raw://", const char* options="?Trigger=kCalibBarrel")
{
+
+ if (gSystem->Getenv("ALIROOT_FORCE_COREDUMP"))
+ {
+ printf("ALIROOT_FORCE_COREDUMP set\n");
+ gSystem->ResetSignal(kSigFloatingException);
+ gSystem->ResetSignal(kSigSegmentationViolation);
+ }
+
// Load some system libs for Grid and monitoring
// Set the CDB storage location
AliCDBManager * man = AliCDBManager::Instance();
AliReconstruction rec;
// Upload CDB entries from the snapshot (local root file) if snapshot exist
if (gSystem->AccessPathName("OCDB.root", kFileExists)==0) {
- rec.SetFromCDBSnapshot("OCDB.root");
+ rec.SetCDBSnapshotMode("OCDB.root");
+ }
+
+ if (gSystem->AccessPathName("localOCDBaccessConfig.C", kFileExists)==0) {
+ gROOT->LoadMacro("localOCDBaccessConfig.C");
+ localOCDBaccessConfig();
}
+
// All friends
- rec.SetFractionFriends(1.0);
+ rec.SetFractionFriends(2.0);
// AliReconstruction settings - hardwired MB trigger for calibration
TString newfilename = filename;
-// newfilename += "?Trigger=CPBI2_B1-B-NOPF-ALLNOTRD";
+ newfilename += options;
rec.SetInput(newfilename.Data());
// Set protection against too many events in a chunk (should not happen)
if (nevents>0) rec.SetEventRange(0,nevents);
// Remove recpoints after each event
- rec.SetDeleteRecPoints("TPC TRD ITS");
+ rec.SetDeleteRecPoints("TPC TRD ITS");
+ //
+
// Switch off the V0 finder - saves time!
- rec.SetRunMultFinder(kFALSE);
+ // rec.SetRunMultFinder(kFALSE);
rec.SetRunV0Finder(kFALSE);
//
rec.SetWriteAlignmentData();
rec.SetUseTrackingErrorsForAlignment("ITS");
rec.SetRunReconstruction("ALL");
- rec.SetFillESD("ALL");
rec.SetCleanESD(kFALSE);
- // Specific reco params for ZDC (why isn't this automatic?)
-// rec.SetRecoParam("ZDC",AliZDCRecoParamPbPb::GetHighFluxParam(2760));
-
//Ignore SetStopOnError
rec.SetStopOnError(kFALSE);