|
ATLAS Offline Software
|
Go to the documentation of this file.
43 #include "GaudiKernel/GaudiException.h"
56 const std::vector<double>& PhiExtrap,
116 using elParams = std::pair<egammaParameters::ParamDef, double>;
119 std::vector<elParams>::const_iterator
p =
m_parameters.begin();
122 if ( (*p).first ==
key ){
143 using elParams = std::pair<egammaParameters::ParamDef, double>;
148 if ( (*p).first ==
key )
break;
159 throw GaudiException(
"parameter not saved",
"EMTrackMatch::set_parameter(...)", StatusCode::FAILURE);
168 using elParams = std::pair<egammaParameters::ParamDef, bool>;
173 if ( (*p).first ==
key )
break;
184 throw GaudiException(
"parameter not saved",
"EMTrackMatch::set_boolparameter(...)", StatusCode::FAILURE);
192 using elParams = std::pair<egammaParameters::ParamDef, bool>;
198 if ( (*p).first ==
key ) {
341 const std::vector<double>& PhiExtrap,
342 const std::vector<double>&
deltaEta,
343 const std::vector<double>&
deltaPhi,
367 const std::vector<double>&
deltaPhi,
394 const std::vector<double>& PhiExtrap)
406 const std::vector<double>&
deltaPhi)
void set_boolParameter(egammaParameters::ParamDef, bool, bool overwrite=false)
JetConstituentVector::iterator iterator
double deltaPhi(int) const
deltaPhi at pre sampler(0) -> 3rd sampling(3)
@ PhiRescaled0
PhiRescaled to the presampler.
void setDeltaPhi(int sampl, double value, bool overwrite=false)
@ trackd0sigma_pv
transverse impact parameter with respect to primary vertex
@ deltaPhiRescaled
difference between the cluster phi (sampling 2) and the phi of the track extrapolated from the perige...
virtual int linkIndex() const override
index number among TrackParticle links of the egamma object (counting starts at 0)
virtual double parameter(egammaParameters::ParamDef) const override
@ PhiRescaled3
PhiRescaled to the 3rd sampling.
TrkExtrapDef
Enum for track extrapolation to calo.
virtual bool hasBoolParameter(egammaParameters::ParamDef) const override final
double trackd0sigma_pv() const
return track transverse impact parameter wrt primary vertex
void setPhiExtrap(int sampl, double value, bool overwrite=false)
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
void setextrapMethod(TrkExtrapDef value, bool overwrite=false)
@ PhiExtraps0
phi of the track extrapolated to the presampler
double deltaEta(int) const
deltaEta at pre sampler(0) -> 3rd sampling(3)
double PhiRescaled(int) const
PhiRescaled at pre sampler(0) -> 3rd sampling(3)
virtual bool hasParameter(egammaParameters::ParamDef) const override
void fillEtaPhiExtrap(const std::vector< double > &EtaExtrap, const std::vector< double > &PhiExtrap)
set method (EtaExtrap and PhiExtrap)
@ PhiRescaled2
PhiRescaled to the 2nd sampling.
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
double deltaPhiLast() const
deltaPhi from the last Point
const double EgParamUndefined
double PhiExtrap(int) const
Phi of track extrapolated at pre sampler(0) -> 3rd sampling(3)
@ deltaPhiRot
rotation of the track in the magnetic field: difference between the phi direction of the track at the...
@ extrapMethod
enum to indicate which track extrapolation method was used for track match
double trackd0_physics() const
return track transverse impact parameter wrt beam spot
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
@ trackd0_pv
transverse impact parameter with respect to primary vertex
void setPhiRescaled(int sampl, double value, bool overwrite=false)
@ trackNumber
index number in TrackContainer (counting starts at 1 for sake of CBNT)
@ EtaExtraps3
eta of the track extrapolated to the 3rd sampling
bool expectHitInBLayer() const
boolean to know if b-layer hit is expected
TrkExtrapDef extrapMethod() const
enum to indicate which track extrapolation method was used for track match.
int trackNumber() const
index number in TrackContainer (counting starts at 1 for sake of CBNT)
An interface for getting the name of a class as a string.
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
@ PhiRescaled1
PhiRescaled to the 1st sampling (strips)
SG_ADD_BASE(EMTrackMatch, egDetail)
Provide an interface for finding inheritance information at run time.
@ trackd0_physics
transverse impact parameter with respect beam spot
static std::string name()
Return the name of class T as a string.
@ tracksInBroadWindow
number of tracks in isolation window (taken at sampling 2): (# primary tracks if matched track is pri...
std::vector< std::pair< egammaParameters::ParamDef, double > > m_parameters
EMTrackMatch()=default
Default constructor.
bool trackRefit() const
true if track was refitted to account for brem effects
double trackd0sigma_physics() const
return track transverse impact parameter wrt beam spot
void setDeltaPhiLast(double value, bool overwrite=false)
@ trackd0sigma_physics
transverse impact parameter with respect beam spot
@ EtaExtraps0
eta of the track extrapolated to the presampler
void set_parameter(egammaParameters::ParamDef, double, bool overwrite=false)
@ deltaPhiLast
deltaPhi from the las point
@ PhiExtraps3
phi of the track extrapolated to the 3rd sampling
@ trackRefit
true if track was refitted to account for brem effects
@ EtaExtraps1
eta of the track extrapolated to the 1st sampling
void setDeltaEta(int sampl, double value, bool overwrite=false)
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
bool isPrimary() const
true if matched track has a hit in first or second pixel layer
std::vector< std::pair< egammaParameters::ParamDef, bool > > m_parametersBool
@ EtaExtraps2
eta of the track extrapolated to the 2nd sampling
void setDeltaPhiRot(double value, bool overwrite=false)
double etaSampling1() const
eta at sampling 1 for extrapolation from the last hit - allows recalcultion of deltaEta
@ PhiExtraps1
phi of the track extrapolated to the 1st sampling
int tracksInBroadWindow() const
number of tracks in isolation window (taken at sampling 2): (# primary tracks if matched track is pri...
double deltaPhiRescaled() const
deltaPhi at sampling 2 for rescaled momentum extrapolation from the perigee.
virtual bool boolParameter(egammaParameters::ParamDef) const override
virtual void set_linkIndex(int value) override
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
double EtaExtrap(int) const
Eta of track extrapolated at pre sampler(0) -> 3rd sampling(3)
virtual const std::string & className() const override
interface methods
double deltaPhiRot() const
deltaPhi between the direction of the momentum of the track at its perigee and the phi of the POSITIO...
@ linkIndex
link index for multiple track and vertex matches
void setEtaExtrap(int sampl, double value, bool overwrite=false)
@ etaSampling1
eta position at sampling 1 for track extrapolated from the last hit.
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
@ PhiExtraps2
phi of the track extrapolated to the 2nd sampling
void fill(const std::vector< double > &deltaEta, const std::vector< double > &deltaPhi, bool isPrimary, int trackNumber, bool trackRefit, int linkIndex=0)
general set method (arguments as constructor)
@ expectHitInBLayer
expectHitInBLayer (set to 1 if true)
double trackd0_pv() const
return track transverse impact parameter wrt primary vertex
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
void setEtaSampling1(double value, bool overwrite=false)
@ isPrimary
true if matched track has a hit in first or second pixel layer
void setDeltaPhiRescaled(double value, bool overwrite=false)