Warning, file /irt/delphes/scripts/delphes-dirc.C was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 void delphes_dirc( void )
0011 {
0012
0013
0014 auto dirc = new DelphesConfigDIRC("barrelDIRC");
0015 dirc->UsePtMode();
0016
0017
0018
0019 #ifdef _E_PI_SEPARATION_MODE_
0020 dirc->AddMassHypothesis(-11);
0021 #endif
0022 dirc->AddMassHypothesis("pi+");
0023 #ifndef _E_PI_SEPARATION_MODE_
0024 dirc->AddMassHypothesis("K+");
0025 dirc->AddMassHypothesis("proton");
0026 #endif
0027
0028
0029
0030 dirc->SetTrackerAngularResolution(0.9, 0.1);
0031
0032
0033 dirc->SetEtaRange (-1.55, 1.79, 10);
0034
0035 #ifdef _E_PI_SEPARATION_MODE_
0036 dirc->SetMomentumRange( 0.44, 3.00, 10);
0037
0038 #else
0039 dirc->SetMomentumRange( 0.44,10.00, 10);
0040 #endif
0041
0042
0043 dirc->SetInstallationRadius (729.6);
0044 dirc->SetMagneticField ( 1.700);
0045
0046 dirc->SetParameterizationMap("./ctr_map_p1_0.95.root");
0047
0048 dirc->DoSigmaCalculations();
0049
0050 dirc->WriteTcl(false);
0051 {
0052 auto fout = new TFile("barrelDIRC.root", "RECREATE");
0053 dirc->Write();
0054 fout->Close();
0055 }
0056 exit(0);
0057 }