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

File Contents

# User Rev Content
1 dgele 1.1 #ifndef __TOP_TREE_LEPTON_H__
2     #define __TOP_TREE_LEPTON_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 Lepton
16     {
17     public:
18     Lepton();
19     ~Lepton();
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     LorentzVector v4gen;
35     Point3 vertex; // vertex position
36    
37     double P;
38     double Et;
39     double Charge;
40    
41     // variables for lepton ID:
42     double caloEnergy;
43     double eSuperClusterOverP;
44     double deltaEtaSeedClusterTrackAtCalo;
45     double deltaPhiSeedClusterTrackAtCalo;
46     double hadronicOverEm;
47     int classification;
48     size_t NumberOfTracks;
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     int IsGlobalM;
60     int IsStaM;
61     int IsTraM;
62     reco::Track TrackMu; // associated track (tracker only) for muon
63     reco::Track StaMu; // associated standalone track
64     reco::Track ComMu; // associated combined track
65    
66     reco::GsfTrack TrackEl; // associated GsfTrack for electron
67    
68     };
69     }
70     #endif