6 |
|
#include "MitProd/TreeService/interface/TreeService.h" |
7 |
|
#include "MitProd/TreeFiller/interface/FillerMetaInfos.h" |
8 |
|
#include "MitProd/TreeFiller/interface/FillerGlobalMuons.h" |
9 |
+ |
#include "MitProd/TreeFiller/interface/FillerGenParts.h" |
10 |
|
|
11 |
|
using namespace std; |
12 |
|
using namespace edm; |
61 |
|
|
62 |
|
// Loop over the various components and book the branches |
63 |
|
for (std::vector<BaseFiller*>::iterator iF = fillers_.begin(); iF != fillers_.end(); ++iF) { |
64 |
< |
(*iF)->BookDataBlock(tws); |
64 |
> |
(*iF)->BookDataBlock(*tws); |
65 |
|
} |
65 |
– |
return; |
66 |
|
} |
67 |
|
|
68 |
|
//------------------------------------------------------------------------------------------------- |
83 |
|
else |
84 |
|
delete fillerGlobalMuons; |
85 |
|
|
86 |
+ |
FillerGenParts *fillerGenParts = new FillerGenParts(cfg); |
87 |
+ |
if (fillerGenParts->Active()) |
88 |
+ |
fillers_.push_back(fillerGenParts); |
89 |
+ |
else |
90 |
+ |
delete fillerGenParts; |
91 |
+ |
|
92 |
|
return 1; |
93 |
|
} |
94 |
|
|