92 setNTRTHiThresholdHits )
126 return std::abs( trkEtaAtCalo() - caloEta() );
168 if( !
acc.isAvailable( *
this ) ) {
174 if( ! link.isValid() ) {
201 if( !
acc.isAvailable( *
this ) ) {
218 setTrackParticleLink )
236 const EMClusterLink_t& clLink,
277 if( tpPtr->summaryValue( TRTThresholdhits,
290 if( clLink.isValid() ) {
306 const float abseta = std::abs(
caloEta() );
307 const float cl_EThad =
ehad1 / std::cosh( abseta );
336 const float tmp_cl_energy = clPtr->
energy();
338 if( std::abs( tmp_cl_energy ) > 0.00001 ) {
340 const float cl_e_frac_S0 =
341 ( clPtr->
energy( CaloSampling::PreSamplerB ) +
342 clPtr->
energy( CaloSampling::PreSamplerE ) ) / tmp_cl_energy;
343 setF0( cl_e_frac_S0 );
345 const float cl_e_frac_S1 =
346 ( clPtr->
energy( CaloSampling::EMB1 ) +
347 clPtr->
energy( CaloSampling::EME1 ) ) / tmp_cl_energy;
348 setF1( cl_e_frac_S1 );
350 const float cl_e_frac_S2 =
351 ( clPtr->
energy( CaloSampling::EMB2 ) +
352 clPtr->
energy( CaloSampling::EME2 ) ) / tmp_cl_energy;
353 setF2( cl_e_frac_S2 );
355 const float cl_e_frac_S3 =
356 ( clPtr->
energy( CaloSampling::EMB3 ) +
357 clPtr->
energy( CaloSampling::EME3 ) ) / tmp_cl_energy;
358 setF3( cl_e_frac_S3 );
#define AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(CL, PERSTYPE, TRANSTYPE, NAME)
Macro creating a getter function with a type conversion.
#define AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(CL, PERSTYPE, TRANSTYPE, NAME, SETTER)
Macro creating a setter function with a type conversion.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
INav4MomToTrackParticleAssocs::asso_link TrackParticleLink_t
bool isValid() const
Test to see if the link can be dereferenced.
SG::Accessor< T, ALLOC > Accessor
float ehad1() const
get hadronic Energy (first hadronic layer)
float emaxs1() const
get maximum energy in sampling 1 (strip layer)
float eta() const
get Eta (calibrated)
float e2tsts1() const
get second maximum energy in sampling 1 (strip layer)
float energy() const
get Energy (calibrated)
float phi() const
get Phi (calibrated)
float e277() const
get Energy in a 7x7 cluster (no calibration) around hottest cell
float et() const
get Et (calibrated)
float e237() const
get Energy in a 3x7 cluster (no calibration) around hottest cell
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Class describing an electron reconstructed in the HLT.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
const TrigEMCluster * emCluster() const
The associated EM cluster, as a simple pointer.
void setEratio(float eratio)
Documentation to be added.
void setNTRTHiThresholdHits(int nTRTHiThresholdHits)
Set the number of high-threshold TRT hits used in the reconstruction.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
float trkEtaAtCalo() const
Get the track's pseudorapidity extrapolated to the calorimeter.
virtual double phi() const
The azimuthal angle ( ) of the particle.
void setZvtx(float zVtx)
Set the Z position of the vertex that the electron is associated to.
float trkPhiAtCalo() const
Get the track's azimuthal angle extrapolated to the calorimeter.
void setCaloEta(float caloEta)
Set the pseudorapidity ( ) of the electron in the calorimeter.
virtual double rapidity() const
The true rapidity (y) of the particle.
void setF0(float value)
Documentation to be added.
virtual double e() const
The total energy of the particle.
float etOverPt() const
Get for the electron.
void setEtOverPt(float etOverpt)
Set for the electron.
void setF3(float value)
Documentation to be added.
ElementLink< TrackParticleContainer > TrackParticleLink_t
The type of the track particle link.
void setTrkPhiAtCalo(float trPhi)
Set the track's azimuthal angle extrapolated to the calorimeter.
void setTrkEtaAtCalo(float trEta)
Set the track's pseudorapidity extrapolated to the calorimeter.
virtual double eta() const
The pseudorapidity ( ) of the particle.
void setF2(float value)
Documentation to be added.
void setF1(float value)
Documentation to be added.
void setNTRTHits(int nTRTHits)
Set the number of TRT hits that were used in the reconstruction.
void setTrackParticleLink(const TrackParticleLink_t &value)
Set the ElementLink pointing to the track particle constituent.
void setEmClusterLink(const EMClusterLink_t &value)
Set the ElementLink pointing to the EM cluster constituent.
ElementLink< TrigEMClusterContainer > EMClusterLink_t
Type of the EM cluster link.
virtual double pt() const
The transverse momentum ( ) of the particle.
float caloEta() const
Pseudorapidity ( ) of the electron in the calorimeter.
void setRcore(float rcore)
Documentation to be added.
void setCaloPhi(float caloPhi)
Set the azimuthal angle ( ) of the electron in the calorimeter.
const TrackParticle * trackParticle() const
The associated track particle, as a simple pointer.
void setRoiWord(uint32_t roi)
Set the RoI word that seeded the reconstruction of this object.
void init(uint32_t roi, float trkEtaAtCalo, float trkPhiAtCalo, float etOverPt, const EMClusterLink_t &clLink, const TrackParticleLink_t &tpLink)
Initialisation function, setting most properties of the object.
void setCharge(float charge)
Set the charge of the electron.
virtual double m() const
The invariant mass of the particle.
void setPt(double pt)
Set the transverse momentum ( ) of the electron.
void setEtHad(float etHad)
Documentation to be added.
TrigElectron_v1()
Default constructor.
void setEtHad1(float etHad1)
Documentation to be added.
float caloPhi() const
Azimuthal angle ( ) of the electron in the calorimeter.
float trkClusDphi() const
The absolute value of the track-calo phi measurement difference.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
@ emaxs1
energy of strip with maximal energy deposit
@ ehad1
E leakage into 1st sampling of had calo (CaloSampling::HEC0 + CaloSampling::TileBar0 + CaloSampling::...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setCharge nTRTHiThresholdHits
setRcore setEtHad setFside pt
TrackParticle_v1 TrackParticle
Reference the current persistent version:
setEt setPhi setE277 setWeta2 setEta1 e2tsts1
setRcore setEtHad setFside setPt caloPhi
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
setCharge setNTRTHiThresholdHits setEratio etHad1
setCharge setNTRTHiThresholdHits setEratio setEtHad1 trkPhiAtCalo
@ numberOfTRTHits
number of TRT hits [unit8_t].
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
setCharge setNTRTHiThresholdHits eratio