Changeset bdfe7f2 in git
- Timestamp:
- Aug 23, 2016, 3:01:07 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 98ce52a
- Parents:
- 5198eed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PhotonConversions.cc
r5198eed rbdfe7f2 59 59 fItInputArray(0), fConversionMap(0), fDecayXsec(0) 60 60 { 61 fDecayXsec = new TF1 ;61 fDecayXsec = new TF1("decayXsec","1.0 - 4.0/3.0 * x * (1.0 - x)", 0.0, 1.0); 62 62 fConversionMap = new DelphesCylindricalFormula; 63 63 } … … 84 84 85 85 fConversionMap->Compile(GetString("ConversionMap", "0.0")); 86 87 #if ROOT_VERSION_CODE < ROOT_VERSION(6,04,00)88 fDecayXsec->Compile("1.0 - 4.0/3.0 * x * (1.0 - x)");89 #else90 fDecayXsec->GetFormula()->Compile("1.0 - 4.0/3.0 * x * (1.0 - x)");91 #endif92 fDecayXsec->SetRange(0.0, 1.0);93 86 94 87 // import array with output from filter/classifier module
Note:
See TracChangeset
for help on using the changeset viewer.