3 |
|
// |
4 |
|
// FillerConversions |
5 |
|
// |
6 |
< |
// Todo |
6 |
> |
// Implementation of a filler creating mithep::Conversion objects from the reconstructed |
7 |
> |
// conversion electrons. |
8 |
|
// |
9 |
|
// Authors: J.Bendavid |
10 |
|
//-------------------------------------------------------------------------------------------------- |
11 |
|
|
12 |
< |
#ifndef TREEFILLER_FILLERCONVERSIONS_H |
13 |
< |
#define TREEFILLER_FILLERCONVERSIONS_H |
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" |
24 |
|
class FillerConversions : public BaseFiller |
25 |
|
{ |
26 |
|
public: |
27 |
< |
FillerConversions(const edm::ParameterSet &cfg, bool active=1, |
27 |
< |
const ConversionElectronMap *conversionElectronMap=0); |
27 |
> |
FillerConversions(const edm::ParameterSet &cfg, const char *name, bool active=1); |
28 |
|
~FillerConversions(); |
29 |
|
|
30 |
< |
void BookDataBlock(TreeWriter &tws); |
31 |
< |
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es); |
32 |
< |
const ConversionMap *GetConversionMap() const { return conversionMap_; } |
30 |
> |
void BookDataBlock(TreeWriter &tws); |
31 |
> |
void FillDataBlock(const edm::Event &e, |
32 |
> |
const edm::EventSetup &es); |
33 |
|
|
34 |
|
private: |
35 |
< |
std::string edmName_; |
36 |
< |
std::string mitName_; |
37 |
< |
const mithep::ConversionElectronMap *conversionElectronMap_; |
38 |
< |
mithep::ConversionArr *conversions_; |
39 |
< |
mithep::ConversionMap *conversionMap_; |
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::string conversionMapName_; //name of exported conv map |
39 |
> |
const mithep::ConversionElectronMap *convElectronMap_; //imported map wrt conv electrons |
40 |
> |
mithep::ConversionArr *conversions_; //array of Conversions |
41 |
> |
mithep::ConversionMap *conversionMap_; //exported map wrt Conversions |
42 |
|
}; |
43 |
|
} |
44 |
|
#endif |