Changeset dc883b4 in git for classes/DelphesModule.cc
- Timestamp:
- Mar 4, 2021, 2:36:16 PM (4 years ago)
- Branches:
- master
- Children:
- 4658ca4
- Parents:
- f9517a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesModule.cc
rf9517a5 rdc883b4 130 130 //------------------------------------------------------------------------------ 131 131 132 void DelphesModule::AddInfo(const char *name, Double_t value) 133 { 134 stringstream message; 135 if(!fTreeWriter) 136 { 137 fTreeWriter = static_cast<ExRootTreeWriter *>(GetObject("TreeWriter", ExRootTreeWriter::Class())); 138 if(!fTreeWriter) 139 { 140 message << "can't access access tree writer"; 141 throw runtime_error(message.str()); 142 } 143 } 144 fTreeWriter->AddInfo(name, value); 145 } 146 147 //------------------------------------------------------------------------------ 148 132 149 ExRootResult *DelphesModule::GetPlots() 133 150 {
Note:
See TracChangeset
for help on using the changeset viewer.