1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
sixie |
1.6 |
// $Id: FillerElectrons.h,v 1.5 2008/08/08 11:21:08 sixie Exp $
|
3 |
loizides |
1.1 |
//
|
4 |
|
|
// FillerElectrons
|
5 |
|
|
//
|
6 |
|
|
// Imlementation of a filler to fill EDM electrons into our mithep::Electron data structure.
|
7 |
|
|
//
|
8 |
sixie |
1.6 |
// Authors: J.Bendavid, S.Xie
|
9 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
#ifndef TREEFILLER_FILLERELECTRONS_H
|
12 |
|
|
#define TREEFILLER_FILLERELECTRONS_H
|
13 |
|
|
|
14 |
|
|
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
15 |
|
|
#include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
|
16 |
sixie |
1.6 |
#include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
|
17 |
loizides |
1.1 |
#include "MitAna/DataUtil/interface/TreeWriter.h"
|
18 |
|
|
#include "MitAna/DataTree/interface/Collections.h"
|
19 |
|
|
#include "MitProd/TreeFiller/interface/BaseFiller.h"
|
20 |
|
|
#include "MitProd/TreeFiller/interface/AssociationMaps.h"
|
21 |
|
|
|
22 |
|
|
namespace mithep
|
23 |
|
|
{
|
24 |
|
|
class FillerElectrons : public BaseFiller
|
25 |
|
|
{
|
26 |
|
|
public:
|
27 |
sixie |
1.5 |
|
28 |
loizides |
1.4 |
FillerElectrons(const edm::ParameterSet &cfg, bool active=1);
|
29 |
loizides |
1.1 |
~FillerElectrons();
|
30 |
|
|
|
31 |
|
|
void BookDataBlock(TreeWriter &tws);
|
32 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
33 |
|
|
|
34 |
|
|
private:
|
35 |
sixie |
1.5 |
|
36 |
sixie |
1.6 |
std::string edmName_; //edm name of electrons collection
|
37 |
|
|
std::string mitName_; //name of Electrons in OAK
|
38 |
|
|
std::string gsfTrackMapName_; //name of imported map wrt gsf tracks
|
39 |
|
|
std::string trackerTrackMapName_; //name of imported map wrt
|
40 |
|
|
//to trk tracks
|
41 |
|
|
std::string barrelEcalRecHitName_; //name of barrel ecal rechits
|
42 |
|
|
std::string endcapEcalRecHitName_; //name of endcap ecal rechits
|
43 |
|
|
std::string barrelSuperClusterName_; //name of barrel super clusters
|
44 |
|
|
std::string endcapSuperClusterName_; //name of endcap super clusters
|
45 |
|
|
std::string barrelBasicClusterName_; //name of barrel basic clusters
|
46 |
|
|
std::string endcapBasicClusterName_; //name of endcap basic clusters
|
47 |
|
|
std::string barrelSuperClusterMapName_; //name of imported map wrt to
|
48 |
|
|
//barrel super clusters
|
49 |
|
|
std::string endcapSuperClusterMapName_; //name of imported map wrt to
|
50 |
|
|
//endcap super cluster
|
51 |
|
|
std::string eIDCutBasedName_; //name of cut based eID algo
|
52 |
|
|
std::string eIDCutBasedClassesName_; //name of cut based classes eID algo
|
53 |
|
|
std::string eIDLikelihoodName_; //name of likelihood eID algo
|
54 |
|
|
std::string eIDNeuralNetName_; //name of neural net eID algo
|
55 |
|
|
|
56 |
|
|
mithep::ElectronArr *electrons_; //array of Electrons
|
57 |
|
|
const mithep::GsfTrackMap *gsfTrackMap_; //map wrt gsf tracks
|
58 |
|
|
const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
|
59 |
|
|
const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
|
60 |
|
|
const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
|
61 |
sixie |
1.5 |
|
62 |
loizides |
1.1 |
};
|
63 |
|
|
}
|
64 |
|
|
#endif
|
65 |
loizides |
1.4 |
|