12 |
|
#ifndef MITPROD_TREEFILLER_FILLERCONVERSIONS_H |
13 |
|
#define MITPROD_TREEFILLER_FILLERCONVERSIONS_H |
14 |
|
|
15 |
< |
#include "FWCore/ParameterSet/interface/ParameterSet.h" |
16 |
< |
#include "MitAna/DataUtil/interface/TreeWriter.h" |
17 |
< |
#include "DataFormats/TrackReco/interface/TrackFwd.h" |
18 |
< |
#include "MitAna/DataTree/interface/Collections.h" |
19 |
< |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
15 |
> |
#include "MitAna/DataTree/interface/ConversionFwd.h" |
16 |
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h" |
17 |
+ |
#include "MitProd/TreeFiller/interface/BaseFiller.h" |
18 |
|
|
19 |
|
namespace mithep |
20 |
|
{ |
24 |
|
FillerConversions(const edm::ParameterSet &cfg, const char *name, bool active=1); |
25 |
|
~FillerConversions(); |
26 |
|
|
27 |
< |
void BookDataBlock(TreeWriter &tws); |
28 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
27 |
> |
void BookDataBlock(TreeWriter &tws, |
28 |
> |
const edm::EventSetup &es); |
29 |
> |
void FillDataBlock(const edm::Event &e, |
30 |
> |
const edm::EventSetup &es); |
31 |
|
|
32 |
|
private: |
33 |
< |
std::string edmName_; //name of edm conversions |
34 |
< |
std::string mitName_; //name of Conversions in OAK |
35 |
< |
std::string convElectronMapName_; //name of imported electrons map |
36 |
< |
std::string conversionMapName_; //name of exported conv map |
37 |
< |
const mithep::ConversionElectronMap *convElectronMap_; //imported map wrt conv electrons |
38 |
< |
mithep::ConversionArr *conversions_; //array of Conversions |
39 |
< |
mithep::ConversionMap *conversionMap_; //exported map wrt Conversions |
33 |
> |
mithep::Particle *GetMitParticle(edm::Ptr<reco::Track> ptr) const; |
34 |
> |
|
35 |
> |
std::string edmName_; //name of edm conversions |
36 |
> |
std::string mitName_; //mit name of Conversions |
37 |
> |
std::string convElectronMapName_; //name of imported electrons map |
38 |
> |
std::vector<std::string> stablePartMapNames_; //name imp maps wrt stable parts |
39 |
> |
std::string conversionMapName_; //name of exported conv map |
40 |
> |
std::vector<const mithep::TrackPartMap*> stablePartMaps_; //maps wrt stable parts |
41 |
> |
mithep::ConversionArr *conversions_; //array of Conversions |
42 |
> |
mithep::ConversionMap *conversionMap_; //exported map wrt Conversions |
43 |
|
}; |
44 |
|
} |
45 |
|
#endif |