1 |
paus |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
bendavid |
1.5 |
// $Id: FillerDecayParts.h,v 1.4 2008/09/10 03:30:22 loizides Exp $
|
3 |
paus |
1.1 |
//
|
4 |
|
|
// FillerDecayParts
|
5 |
|
|
//
|
6 |
loizides |
1.3 |
// Imlementation of a filler to copy the mitedm::DecayPart collection into the
|
7 |
|
|
// mithep::DecayParticle collection.
|
8 |
paus |
1.1 |
//
|
9 |
loizides |
1.3 |
// Authors: C.Paus
|
10 |
paus |
1.1 |
//--------------------------------------------------------------------------------------------------
|
11 |
|
|
|
12 |
loizides |
1.4 |
#ifndef MITPROD_TREEFILLER_FILLERDECAYPARTS_H
|
13 |
|
|
#define MITPROD_TREEFILLER_FILLERDECAYPARTS_H
|
14 |
paus |
1.1 |
|
15 |
|
|
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
16 |
bendavid |
1.2 |
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
17 |
paus |
1.1 |
#include "MitAna/DataTree/interface/Collections.h"
|
18 |
|
|
|
19 |
|
|
namespace mithep
|
20 |
|
|
{
|
21 |
|
|
class FillerDecayParts : public BaseFiller
|
22 |
|
|
{
|
23 |
loizides |
1.3 |
public:
|
24 |
|
|
FillerDecayParts(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
25 |
|
|
~FillerDecayParts();
|
26 |
paus |
1.1 |
|
27 |
loizides |
1.3 |
void BookDataBlock(TreeWriter &tws);
|
28 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
29 |
paus |
1.1 |
|
30 |
loizides |
1.3 |
private:
|
31 |
|
|
std::string edmName_; //edm name of decay parts collection
|
32 |
|
|
std::string mitName_; //name of DecayParticles in OAK
|
33 |
bendavid |
1.5 |
std::vector<std::string> basePartMapNames_; //name of imported maps wrt stable parts
|
34 |
|
|
std::vector<const mithep::BasePartMap*> basePartMaps_; //maps wrt stable parts
|
35 |
loizides |
1.3 |
mithep::DecayParticleArr *decays_; //array of DecayParticles
|
36 |
paus |
1.1 |
};
|
37 |
|
|
}
|
38 |
|
|
#endif
|