Go to the documentation of this file.
25 #include "FairRootManager.h"
26 #include "TDirectory.h"
28 #include <boost/assign/list_of.hpp>
33 using boost::assign::list_of;
37 : FairTask(
"CbmKresConversionMain")
39 , DoKresReconstruction(0)
42 , DoKresManualmbias(0)
43 , DoKresTemperature(0)
45 , DoKresCorrectedPhotons(0)
46 , DoKresEtaMCAnalysis(0)
48 , fKresGeneral(nullptr)
51 , fKresManual(nullptr)
52 , fKFparticle(nullptr)
53 , fKFparticleFinderQA(nullptr)
54 , fKresManualmbiasPart1(nullptr)
55 , fKresManualmbiasPart2(nullptr)
56 , fKresManualmbiasPart3(nullptr)
57 , fKresManualmbiasPart4(nullptr)
58 , fKresTemperature(nullptr)
59 , fKresPhotons(nullptr)
60 , fKresCorrectedPhotons(nullptr)
61 , fKresEtaMCAnalysis(nullptr)
95 cout <<
"CbmKresConversionMain::Init" << endl;
105 cout <<
"\t *** CbmKresConversionGeneral ==> "
106 "analysis is activated"
113 cout <<
"\t *** CbmKresConversionReconstruction ==> "
114 "analysis is activated"
121 cout <<
"\t *** CbmKresConversionKF ==> "
122 "analysis is activated"
128 cout <<
"\t *** CbmKresConversionManual ==> "
129 "analysis is activated"
135 cout <<
"\t *** CbmKresConversionManualmbias (b <= 2 fm) ==> "
136 "analysis is activated"
141 cout <<
"\t *** CbmKresConversionManualmbias (2 < b <= 6 fm) ==> "
142 "analysis is activated"
147 cout <<
"\t *** CbmKresConversionManualmbias (6 < b <= 10 fm) ==> "
148 "analysis is activated"
153 cout <<
"\t *** CbmKresConversionManualmbias (b > 10 fm) ==> "
154 "analysis is activated"
161 cout <<
"\t *** CbmKresTemperature ==> "
162 "analysis is activated"
169 cout <<
"\t *** CbmKresConversionPhotons ==> "
170 "analysis is activated"
177 cout <<
"\t *** CbmKresConversionCorrectedPhotons ==> "
178 "analysis is activated"
185 cout <<
"\t *** CbmKresEtaMCAnalysis ==> "
186 "analysis is activated"
193 cout <<
"\t *** CbmKresEta ==> "
194 "analysis is activated"
199 cout <<
"\t CUTS : " << endl;
203 cout <<
"\t PID mode is << RealPID >> " << endl;
205 cout <<
"\t PID mode is << MCPID >> " << endl;
273 cout <<
"kf works" << endl;
275 cout <<
"kf works not" << endl;
281 gDirectory->mkdir(
"conversionKres");
282 gDirectory->cd(
"conversionKres");
289 gDirectory->mkdir(
"Manual_mbias");
290 gDirectory->cd(
"Manual_mbias");
292 gDirectory->mkdir(
"b <= 2 (central) ");
293 gDirectory->cd(
"b <= 2 (central) ");
295 gDirectory->cd(
"..");
297 gDirectory->mkdir(
"2 < b <= 6 ");
298 gDirectory->cd(
"2 < b <= 6 ");
300 gDirectory->cd(
"..");
302 gDirectory->mkdir(
"6 < b <= 10 ");
303 gDirectory->cd(
"6 < b <= 10 ");
305 gDirectory->cd(
"..");
307 gDirectory->mkdir(
"b > 10 (miss) ");
308 gDirectory->cd(
"b > 10 (miss) ");
310 gDirectory->cd(
"..");
312 gDirectory->cd(
"..");
320 gDirectory->cd(
"..");
323 gDirectory->rmdir(
"cbmout");
324 gDirectory->rmdir(
"BranchList");
325 gDirectory->rmdir(
"TimeBasedBranchList");
326 gDirectory->rmdir(
"FileHeader");
330 cout <<
"END... we will continue soon... " <<
fEventNum << endl;
void SetKF(CbmKFParticleFinder *kfparticle, CbmKFParticleFinderQA *kfparticleQA)
void Exec(int fEventNumRec)
void Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
CbmKFParticleFinder * fKFparticle
CbmKresConversionCorrectedPhotons * fKresCorrectedPhotons
void Exec(int fEventNumTempr)
CbmKresConversionManualmbias3 * fKresManualmbiasPart3
void Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
CbmKresConversionManualmbias1 * fKresManualmbiasPart1
CbmKresConversionReconstruction * fKresReco
CbmKresTemperature * fKresTemperature
void Exec(int fEventNumDP, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
Int_t DoKresReconstruction
void Exec(int fEventNumDP, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
Int_t DoKresCorrectedPhotons
CbmKresConversionManualmbias4 * fKresManualmbiasPart4
CbmKresEtaMCAnalysis * fKresEtaMCAnalysis
void Init(double OA, double IM)
void Exec(int Event, double OpeningAngleCut, double GammaInvMassCut)
Data class for STS tracks.
CbmKresConversionManual * fKresManual
void Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
void SetKF(CbmKFParticleFinder *kfparticle, CbmKFParticleFinderQA *kfparticleQA)
CbmKresConversionPhotons * fKresPhotons
CbmKresConversionManualmbias2 * fKresManualmbiasPart2
void Exec(int fEventNumGen)
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
void Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
CbmKresConversionKF * fKresKF
CbmKFParticleFinderQA * fKFparticleFinderQA
void Exec(int fEventNumKF, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
virtual void Exec(Option_t *option)
CbmKresConversionGeneral * fKresGeneral
void Exec(int fEventNumMan, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
Int_t DoKresEtaMCAnalysis
void Exec(int fEventNumEta, double OpeningAngleCut, double GammaInvMassCut, int RealPID)
virtual InitStatus Init()
virtual ~CbmKresConversionMain()
Data class for a reconstructed hit in the STS.