1 |
paus |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
bendavid |
1.2 |
// $Id: FillerDecayParts.h,v 1.1 2008/07/28 23:13:43 paus Exp $
|
3 |
paus |
1.1 |
//
|
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 |
bendavid |
1.2 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
16 |
paus |
1.1 |
#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 |
bendavid |
1.2 |
bool active=1, const mithep::BasePartMap* partMap=0);
|
25 |
paus |
1.1 |
~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 |
bendavid |
1.2 |
const mithep::BasePartMap *partMap_;
|
34 |
|
|
mithep::DecayParticleArr *decays_;
|
35 |
paus |
1.1 |
};
|
36 |
|
|
}
|
37 |
|
|
#endif
|