107 |
|
Double_t IsoR03EmEt() const { return fIsoR03EmEt; } |
108 |
|
Double_t IsoR03HadEt() const { return fIsoR03HadEt; } |
109 |
|
Double_t IsoR03HoEt() const { return fIsoR03HoEt; } |
110 |
< |
Int_t IsoR03NTracks() const { return fIsoR03NTracks; } |
111 |
< |
Int_t IsoR03NJets() const { return fIsoR03NJets; } |
110 |
> |
UShort_t IsoR03NTracks() const { return fIsoR03NTracks; } |
111 |
> |
UShort_t IsoR03NJets() const { return fIsoR03NJets; } |
112 |
|
Double_t IsoR05SumPt() const { return fIsoR05SumPt; } |
113 |
|
Double_t IsoR05EmEt() const { return fIsoR05EmEt; } |
114 |
|
Double_t IsoR05HadEt() const { return fIsoR05HadEt; } |
115 |
|
Double_t IsoR05HoEt() const { return fIsoR05HoEt; } |
116 |
< |
Int_t IsoR05NTracks() const { return fIsoR05NTracks; } |
117 |
< |
Int_t IsoR05NJets() const { return fIsoR05NJets; } |
118 |
< |
Int_t NChambers() const { return fNTraversedChambers; } |
119 |
< |
Int_t NSegments() const { return fStationMask.NBitsSet(); } |
116 |
> |
UShort_t IsoR05NTracks() const { return fIsoR05NTracks; } |
117 |
> |
UShort_t IsoR05NJets() const { return fIsoR05NJets; } |
118 |
> |
UInt_t NChambers() const { return fNTraversedChambers; } |
119 |
> |
UInt_t NSegments() const { return fStationMask.NBitsSet(); } |
120 |
|
Int_t LastHit() const; |
121 |
|
Int_t LastStation(Double_t iMaxD, Double_t iMaxP) const; |
122 |
|
Int_t LastStation(Int_t iMax=8) const; |
123 |
|
EObjType ObjType() const { return kMuon; } |
124 |
|
Bool_t PromptTight(EClassType type) const; |
125 |
|
Bool_t StationBit(Int_t bit) const { return fStationMask.TestBit(bit); } |
126 |
< |
Bool_t TMLastStation(Double_t iDYMin = 3., Double_t iPYMin = 3., |
127 |
< |
Double_t iDXMin = 3., Double_t iPXMin = 3.,Int_t iN = 2) const; |
128 |
< |
Bool_t TMOneStation(Double_t iDYMin = 3., Double_t iPYMin = 3., |
129 |
< |
Double_t iDXMin = 3., Double_t iPXMin = 3.,Int_t iN = 1) const; |
130 |
< |
void SetGlobalTrk(const Track *t) { fGlobalTrkRef = t; ClearMom(); ClearCharge(); } |
131 |
< |
void SetStandaloneTrk(const Track *t) { fStaTrkRef = t; ClearMom(); ClearCharge(); } |
132 |
< |
void SetTrackerTrk(const Track *t) { fTrkTrkRef = t; ClearMom(); ClearCharge(); } |
126 |
> |
Bool_t TMLastStation(Double_t iDYMin = 3, Double_t iPYMin = 3, |
127 |
> |
Double_t iDXMin = 3, Double_t iPXMin = 3,UInt_t iN = 2) const; |
128 |
> |
Bool_t TMOneStation(Double_t iDYMin = 3, Double_t iPYMin = 3, |
129 |
> |
Double_t iDXMin = 3, Double_t iPXMin = 3,UInt_t iN = 1) const; |
130 |
> |
void SetGlobalTrk(const Track *t) |
131 |
> |
{ fGlobalTrkRef = t; ClearMom(); ClearCharge(); } |
132 |
> |
void SetStandaloneTrk(const Track *t) |
133 |
> |
{ fStaTrkRef = t; ClearMom(); ClearCharge(); } |
134 |
> |
void SetTrackerTrk(const Track *t) |
135 |
> |
{ fTrkTrkRef = t; ClearMom(); ClearCharge(); } |
136 |
|
void SetDX(Int_t iStation, Double_t iDX); |
137 |
|
void SetDY(Int_t iStation, Double_t iDY); |
138 |
|
void SetEmEnergy(Double_t EmEnergy) { fEmEnergy = EmEnergy; } |
149 |
|
void SetIsoR03EmEt(Double_t isoR03EmEt) { fIsoR03EmEt = isoR03EmEt; } |
150 |
|
void SetIsoR03HadEt(Double_t isoR03HadEt) { fIsoR03HadEt = isoR03HadEt; } |
151 |
|
void SetIsoR03HoEt(Double_t isoR03HoEt) { fIsoR03HoEt = isoR03HoEt; } |
152 |
< |
void SetIsoR03NTracks(Int_t isoR03NTracks) { fIsoR03NTracks = isoR03NTracks; } |
153 |
< |
void SetIsoR03NJets(Int_t isoR03NJets) { fIsoR03NJets = isoR03NJets; } |
152 |
> |
void SetIsoR03NTracks(UShort_t isoR03NTrk) { fIsoR03NTracks = isoR03NTrk; } |
153 |
> |
void SetIsoR03NJets(UShort_t isoR03NJets) { fIsoR03NJets = isoR03NJets; } |
154 |
|
void SetIsoR05SumPt(Double_t isoR05SumPt) { fIsoR05SumPt = isoR05SumPt; } |
155 |
|
void SetIsoR05EmEt(Double_t isoR05EmEt) { fIsoR05EmEt = isoR05EmEt; } |
156 |
|
void SetIsoR05HadEt(Double_t isoR05HadEt) { fIsoR05HadEt = isoR05HadEt; } |
157 |
|
void SetIsoR05HoEt(Double_t isoR05HoEt) { fIsoR05HoEt = isoR05HoEt; } |
158 |
< |
void SetIsoR05NTracks(Int_t isoR05NTracks) { fIsoR05NTracks = isoR05NTracks; } |
159 |
< |
void SetIsoR05NJets(Int_t isoR05NJets) { fIsoR05NJets = isoR05NJets; } |
160 |
< |
void SetNChambers(Int_t iNTraCh) { fNTraversedChambers = iNTraCh; } |
158 |
> |
void SetIsoR05NTracks(UShort_t isoR05NTrk) { fIsoR05NTracks = isoR05NTrk; } |
159 |
> |
void SetIsoR05NJets(UShort_t isoR05NJets) { fIsoR05NJets = isoR05NJets; } |
160 |
> |
void SetNChambers(UShort_t iNTraCh) { fNTraversedChambers = iNTraCh; } |
161 |
|
void SetNSegments(Int_t iStation, Int_t NSegments); |
162 |
|
void SetPullX(Int_t iStation, Double_t iPullX); |
163 |
|
void SetPullY(Int_t iStation, Double_t iPullY); |
171 |
|
Ref<Track> fGlobalTrkRef; //global combined track reference |
172 |
|
Ref<Track> fStaTrkRef; //standalone muon track reference |
173 |
|
Ref<Track> fTrkTrkRef; //tracker track reference |
174 |
< |
Double32_t fIsoR03SumPt; //isolation size R=0.3 sum pt |
175 |
< |
Double32_t fIsoR03EmEt; //isolation size R=0.3 em trans energy |
176 |
< |
Double32_t fIsoR03HadEt; //isolation size R=0.3 had trans energy |
177 |
< |
Double32_t fIsoR03HoEt; //isolation size R=0.3 ho trans energy |
178 |
< |
Int_t fIsoR03NTracks; //isolation size R=0.3 number of tracks |
179 |
< |
Int_t fIsoR03NJets; //isolation size R=0.3 number of jets |
180 |
< |
Double32_t fIsoR05SumPt; //isolation size R=0.5 sum pt |
181 |
< |
Double32_t fIsoR05EmEt; //isolation size R=0.5 em trans energy |
182 |
< |
Double32_t fIsoR05HadEt; //isolation size R=0.5 had trans energy |
183 |
< |
Double32_t fIsoR05HoEt; //isolation size R=0.5 ho trans energy |
184 |
< |
Int_t fIsoR05NTracks; //isolation size R=0.5 number of tracks |
185 |
< |
Int_t fIsoR05NJets; //isolation size R=0.5 number of jets |
186 |
< |
Double32_t fEmEnergy; //energy deposit in ecal |
187 |
< |
Double32_t fHadEnergy; //energy deposit in hcal |
188 |
< |
Double32_t fHoEnergy; //energy deposit in outer hcal |
189 |
< |
Double32_t fEmS9Energy; //energy deposit in 3x3 ecal |
190 |
< |
Double32_t fHadS9Energy; //energy deposit in 3x3 hcal |
191 |
< |
Double32_t fHoS9Energy; //energy deposit in 3x3 outer hcal |
192 |
< |
Int_t fNTraversedChambers; //number of tranversed chambers |
174 |
> |
Double32_t fIsoR03SumPt; //[0,0,14]isolation size R=0.3 sum pt |
175 |
> |
Double32_t fIsoR03EmEt; //[0,0,14]isolation size R=0.3 em trans energy |
176 |
> |
Double32_t fIsoR03HadEt; //[0,0,14]isolation size R=0.3 had trans energy |
177 |
> |
Double32_t fIsoR03HoEt; //[0,0,14]isolation size R=0.3 ho trans energy |
178 |
> |
UShort_t fIsoR03NTracks; //isolation size R=0.3 number of tracks |
179 |
> |
UShort_t fIsoR03NJets; //isolation size R=0.3 number of jets |
180 |
> |
Double32_t fIsoR05SumPt; //[0,0,14]isolation size R=0.5 sum pt |
181 |
> |
Double32_t fIsoR05EmEt; //[0,0,14]isolation size R=0.5 em trans energy |
182 |
> |
Double32_t fIsoR05HadEt; //[0,0,14]isolation size R=0.5 had trans energy |
183 |
> |
Double32_t fIsoR05HoEt; //[0,0,14]isolation size R=0.5 ho trans energy |
184 |
> |
UShort_t fIsoR05NTracks; //isolation size R=0.5 number of tracks |
185 |
> |
UShort_t fIsoR05NJets; //isolation size R=0.5 number of jets |
186 |
> |
Double32_t fEmEnergy; //[0,0,14]energy deposit in ecal |
187 |
> |
Double32_t fHadEnergy; //[0,0,14]energy deposit in hcal |
188 |
> |
Double32_t fHoEnergy; //[0,0,14]energy deposit in outer hcal |
189 |
> |
Double32_t fEmS9Energy; //[0,0,14]energy deposit in 3x3 ecal |
190 |
> |
Double32_t fHadS9Energy; //[0,0,14]energy deposit in 3x3 hcal |
191 |
> |
Double32_t fHoS9Energy; //[0,0,14]energy deposit in 3x3 outer hcal |
192 |
> |
UShort_t fNTraversedChambers; //number of traversed chambers |
193 |
|
BitMask8 fStationMask; //bitmap of station with tracks, 0-3 DT, 4-7 CSCs |
194 |
< |
Double32_t fDX[8]; //uncertainty in x in given muon chamber |
195 |
< |
Double32_t fDY[8]; //uncertainty in y in given muon chamber |
196 |
< |
Double32_t fPullX[8]; //pull in x in given muon chamber |
197 |
< |
Double32_t fPullY[8]; //pull in y in given muon chamber |
198 |
< |
Double32_t fTrackDist[8]; //dist. to track in trans. plane in given muon chamber |
199 |
< |
Double32_t fTrackDistErr[8]; //error of dist. to track in trans. plane in chamber |
194 |
> |
Double32_t fDX[8]; //[0,0,14]uncertainty in x in given muon chamber |
195 |
> |
Double32_t fDY[8]; //[0,0,14]uncertainty in y in given muon chamber |
196 |
> |
Double32_t fPullX[8]; //[0,0,14]pull in x in given muon chamber |
197 |
> |
Double32_t fPullY[8]; //[0,0,14]pull in y in given muon chamber |
198 |
> |
Double32_t fTrackDist[8]; //[0,0,14]dist. to track in trans. plane in muon chamber |
199 |
> |
Double32_t fTrackDistErr[8]; //[0,0,14]error of dist. to track in trans. plane |
200 |
|
Int_t fNSegments[8]; //number of segments in given muon chamber |
201 |
< |
Bool_t fIsGlobalMuon; //GlobalMuon algo flag |
202 |
< |
Bool_t fIsTrackerMuon; //TrackerMuon algo flag |
203 |
< |
Bool_t fIsStandaloneMuon; //Standalone muon algo flag |
204 |
< |
Bool_t fIsCaloMuon; //CaloMuon algo flag |
201 |
> |
Bool_t fIsGlobalMuon; //GlobalMuon algo flag |
202 |
> |
Bool_t fIsTrackerMuon; //TrackerMuon algo flag |
203 |
> |
Bool_t fIsStandaloneMuon; //StandaloneMuon algo flag |
204 |
> |
Bool_t fIsCaloMuon; //CaloMuon algo flag |
205 |
|
|
206 |
|
ClassDef(Muon, 1) // Muon class |
207 |
|
}; |
424 |
|
|
425 |
|
//-------------------------------------------------------------------------------------------------- |
426 |
|
inline Bool_t mithep::Muon::TMOneStation(Double_t iDYMin, Double_t iPYMin, |
427 |
< |
Double_t iDXMin, Double_t iPXMin, Int_t iN) const |
427 |
> |
Double_t iDXMin, Double_t iPXMin, UInt_t iN) const |
428 |
|
{ |
429 |
|
// Check if the muon is matched to at least one station (chamber). |
430 |
|
|
451 |
|
|
452 |
|
//-------------------------------------------------------------------------------------------------- |
453 |
|
inline Bool_t mithep::Muon::TMLastStation(Double_t iDYMin, Double_t iPYMin, |
454 |
< |
Double_t iDXMin, Double_t iPXMin, Int_t iN) const |
454 |
> |
Double_t iDXMin, Double_t iPXMin, UInt_t iN) const |
455 |
|
{ |
456 |
|
// Check if the muon is matched to its last station (chamber). |
457 |
|
|