Commit b0d24340 authored by Maximiliano Puccio's avatar Maximiliano Puccio
Browse files

Working version of the p-Pb production files.

parent b03670a2
void rec(Bool_t useHLT = kFALSE) {
void rec() {
AliReconstruction reco;
//
// switch off cleanESD, write ESDfriends and Alignment data
......@@ -10,14 +9,6 @@ void rec(Bool_t useHLT = kFALSE) {
reco.SetWriteAlignmentData();
reco.SetFractionFriends(.1);
//
//reco.SetWriteESDfriend(kFALSE);
//reco.SetWriteAlignmentData();
//reco.SetRunReconstruction("ITS TPC TRD TOF VZERO T0 ZDC");
// OADB call
// from https://savannah.cern.ch/task/?39374#comment85
......@@ -28,37 +19,39 @@ void rec(Bool_t useHLT = kFALSE) {
reco.SetRunPlaneEff(kTRUE);
reco.SetUseTrackingErrorsForAlignment("ITS");
// RAW OCDB
//
//reco.SetDefaultStorage("local:///cvmfs/alice.gsi.de/alice/data/2013/OCDB");
// RAW OCDB
reco.SetDefaultStorage("alien://Folder=/alice/data/2013/OCDB");
// ITS (2 objects)
reco.SetSpecificStorage("ITS/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("ITS/Calib/SPDSparseDead", "alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
// ITS (2 objects)
reco.SetSpecificStorage("ITS/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("ITS/Calib/SPDSparseDead", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
// MUON (1 object)
reco.SetSpecificStorage("MUON/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
// MUON objects (1 object)
// TPC (7 objects)
reco.SetSpecificStorage("TPC/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("TPC/Calib/ClusterParam", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("TPC/Calib/RecoParam", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("TPC/Calib/TimeGain", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("TPC/Calib/AltroConfig", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("TPC/Calib/TimeDrift", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("TPC/Calib/Correction", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual");
reco.SetSpecificStorage("MUON/Align/Data","alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
//reco.SetRunQA(":") ;
// TPC (7 objects)
// -------------------------------------------------------
reco.SetSpecificStorage("TPC/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
reco.SetSpecificStorage("TPC/Calib/ClusterParam", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
reco.SetSpecificStorage("TPC/Calib/RecoParam", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
reco.SetSpecificStorage("TPC/Calib/TimeGain", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
reco.SetSpecificStorage("TPC/Calib/AltroConfig", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
reco.SetSpecificStorage("TPC/Calib/TimeDrift", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
reco.SetSpecificStorage("TPC/Calib/Correction", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
//reco.SetOption("TPC", "useRAW");
//reco.SetSpecificStorage("ZDC/Align/Data", "alien://Folder=/alice/cern.ch/user/z/zampolli/OCDB_tmp_MyProd/");
//reco.SetSpecificStorage("TOF/Align/Data", "alien://Folder=/alice/cern.ch/user/z/zampolli/OCDB_tmp_MyProd/");
// reco.SetRunQA(":");
TStopwatch timer;
timer.Start();
// reco.SetRunQA(":");
reco.Run();
timer.Stop();
timer.Print();
}
void sim(Int_t nev=2) {
AliSimulation simulator;
//simulator.SetWriteRawData("ALL","raw.root",kFALSE);
simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON ZDC PMD T0 VZERO FMD");
simulator.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON PMD T0 VZERO FMD");
simulator.SetMakeDigitsFromHits("ITS TPC");
// QA off
simulator.SetRunQA(":");
simulator.SetConfigFile("Config.C");
//
//
// RAW OCDB
simulator.SetDefaultStorage("alien://Folder=/alice/data/2013/OCDB");
// Specific storages = 8
// Specific storages = 23
//
// ITS (1 Total)
// Alignment from Ideal OCDB
simulator.SetSpecificStorage("ITS/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
simulator.SetSpecificStorage("ITS/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal");
//
// MUON (1 object)
simulator.SetSpecificStorage("MUON/Align/Data","alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
//
// MUON (1 Total)
simulator.SetSpecificStorage("MUON/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
// TPC (6 total)
simulator.SetSpecificStorage("TPC/Calib/TimeGain", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
simulator.SetSpecificStorage("TPC/Calib/ClusterParam", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
simulator.SetSpecificStorage("TPC/Calib/AltroConfig", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
simulator.SetSpecificStorage("TPC/Calib/Correction", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
simulator.SetSpecificStorage("TPC/Align/Data", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
simulator.SetSpecificStorage("TPC/Calib/TimeDrift", "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
simulator.SetSpecificStorage("TPC/Calib/RecoParam", "alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");
//
// TPC (6 total)
simulator.SetSpecificStorage("TPC/Calib/TimeGain", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
simulator.SetSpecificStorage("TPC/Calib/ClusterParam", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
simulator.SetSpecificStorage("TPC/Calib/AltroConfig", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
simulator.SetSpecificStorage("TPC/Calib/Correction", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
simulator.SetSpecificStorage("TPC/Align/Data", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
simulator.SetSpecificStorage("TPC/Calib/TimeDrift", "alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
// Align objects for TOF and ZDC
//simulator.SetSpecificStorage("ZDC/Align/Data", "alien://Folder=/alice/cern.ch/user/z/zampolli/OCDB_tmp_MyProd/");
//simulator.SetSpecificStorage("TOF/Align/Data", "alien://Folder=/alice/cern.ch/user/z/zampolli/OCDB_tmp_MyProd/");
//
// Vertex and magfield
......@@ -44,15 +58,16 @@ void sim(Int_t nev=2) {
simParam->SetCellNonLineairyB(0.2);
simParam->SetCellNonLineairyC(1.02);
//simulator.SetRunHLT("");
//simulator.SetRunQA(":") ;
//
// The rest
//
printf("Before simulator.Run(nev);\n");
TStopwatch timer;
timer.Start();
// simulator.SetRunNumber(195568);
simulator.Run(nev);
printf("After simulator.Run(nev);\n");
timer.Stop();
timer.Print();
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment