ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerElectrons.h
Revision: 1.9
Committed: Wed Sep 10 03:30:22 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_005, Mit_004
Changes since 1.8: +28 -37 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.9 // $Id: FillerElectrons.h,v 1.8 2008/09/09 12:50:43 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 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.4 FillerElectrons(const edm::ParameterSet &cfg, 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     mithep::ElectronArr *electrons_; //array of Electrons
55     const mithep::GsfTrackMap *gsfTrackMap_; //map wrt gsf tracks
56     const mithep::TrackMap *trackerTrackMap_; //map wrt tracker tracks
57     const mithep::SuperClusterMap *barrelSuperClusterMap_; //map wrt barrel super clusters
58     const mithep::SuperClusterMap *endcapSuperClusterMap_; //map wrt endcap super clusters
59 loizides 1.1 };
60     }
61     #endif