// if nothing is specified print all, if "reco" just clusterization/track matching
// if "pid", just PID parameters, if "raw", just raw utils parameters.
if(!strcmp("",opt) || !strcmp("reco",opt)){
- AliInfo(Form("Clusterization parameters :\n fClusteringThreshold=%.3f,\n fW0=%.3f,\n fMinECut=%.3f,\n fUnfold=%d,\n fLocMaxCut=%.3f,\n fTimeCut=%f \n fTimeMin=%f \n fTimeMax=%f \n",
- fClusteringThreshold,fW0,fMinECut,fUnfold,fLocMaxCut,fTimeCut,fTimeMin,fTimeMax));
+ AliInfo(Form("Clusterization parameters :\n fClusteringThreshold=%.3f,\n fW0=%.3f,\n fMinECut=%.3f,\n fUnfold=%d,\n fLocMaxCut=%.3f,\n fTimeCut=%2.1f ns\n fTimeMin=%2.1f ns\n fTimeMax=%2.1f ns\n",
+ fClusteringThreshold,fW0,fMinECut,fUnfold,fLocMaxCut,fTimeCut*1.e9,fTimeMin*1e9,fTimeMax*1e9));
AliInfo(Form("Track-matching cuts :\n x %f, y %f, z %f, R %f \n alphaMin %f, alphaMax %f, Angle %f, NITS %f, NTPC %\n", fTrkCutX, fTrkCutY, fTrkCutZ, fTrkCutR,fTrkCutAlphaMin,fTrkCutAlphaMax, fTrkCutAngle,fTrkCutNITS,fTrkCutNTPC));
}
//------------------------------------------------------------
//-----------------CLUSTERS-----------------------------
//------------------------------------------------------------
+ clustersTree->SetBranchStatus("*",0); //disable all branches
+ clustersTree->SetBranchStatus("EMCALECARP",1); //Enable only the branch we need
+
TObjArray *clusters = new TObjArray(100);
TBranch *branch = clustersTree->GetBranch("EMCALECARP");
branch->SetAddress(&clusters);
- clustersTree->GetEvent(0);
+ branch->GetEntry(0);
+ //clustersTree->GetEvent(0);
Int_t nClusters = clusters->GetEntries(), nClustersNew=0;
AliDebug(1,Form("%d clusters",nClusters));
params->SetLocMaxCut(0.03);
params->SetTimeCut(100e-9);//100 ns
//Simulation
- params->SetTimeMin(5e-9);//100 ns
- params->SetTimeMax(50e-9);//100 ns
+ //params->SetTimeMin(5e-9);//100 ns
+ //params->SetTimeMax(50e-9);//100 ns
//Real Data
- //params->SetTimeMin(550e-9);//100 ns
- //params->SetTimeMax(750e-9);//100 ns
+ params->SetTimeMin(550e-9);//100 ns
+ params->SetTimeMax(750e-9);//100 ns
//Track matching
params->SetTrkCutX(6.0);
AliEMCALRecParam* params = AliEMCALRecParam::GetDefaultParameters();
params->SetClusteringThreshold(0.1); // 100 MeV
params->SetMinECut(0.01); //10 MeV
-
+ params->SetTimeCut(100e-9);//100 ns
+ //Simulation
+ //params->SetTimeMin(5e-9);//100 ns
+ //params->SetTimeMax(50e-9);//100 ns
+ //Real Data
+ params->SetTimeMin(550e-9);//100 ns
+ params->SetTimeMax(750e-9);//100 ns
+
//PID parameters for pp implemented
// as a first step, all array elements are initialized to 0.0
Int_t i, j;