Skip to content

Commit a1fee87

Browse files
RooUtil: add trigger branches to output ntuples
1 parent a3c01b8 commit a1fee87

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

rooutil/inc/RooUtil.hh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ public:
140140

141141
if(event->trkmcsim) { output_ntuple->Branch("trkmcsim", event->trkmcsim); }
142142

143+
for (const auto pair : event->trigNameMap) {
144+
output_ntuple->Branch(pair.first.c_str(), &event->triginfo._triggerArray[pair.second]);
145+
}
146+
147+
// TODO: copy in version number histogram
143148
}
144149

145150
void FillOutputEventNtuple() {

0 commit comments

Comments
 (0)