ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DGele/MiniTreeFormat/TTbar/interface/Electron.h.bck
Revision: 1.1
Committed: Tue Oct 20 17:15:16 2009 UTC (15 years, 6 months ago) by dgele
Branch: MAIN
Branch point for: ANA
Log Message:
Initial revision

File Contents

# User Rev Content
1 dgele 1.1 #ifndef __TOP_TREE_ELECTRON_H__
2     #define __TOP_TREE_ELECTRON_H__
3    
4    
5     #include <map>
6     #include <vector>
7     #include <string>
8    
9     #include "DataFormats/TrackReco/interface/Track.h"
10     #include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
11     #include "Vec.h"
12    
13     namespace TopTree
14     {
15     class Electron
16     {
17     public:
18     Electron();
19     ~Electron();
20    
21     void Reset();
22    
23     int GetId() { return id; };
24     int GetIndex() { return index; };
25     int GetMask() { return idmask; };
26     std::string GetName() { return name; };
27    
28     int id;
29     int index;
30     int idmask;
31     std::string name;
32    
33     LorentzVector v4;
34     Point3 vertex; // vertex position
35    
36     double P;
37     double Et;
38     double Charge;
39    
40     // variables for lepton ID:
41     double caloEnergy;
42     double eSuperClusterOverP;
43     double deltaEtaSeedClusterTrackAtCalo;
44     double deltaPhiSeedClusterTrackAtCalo;
45     double hadronicOverEm;
46     int classification;
47     size_t NumberOfTracks;
48     int elecIdLoose;
49    
50     // variables for lepton isolation:
51     double TrkPt;
52     double TrkZ0;
53     double TrkIso;
54    
55     double HadEnergy;
56     double EmEnergy;
57     double CaloIso;
58    
59     reco::GsfTrack TrackEl; // associated GsfTrack for electron
60    
61     };
62     }
63     #endif