|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifdef XAODTRACKING_TRACKPARTICLE_H
21 double et = elec.
e()*sintheta;
22 if ( std::fabs(
et)<ETOffline )
return false;
40 bool good_muon =
false;
50 else good_muon =
true;
64 TLorentzVector TauTLV = tau.
p4();
65 double eta_Tau = TauTLV.Eta();
66 double et_Tau = TauTLV.Et();
68 if ( std::fabs(eta_Tau)>2.47 )
return false;
69 if ( std::fabs(et_Tau)<EtCutOffline )
return false;
73 #ifdef XAODTRACKING_TRACKPARTICLE_H
74 #ifndef XAODTAU_VERSIONS_TAUJET_V3_H
83 int Ntracks = tau.numTrack();
87 bool good_tau =
false;
100 else good_tau =
true;
108 if ( requireNtracks>0 && Ntracks!=requireNtracks )
return false;
135 if (!
muon.isLoose()) {
141 if (
muon.hasInDetTrackParticle()) {
168 float etaTrack = fabs(idTrack->
eta());
172 if (etaTrack < 1.9) {
173 if ((nTrtHits + nTrtOutliers) < 5 )
return false;
174 if (nTrtOutliers >= (0.9 * (nTrtHits + nTrtOutliers)))
return false;
176 if ((nTrtHits + nTrtOutliers) > 5) {
177 if (nTrtOutliers >= (0.9 * (nTrtHits + nTrtOutliers)))
return false;
189 bool id_flag =
false;
192 id_flag = threeprong;
200 if (tau.
et() < EtCutOffline)
return false;
201 if (tau.
eta() > 2.47)
return false;
204 if (fabs(tau.
charge())!=1)
return false;
const Rec::TrackParticle * trackParticle(unsigned int index=0) const
pointer to TrackParticle
@ numberOfPixelHits
number of pixel layers on track with absence of hits
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
Extra patterns decribing particle interation process.
bool isGoodOffline(const Analysis::Electron &elec)
@ numberOfSCTDeadSensors
number of TRT hits
virtual double e() const override final
The total energy of the particle.
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
const TrackSummary * trackSummary() const
accessor function for TrackSummary.
float nPixelHits(const U &p)
unsigned int isem(unsigned int mask=egammaPIDObs::ALL, egammaPIDObs::PID pid=egammaPIDObs::IsEM) const
ID flag with cuts, 0:e, >1:jet
const TauPID * tauID() const
Get TauPID object containing discriminant values.
virtual ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
@ numberOfTRTOutliers
number of TRT holes
float nSCTHits(const U &p)
@ numberOfSCTHits
number of SCT holes
Class describing a tau jet.
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
@ numberOfPixelDeadSensors
number of pixel hits with broad errors (width/sqrt(12))
Object for taus common for ESD and AOD.
virtual double eta() const =0
pseudo rapidity
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
virtual double eta() const
pseudo rapidity
@ numberOfSCTHoles
number of SCT holes [unit8_t].
unsigned int author() const
Reconstruction Author
@ numberOfTRTHits
number of TRT outliers
bool detail(TauJetParameters::Detail detail, int &value) const
Set veto flag.
A summary of the information contained by a track.
virtual double et() const
transverse energy defined to be e*sin(theta)
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
virtual FourMom_t p4() const
The full 4-momentum of the particle.
const unsigned int ElectronMediumPP
Medium++ electron selecton.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
bool passSelection(bool &value, const std::string &menu) const
Check if the egamma object pass a selection menu (using the name) If the menu decision is stored in t...