1 |
paus |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
|
|
// $Id: $
|
3 |
|
|
//
|
4 |
|
|
// FillerDecayParts
|
5 |
|
|
//
|
6 |
|
|
// Imlementation of a filler to fill an mitedm::PartColl into our mithep::PartColl data structure.
|
7 |
|
|
//
|
8 |
|
|
// Authors: Ch.Paus
|
9 |
|
|
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
#ifndef TREEFILLER_FILLERDECAYPARTS_H
|
12 |
|
|
#define TREEFILLER_FILLERDECAYPARTS_H
|
13 |
|
|
|
14 |
|
|
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
15 |
|
|
#include "MitAna/DataTree/interface/BasePart.h"
|
16 |
|
|
#include "MitAna/DataTree/interface/Collections.h"
|
17 |
|
|
|
18 |
|
|
namespace mithep
|
19 |
|
|
{
|
20 |
|
|
class FillerDecayParts : public BaseFiller
|
21 |
|
|
{
|
22 |
|
|
public:
|
23 |
|
|
FillerDecayParts(const edm::ParameterSet &cfg, const char *name,
|
24 |
|
|
bool active=1);
|
25 |
|
|
~FillerDecayParts();
|
26 |
|
|
|
27 |
|
|
void BookDataBlock(TreeWriter &tws);
|
28 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
29 |
|
|
|
30 |
|
|
private:
|
31 |
|
|
std::string edmName_;
|
32 |
|
|
std::string mitName_;
|
33 |
|
|
mithep::DecayPartObjArr *decays_;
|
34 |
|
|
};
|
35 |
|
|
}
|
36 |
|
|
#endif
|