 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #define TAUTRACK_V1_ACCESSORS
29 static const double PION_MASS = 139.570;
78 return thisTracksFlags[
flag];
98 f = thisTracksFlags.to_ulong();
115 return ( ( xTrackParticle->
z0() + xTrackParticle->
vz() - zv ) *
118 std::cerr <<
"ERROR xAOD::TauTrack::z0sinThetaTJVA cannot get TauJet" << std::endl;
125 return d0TJVAAcc(*
this);
130 return d0SigTJVAAcc(*
this);
135 return z0sinthetaTJVAAcc(*
this);
140 return z0sinthetaSigTJVAAcc(*
this);
144 return std::sqrt(std::fabs(this->
d0TJVA())*this->
pt()/(0.3 ));
154 return tau->
jet()->
p4().DeltaR(this->
p4());
156 std::cerr <<
"ERROR xAOD::TauTrack::z0sinThetaTJVA cannot get TauJet" << std::endl;
169 if( ! acc )
return false;
170 if( ! acc->isAvailable( *
this ) )
return false;
173 value = ( *acc )( *this );
179 ( *( xAODTau::trackDetailsAccessorV3<float>(
detail ) ) )( *this ) =
value;
191 return bdtScoreAcc(*this).at(
i);
196 return bdtScoreAcc( *this ).size();
201 bdtScoreAcc( *this ).push_back(
score);
206 bdtScoreAcc( *this ).clear();
220 return ( *trackAcc( *
this )[0] );
225 trackAcc( *this ).push_back( tr );
230 trackAcc( *this ).clear();
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
TauTrackFlag
Enum for tau track flags.
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
void setFlag(TauJetParameters::TauTrackFlag flag, bool value)
virtual FourMom_t p4() const
The full 4-momentum of the particle.
float dRJetSeedAxis(const xAOD::IParticle &) const
void clearTrackLinks()
Remove all tracks from the collection.
float charge() const
Returns the charge.
virtual double eta() const
The pseudorapidity ( ) of the particle.
float vz() const
The z origin for the parameters.
float z0() const
Returns the parameter.
float z0sinthetaSigTJVA() const
TauTrack_v1()
Default constructor.
bool flag(TauJetParameters::TauTrackFlag flag) const
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::vector< ElementLink< xAOD::TrackParticleContainer > > TrackParticleLinks_t
setRcore setEtHad setFside pt
Class providing the definition of the 4-vector interface.
bool isValid() const
Test to see if the link can be dereferenced.
bool detail(TauJetParameters::TrackDetail detail, float &value) const
TLorentzVector FourMom_t
Definition of the 4-momentum type.
CompositeParticle_v1 CompositeParticle
Define the latest version of the composite particle class.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for taus.
AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(Muon_v1, uint8_t, Muon_v1::EnergyLossType, energyLossType) AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(Muon_v1
void addBdtScore(const float score)
add a cluster to the tau
Class describing a tau jet.
float z0sinthetaTJVA() const
float z() const
Returns the z position.
virtual double phi() const
The azimuthal angle ( ) of the particle.
size_t nBdtScores() const
ElementLink implementation for ROOT usage.
bool flagWithMask(unsigned int) const
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
void setDetail(TauJetParameters::TrackDetail detail, float value)
virtual double pt() const
The transverse momentum ( ) of the particle.
virtual double m() const
The invariant mass of the particle.
void addTrackLink(const ElementLink< TrackParticleContainer > &tr)
add a track to the collection
virtual double rapidity() const
The true rapidity (y) of the particle.
virtual double e() const
The total energy of the particle.
float bdtScore(size_t i) const
virtual FourMom_t p4() const
The full 4-momentum of the particle.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal taus type.
const Vertex * vertex() const
void clearBdtScores()
Remove all clusters from the tau.
const TrackParticle * track() const
Class describing a TrackParticle.
ObjectType
Type of objects that have a representation in the xAOD EDM.
setBGCode setTAP setLVL2ErrorBits bool
float theta() const
Returns the parameter, which has range 0 to .
const VertexLink_t & vertexLink() const
float z0sinThetaTJVA(const xAOD::IParticle &) const
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1