1 |
loizides |
1.1 |
//--------------------------------------------------------------------------------------------------
|
2 |
loizides |
1.13 |
// $Id: FillerElectrons.h,v 1.12 2008/11/04 19:27:44 bendavid 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 |
loizides |
1.9 |
#ifndef MITPROD_TREEFILLER_FILLERELECTRONS_H
|
12 |
|
|
#define MITPROD_TREEFILLER_FILLERELECTRONS_H
|
13 |
loizides |
1.1 |
|
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 |
loizides |
1.13 |
FillerElectrons(const edm::ParameterSet &cfg, const char *name, bool active=1);
|
28 |
loizides |
1.1 |
~FillerElectrons();
|
29 |
|
|
|
30 |
|
|
void BookDataBlock(TreeWriter &tws);
|
31 |
|
|
void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
|
32 |
|
|
|
33 |
|
|
private:
|
34 |
loizides |
1.9 |
std::string edmName_; //edm name of electrons collection
|
35 |
|
|
std::string mitName_; //name of Electrons in OAK
|
36 |
|
|
std::string gsfTrackMapName_; //name of imported map wrt gsf trks
|
37 |
|
|
std::string trackerTrackMapName_; //name of imported map wrt trk trks
|
38 |
|
|
std::string barrelEcalRecHitName_; //name of barrel ecal rechits
|
39 |
|
|
std::string endcapEcalRecHitName_; //name of endcap ecal rechits
|
40 |
|
|
std::string barrelSuperClusterName_; //name of barrel super clusters
|
41 |
|
|
std::string endcapSuperClusterName_; //name of endcap super clusters
|
42 |
|
|
std::string barrelBasicClusterName_; //name of barrel basic clusters
|
43 |
|
|
std::string endcapBasicClusterName_; //name of endcap basic clusters
|
44 |
|
|
std::string barrelSuperClusterMapName_; //name of imp. map wrt barrel sclus
|
45 |
|
|
std::string endcapSuperClusterMapName_; //name of imp. map wrt endcap sclus
|
46 |
|
|
std::string eIDCutBasedTightName_; //name of tight cut eID algo
|
47 |
|
|
std::string eIDCutBasedLooseName_; //name of loose cut eID algo
|
48 |
|
|
std::string eIDLikelihoodName_; //name of likelihood eID algo
|
49 |
|
|
std::string eIDNeuralNetName_; //name of neural net eID algo
|
50 |
|
|
std::string isoTrackColName_; //name of iso track collection
|
51 |
|
|
std::string isoCaloTowerColName_; //name of iso CaloTower collection
|
52 |
|
|
std::string ecalJurassicIsoName_; //name of Ecal Jurassic isolation
|
53 |
|
|
std::string hcalJurassicIsoName_; //name of Hcal Jurassic isolation
|
54 |
peveraer |
1.10 |
std::string trackerIsoName_; //name of tracker isolation
|
55 |
bendavid |
1.12 |
std::string gsfTrackAssocName_; //name of gsf track association map
|
56 |
loizides |
1.9 |
mithep::ElectronArr *electrons_; //array of Electrons
|
57 |
bendavid |
1.11 |
const mithep::TrackMap *gsfTrackMap_; //map wrt gsf tracks
|
58 |
loizides |
1.9 |
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 |
loizides |
1.1 |
};
|
62 |
|
|
}
|
63 |
|
|
#endif
|