ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DGele/MiniTreeFormat/TTbar/interface/Muon.h
Revision: 1.1.1.1 (vendor branch)
Committed: Tue Oct 20 17:15:16 2009 UTC (15 years, 6 months ago) by dgele
Content type: text/plain
Branch: ANA
CVS Tags: start
Changes since 1.1: +0 -0 lines
Log Message:
version CMSSW_2_2_10

File Contents

# User Rev Content
1 dgele 1.1 #ifndef __TOP_TREE_MUON_H__
2     #define __TOP_TREE_MUON_H__
3    
4    
5     #include <map>
6     #include <vector>
7     #include <string>
8    
9     #include "DataFormats/TrackReco/interface/Track.h"
10     #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
11     #include "Vec.h"
12    
13     namespace TopTree
14     {
15     class Muon
16     {
17     public:
18     Muon();
19     ~Muon();
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     int IsGlobalM;
59     int IsStaM;
60     int IsTraM;
61    
62    
63     reco::Track TrackMu; // associated track (tracker only) for muon
64     reco::Track StaMu; // associated standalone track
65     reco::Track ComMu; // associated combined track
66    
67     int MuonOrigin;
68     reco::GenParticle MuGenMother;
69     reco::GenParticle MuGenGrandMother;
70     reco::GenParticle MuGenGGrandMother;
71    
72     };
73     }
74     #endif