Changeset 29b722a in git for modules/CscClusterEfficiency.cc
- Timestamp:
- Dec 9, 2021, 8:42:12 PM (3 years ago)
- Children:
- a09b75f
- Parents:
- d612dec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/CscClusterEfficiency.cc
rd612dec r29b722a 29 29 #include "classes/DelphesClasses.h" 30 30 #include "classes/DelphesFactory.h" 31 #include "classes/Delphes Formula.h"31 #include "classes/DelphesCscClusterFormula.h" 32 32 33 33 #include "ExRootAnalysis/ExRootClassifier.h" … … 55 55 fFormula(0), fItInputArray(0) 56 56 { 57 fFormula = new Delphes Formula;57 fFormula = new DelphesCscClusterFormula; 58 58 } 59 59 … … 70 70 { 71 71 // read CscClusterEfficiency formula 72 72 cout<<"initialize"<<endl; 73 73 fFormula->Compile(GetString("EfficiencyFormula", "1.0")); 74 74 … … 106 106 Eem = candidate->Eem; 107 107 // apply an efficency formula 108 //pt, eta, phi, energy109 108 if(gRandom->Uniform() > fFormula->Eval(decayR, decayZ, Ehad, Eem)) continue; 109 110 110 111 111 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.