ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | Private Attributes | List of all members
TrigPhoton Class Reference

File: TrigPhoton.h. More...

#include <TrigPhoton.h>

Inheritance diagram for TrigPhoton:
Collaboration diagram for TrigPhoton:

Public Types

enum  Kind {
  P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE,
  UNKNOWN
}
 

Public Member Functions

 TrigPhoton ()
 constructors; note: default constructor needed by POOL More...
 
 TrigPhoton (int roi, float dphi, float deta, const TrigEMClusterContainer *cluster_cont, unsigned int cluster_index)
 Constructor: Pass TrigEMClusterContainer pointer and index to cluster to initialize ElementLink to cluster quickly. More...
 
 TrigPhoton (float pt, float eta, float phi, unsigned int roi, bool valid, const ElementLink< TrigEMClusterContainer > &cluster, float HadEt, float energyRatio, float rCore, float deta, float dphi, float Fside, float Weta2, float F0, float F1, float F2, float F3)
 Initialize without accessing cluster objects. More...
 
 TrigPhoton (const TrigPhoton &te)
 Copy Constructor. More...
 
TrigPhotonoperator= (const TrigPhoton &te)=default
 
 ~TrigPhoton ()=default
 
void validate (bool v)
 
bool isValid () const
 
int roiId () const
 accessor to get RoI ID (should also introduce roiWord More...
 
int roiWord () const
 
float Et () const
 accessor EM cluster et More...
 
float HadEt () const
 accessor for hadronic energy in 1st hadronic sampling behind cluster More...
 
float HadEt1 () const
 
float energyRatio () const
 accessor for fraction difference of EM cluster emaxs1 and e2tsts1 More...
 
float Eratio () const
 
float rCore () const
 cluster energy in 3x7 cells / energy in 7x7 cells in 2nd sampling More...
 
float Reta () const
 
float Fside () const
 energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips More...
 
float Weta2 () const
 cluster width (based on a 3x5 cluster - 2nd layer) More...
 
float dPhi () const
 accessor for difference between cluster and Roi phi More...
 
float dEta () const
 accessor for difference between cluster and Roi eta More...
 
float F0 () const
 accessors for calibrated energy and energy fraction in calo samples More...
 
float F1 () const
 
float F2 () const
 
float F3 () const
 
const TrigEMClustercluster () const
 other accessors for shower shapes More...
 
const ElementLink< TrigEMClusterContainer > & clusterLink () const
 
virtual double pt () const
 get pt data member More...
 
virtual double eta () const
 get eta data member More...
 
virtual double phi () const
 get phi data member More...
 
virtual double m () const
 get mass data member More...
 
virtual void setPt (double thePt)
 set pt data member More...
 
virtual void setEta (double theEta)
 set eta data member More...
 
virtual void setPhi (double thePhi)
 set phi data member More...
 
virtual void setM (double theM)
 set mass data member More...
 
virtual void set4Mom (const I4Momentum &theI4Mom)
 set all 4-mom from another I4Momentum reference
More...
 
virtual void set4Mom (const I4Momentum *const theI4Mom)
 set all 4-mom from another I4Momentum pointer
More...
 
virtual void set4Mom (const CLHEP::HepLorentzVector &theHlv)
 set all 4-mom from a CLHEP HepLorentzVector More...
 
virtual const I4MomentumErrorerrors () const
 Access to errors, if available; returns 0 if no errors. More...
 
virtual double px () const
 x component of momentum More...
 
virtual double py () const
 y component of momentum More...
 
virtual double pz () const
 z component of momentum More...
 
virtual double e () const
 energy More...
 
virtual double p () const
 magnitude of 3-momentum. More...
 
virtual double p2 () const
 square of momentum magnitude More...
 
virtual double m2 () const
 mass squared More...
 
virtual double et () const
 transverse energy defined to be e*sin(theta) More...
 
virtual double iPt () const
 inverse of transverse momentum More...
 
virtual double rapidity () const
 rapidity More...
 
virtual double cosPhi () const
 cosinus phi More...
 
virtual double sinPhi () const
 sinus phi More...
 
virtual double cotTh () const
 cottan theta More...
 
virtual double cosTh () const
 cosinus theta More...
 
virtual double sinTh () const
 sinus theta More...
 
virtual double tanTh () const
 tan theta More...
 
virtual CLHEP::HepLorentzVector hlv () const
 HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same
More...
 
I4Momentum::Kind kind () const
 tells what kind of P4XYZT this is More...
 
virtual std::ostream & dump (std::ostream &out) const
 Print I4Momentum content. More...
 
virtual void fillToken (INavigationToken &) const
 
virtual void fillToken (INavigationToken &, const std::any &) const
 
virtual AthenaBarCode_t getAthenaBarCode () const
 
virtual void setAthenaBarCode (AthenaBarCode_t)
 
virtual bool hasSameAthenaBarCode (const IAthenaBarCode &) const
 
virtual bool hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &) const
 
virtual AthenaBarCodeVersion_t getVersion () const
 
virtual void newVersion ()
 
virtual void setVersion (AthenaBarCodeVersion_t)
 

Static Public Attributes

static const AthenaBarCode_t UNDEFINEDBARCODE = (AthenaBarCode_t)(-1)
 
static const AthenaBarCode_t UNDEFINEDVERSION = UNDEFINEDBARCODE
 

Protected Attributes

double m_pt
 
double m_eta
 
double m_phi
 
double m_m
 

Private Attributes

int m_roiID
 
float m_HadEt
 
float m_energyRatio
 
float m_rCore
 
float m_dPhi
 
float m_dEta
 
float m_cl_e_frac_S0
 
float m_cl_e_frac_S1
 
float m_cl_e_frac_S2
 
float m_cl_e_frac_S3
 
float m_Fside
 
float m_Weta2
 
bool m_valid
 
ElementLink< TrigEMClusterContainerm_cluster
 

Detailed Description

File: TrigPhoton.h.

Description: To be created by fex algorithms in Level 2 chains. To be used as a way to communicate L2 decisions and to keep information to be available offline.

Design: Must be light and easy to serialize AND to store in ESD;

Authour: R.Goncalo - Tue Jun 06 22:02:43 BST 2005 Modified: RG Nov 7 2006: to inherit from INav4M and 4-mom base Modified: A.Hamilton (20 June 2008) to use ElementLink to TrigEMCluster Modified: A.Hamilton (Aug 2009) - changed constructor to be similar to TrigElectron Modified: V.Dao (Oct 2009) - changed constructor back to fill the deltaEta, deltaPhi variables

Definition at line 42 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

Member Enumeration Documentation

◆ Kind

enum I4Momentum::Kind
inherited
Enumerator
P4EETAPHIM 
P4IPTCOTTHPHIM 
P4PTETAPHIM 
P4PXPYPZE 
UNKNOWN 

Definition at line 33 of file I4Momentum.h.

Constructor & Destructor Documentation

◆ TrigPhoton() [1/4]

TrigPhoton::TrigPhoton ( )

constructors; note: default constructor needed by POOL

File: TrigPhoton.cxx.

Description: To be created by hypothesis algorithms at end of Level 2 chains. To be used as a way to communicate L2 decisions and to keep information available only online so far.

Design: Must be light and easy to serialize AND to store in ESD; should avoid ElementLinks and try to persistify pointers instead; should avoid inheritance to be easy to serialize.

Authour: R.Goncalo - Tue Jun 06 22:02:43 BST 2005

Modified: RG Nov 7 2006: to inherit from INav4M and 4-mom base Modified: VD Oct 13 2008: change the photon constructor (see .h) Default Constructor

Definition at line 31 of file TrigPhoton.cxx.

31  :
32  P4PtEtaPhiM(0, 0, 0, 0),
34  m_roiID(-1),
35  m_HadEt(0),
36  m_energyRatio(0),
37  m_rCore(0),
38  m_dPhi(0),
39  m_dEta(0),
40  // m_cl_energy(0),
41  m_cl_e_frac_S0(0),
42  m_cl_e_frac_S1(0),
43  m_cl_e_frac_S2(0),
44  m_cl_e_frac_S3(0),
45  m_Fside(0),
46  m_Weta2(0),
47  m_valid(false)
48 
49 {
50  m_cluster.reset();
51 }

◆ TrigPhoton() [2/4]

TrigPhoton::TrigPhoton ( int  roi,
float  dphi,
float  deta,
const TrigEMClusterContainer cluster_cont,
unsigned int  cluster_index 
)

Constructor: Pass TrigEMClusterContainer pointer and index to cluster to initialize ElementLink to cluster quickly.


Design choice: data member values are passed the constructor through TrigEMCluster parameters, rather than providing accessors to update these values later; 4-momentum variables can still be updated through the P4PtEtaPhiM baseclass accessors

Set data members from calorimeter quantities. The idea is that the variables used for cuts should be kept in the TrigPhoton class for redundancy. Some remaining quantities, not used for cuts, are accessible from the ElementLink to TrigEMCluster. This allows for EDM slimming by not storing the cluster.

Set ElementLinks to TrigEMCluster : use fast method with reference to collection + index (O(1)), Notes:

  1. the cluster container is held by steering;
  2. if e-links not valid, just set data member links to default value

retrieve TrigEMCluster from TrigEMClusterContainer

Initialize 4-momentum base-class from cluster data

set data members from cluster quantities

set TrigPhoton invalid if e-link could not be made

Definition at line 61 of file TrigPhoton.cxx.

63  :
64  P4PtEtaPhiM(0, 0, 0, 0),
66  m_roiID(roi),
67  m_HadEt(0),
68  m_energyRatio(0),
69  m_rCore(0),
70  m_dPhi(dphi),
71  m_dEta(deta),
72  m_cl_e_frac_S0(0),
73  m_cl_e_frac_S1(0),
74  m_cl_e_frac_S2(0),
75  m_cl_e_frac_S3(0),
76  m_Fside(0),
77  m_Weta2(0),
78  m_valid(true)
79 {
80 
88  if (cluster_cont != NULL && cluster_cont->size() > cluster_index) {
89 
95  m_cluster.toIndexedElement(*cluster_cont, cluster_index);
96 
97 
99  const TrigEMCluster* cl_ptr = (*cluster_cont)[cluster_index];
100 
101 
103  this->setPt(cl_ptr->et());
104  this->setEta(cl_ptr->eta());
105  this->setPhi(cl_ptr->phi());
106 
109  // EThad
110  if (cl_ptr->eta() != 0) {
111  m_HadEt = cl_ptr->ehad1()/cosh(fabs(cl_ptr->eta())); // Ehad1/cosh(fabs(eta)
112  } else {
113  m_HadEt = cl_ptr->ehad1(); // Ehad1 (=EThad1)
114  }
115 
116  // Rcore (test for positive energy to avoid zeros)
117  if (cl_ptr->e277() != 0) { // (VD) before it was '>'
118  m_rCore = cl_ptr->e237()/cl_ptr->e277();
119  } else {
120  m_rCore = 0;
121  m_valid = false;
122  }
123 
124  // Eratio (test for positive energy to avoid zeros)
125  if (cl_ptr->emaxs1()+cl_ptr->e2tsts1() > 0) {
126  m_energyRatio = (cl_ptr->emaxs1()-cl_ptr->e2tsts1()) / (cl_ptr->emaxs1()+cl_ptr->e2tsts1());
127  } else {
128  m_energyRatio = 0;
129  m_valid = false;
130  }
131 
132  // energy and energy fraction per sample
133  float tmp_cl_energy = cl_ptr->energy();
134  if (fabs(tmp_cl_energy) > 0.00001) { // avoid floating-point exceptions
135  m_cl_e_frac_S0 = ( cl_ptr->energy(CaloSampling::PreSamplerB) + cl_ptr->energy(CaloSampling::PreSamplerE)) / tmp_cl_energy;
136  m_cl_e_frac_S1 = ( cl_ptr->energy(CaloSampling::EMB1) + cl_ptr->energy(CaloSampling::EME1)) / tmp_cl_energy;
137  m_cl_e_frac_S2 = ( cl_ptr->energy(CaloSampling::EMB2) + cl_ptr->energy(CaloSampling::EME2)) / tmp_cl_energy;
138  m_cl_e_frac_S3 = ( cl_ptr->energy(CaloSampling::EMB3) + cl_ptr->energy(CaloSampling::EME3)) / tmp_cl_energy;
139  m_Fside = cl_ptr->fracs1();
140  m_Weta2 = cl_ptr->weta2();
141  }
142  }
143  else {
144  m_cluster.reset();
145  m_valid = false;
146  // m_cl_energy = 0;
147  m_cl_e_frac_S0 = 0;
148  m_cl_e_frac_S1 = 0;
149  m_cl_e_frac_S2 = 0;
150  m_cl_e_frac_S3 = 0;
151  }
152 
153 
155  if (!m_cluster.isValid()) {
156  m_cluster.reset();
157  m_valid = false;
158  }
159 
160 }

◆ TrigPhoton() [3/4]

TrigPhoton::TrigPhoton ( float  pt,
float  eta,
float  phi,
unsigned int  roi,
bool  valid,
const ElementLink< TrigEMClusterContainer > &  cluster,
float  HadEt,
float  energyRatio,
float  rCore,
float  deta,
float  dphi,
float  Fside,
float  Weta2,
float  F0,
float  F1,
float  F2,
float  F3 
)

Initialize without accessing cluster objects.

Definition at line 164 of file TrigPhoton.cxx.

185  : P4PtEtaPhiM(pt, eta, phi, 0),
186  m_roiID(roi),
187  m_HadEt(HadEt),
189  m_rCore(rCore),
190  m_dPhi(dphi),
191  m_dEta(deta),
196  m_Fside(Fside),
197  m_Weta2(Weta2),
198  m_valid(valid),
200 {
201 }

◆ TrigPhoton() [4/4]

TrigPhoton::TrigPhoton ( const TrigPhoton te)

Copy Constructor.

Definition at line 204 of file TrigPhoton.cxx.

204  :
205  I4Momentum(tp),
207  INavigable(tp),
210  P4PtEtaPhiM(tp),
212 {
213  m_roiID = tp.m_roiID;
214  m_HadEt = tp.m_HadEt;
215  m_energyRatio = tp.m_energyRatio;
216  m_rCore = tp.m_rCore;
217  m_dPhi = tp.m_dPhi;
218  m_dEta = tp.m_dEta;
219  // m_cl_energy = tp.m_cl_energy;
220  m_cl_e_frac_S0 = tp.m_cl_e_frac_S0;
221  m_cl_e_frac_S1 = tp.m_cl_e_frac_S1;
222  m_cl_e_frac_S2 = tp.m_cl_e_frac_S2;
223  m_cl_e_frac_S3 = tp.m_cl_e_frac_S3;
224  m_Fside = tp.m_Fside;
225  m_Weta2 = tp.m_Weta2;
226  m_valid = tp.m_valid;
227 
228  //set ElementLink to cluster
229  if( m_cluster.isValid() ){
230  m_cluster.toIndexedElement( tp.m_cluster.getStorableObjectRef(), tp.m_cluster.index() );
231  }
232  else {
233  m_cluster.reset();
234  }
235 }

◆ ~TrigPhoton()

TrigPhoton::~TrigPhoton ( )
default

Member Function Documentation

◆ cluster()

const TrigEMCluster * TrigPhoton::cluster ( ) const

other accessors for shower shapes

accessor for pointer to TrigEMCluster

Definition at line 237 of file TrigPhoton.cxx.

238 {
239  if( m_cluster.isValid() ){
240  return (*m_cluster);
241  }
242  else{
243  return NULL;
244  }
245 }

◆ clusterLink()

const ElementLink< TrigEMClusterContainer >& TrigPhoton::clusterLink ( ) const
inline

Definition at line 138 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

139  { return m_cluster; }

◆ cosPhi()

double P4PtEtaPhiMBase::cosPhi ( ) const
virtualinherited

cosinus phi

Implements I4Momentum.

Definition at line 55 of file P4PtEtaPhiMBase.cxx.

56 {
57  return std::cos(this->phi());
58 }

◆ cosTh()

double P4PtEtaPhiMBase::cosTh ( ) const
virtualinherited

cosinus theta

Implements I4Momentum.

Definition at line 70 of file P4PtEtaPhiMBase.cxx.

71 {
72  return std::tanh(this->eta());
73 }

◆ cotTh()

double P4PtEtaPhiMBase::cotTh ( ) const
virtualinherited

cottan theta

Implements I4Momentum.

Definition at line 65 of file P4PtEtaPhiMBase.cxx.

66 {
67  return std::sinh(this->eta());
68 }

◆ dEta()

float TrigPhoton::dEta ( ) const
inline

accessor for difference between cluster and Roi eta

Definition at line 125 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

125 { return m_dEta; }

◆ dPhi()

float TrigPhoton::dPhi ( ) const
inline

accessor for difference between cluster and Roi phi

Definition at line 122 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

122 { return m_dPhi; }

◆ dump()

std::ostream & P4PtEtaPhiMBase::dump ( std::ostream &  out) const
virtualinherited

Print I4Momentum content.

Implements I4Momentum.

Definition at line 147 of file P4PtEtaPhiMBase.cxx.

148 {
149  std::stringstream outx;
150  outx << "[pt,eta,phi,m] ="
151  << std::right << std::scientific << std::setprecision(8)
152  << std::setw(16) << this->pt()
153  << std::setw(16) << this->eta()
154  << std::setw(16) << this->phi()
155  << std::setw(16) << this->m();
156  out<<outx.str();
157 
158  return out;
159 
160 }

◆ e()

double P4PtEtaPhiMBase::e ( ) const
virtualinherited

energy

Implements I4Momentum.

Definition at line 13 of file P4PtEtaPhiMBase.cxx.

14 {
15  const double theMass = this->m();
16  const double thePt = this->pt();
17  const double thePz = this->pz();
18 
19  //DR from Frank Paige
20  // if negative pt point in the opposite direction
21  // BUT eta and phi still the same !!!
22 
23  double eSign = (thePt >= 0.) ? +1. : -1.;
24  return eSign*std::sqrt(thePt*thePt + thePz*thePz + theMass*theMass);
25 }

◆ energyRatio()

float TrigPhoton::energyRatio ( ) const
inline

accessor for fraction difference of EM cluster emaxs1 and e2tsts1

Definition at line 107 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

107 { return m_energyRatio; }// OBSOLETE!: to disappear in next iteration

◆ Eratio()

float TrigPhoton::Eratio ( ) const
inline

Definition at line 108 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

108 { return m_energyRatio; }

◆ errors()

const I4MomentumError * P4PtEtaPhiM::errors ( ) const
virtualinherited

Access to errors, if available; returns 0 if no errors.

Reimplemented from P4PtEtaPhiMBase.

Definition at line 7 of file P4PtEtaPhiM.cxx.

8 {
9  return 0;
10 }

◆ et()

double P4PtEtaPhiMBase::et ( ) const
virtualinherited

transverse energy defined to be e*sin(theta)

Implements I4Momentum.

Definition at line 101 of file P4PtEtaPhiMBase.cxx.

102  {
103  return this->e()*this->sinTh();
104  }

◆ Et()

float TrigPhoton::Et ( ) const
inline

accessor EM cluster et

Definition at line 100 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

100 { return this->pt(); }// OBSOLETE!: to disappear in next iteration

◆ eta()

double P4PtEtaPhiM::eta ( ) const
inlinevirtualinherited

get eta data member

Implements I4Momentum.

Definition at line 106 of file P4PtEtaPhiM.h.

107 { return m_eta;}

◆ F0()

float TrigPhoton::F0 ( ) const
inline

accessors for calibrated energy and energy fraction in calo samples

Definition at line 129 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

129 { return m_cl_e_frac_S0; }

◆ F1()

float TrigPhoton::F1 ( ) const
inline

Definition at line 130 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

130 { return m_cl_e_frac_S1; }

◆ F2()

float TrigPhoton::F2 ( ) const
inline

Definition at line 131 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

131 { return m_cl_e_frac_S2; }

◆ F3()

float TrigPhoton::F3 ( ) const
inline

Definition at line 132 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

132 { return m_cl_e_frac_S2; }

◆ fillToken() [1/2]

virtual void NavigableTerminalNode::fillToken ( INavigationToken ) const
inlinevirtualinherited

Implements INavigable.

Definition at line 31 of file NavigableTerminalNode.h.

31 { };

◆ fillToken() [2/2]

virtual void NavigableTerminalNode::fillToken ( INavigationToken ,
const std::any &   
) const
inlinevirtualinherited

Implements INavigable.

Definition at line 32 of file NavigableTerminalNode.h.

32 { };

◆ Fside()

float TrigPhoton::Fside ( ) const
inline

energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips

Definition at line 116 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

116 { return m_Fside; }

◆ getAthenaBarCode()

virtual AthenaBarCode_t IAthenaBarCode::getAthenaBarCode ( ) const
inlinevirtualinherited

◆ getVersion()

virtual AthenaBarCodeVersion_t IAthenaBarCode::getVersion ( ) const
inlinevirtualinherited

◆ HadEt()

float TrigPhoton::HadEt ( ) const
inline

accessor for hadronic energy in 1st hadronic sampling behind cluster

Definition at line 103 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

103 { return m_HadEt; }// OBSOLETE!: to disappear in next iteration

◆ HadEt1()

float TrigPhoton::HadEt1 ( ) const
inline

Definition at line 104 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

104 { return m_HadEt; }

◆ hasSameAthenaBarCode()

virtual bool IAthenaBarCode::hasSameAthenaBarCode ( const IAthenaBarCode ) const
inlinevirtualinherited

◆ hasSameAthenaBarCodeExceptVersion()

virtual bool IAthenaBarCode::hasSameAthenaBarCodeExceptVersion ( const IAthenaBarCode ) const
inlinevirtualinherited

◆ hlv()

CLHEP::HepLorentzVector P4PtEtaPhiMBase::hlv ( ) const
virtualinherited

HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same

Implements I4Momentum.

Definition at line 128 of file P4PtEtaPhiMBase.cxx.

129 {
130  //minimize the number of calculation and dereference
131  const double theM = this->m();
132  // note that pt can have negative sign : then it points in opposite direction but eta and phi are still on the same side
133  const double thePt = this->pt();
134 
135 
136  const double thePx = thePt*this->cosPhi();
137  const double thePy = thePt*this->sinPhi();
138 
139  const double thePz = thePt*this->cotTh();
140 
141  const double theE=std::sqrt(thePt*thePt+thePz*thePz+theM*theM);
142 
143 
144  return CLHEP::HepLorentzVector( thePx, thePy, thePz, theE );
145 }

◆ iPt()

double P4PtEtaPhiMBase::iPt ( ) const
virtualinherited

inverse of transverse momentum

Implements I4Momentum.

Definition at line 106 of file P4PtEtaPhiMBase.cxx.

107  { return 1./this->pt();
108  }

◆ isValid()

bool TrigPhoton::isValid ( ) const
inline

Definition at line 93 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

93 { return m_valid; }

◆ kind()

I4Momentum::Kind P4PtEtaPhiMBase::kind ( ) const
inlinevirtualinherited

tells what kind of P4XYZT this is

Implements I4Momentum.

Definition at line 64 of file P4PtEtaPhiMBase.h.

64 { return I4Momentum::P4PTETAPHIM; };

◆ m()

double P4PtEtaPhiM::m ( ) const
inlinevirtualinherited

get mass data member

Implements I4Momentum.

Definition at line 112 of file P4PtEtaPhiM.h.

113 { return m_m;}

◆ m2()

double P4PtEtaPhiMBase::m2 ( ) const
virtualinherited

mass squared

Implements I4Momentum.

Definition at line 50 of file P4PtEtaPhiMBase.cxx.

51 { const double theM=this->m();
52  return theM*theM;
53 }

◆ newVersion()

virtual void IAthenaBarCode::newVersion ( )
inlinevirtualinherited

Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.

Definition at line 89 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

89  {
90  // throw std::runtime_error("IAthenaBarCode::newVersion():: can't newVersion() in the dummy implementation");
91  }

◆ operator=()

TrigPhoton& TrigPhoton::operator= ( const TrigPhoton te)
default

◆ p()

double P4PtEtaPhiMBase::p ( ) const
virtualinherited

magnitude of 3-momentum.

Special implementation from Frank Paige : if negative energy p is negative but eta and phi still the same.

Implements I4Momentum.

Definition at line 27 of file P4PtEtaPhiMBase.cxx.

28 {
29  const double thePt = this->pt();
30  const double thePz = this->pz();
31 
32  //DR from Frank Paige
33  // if negative pt point in the opposite direction
34  // BUT eta and phi still the same !!!
35 
36  double eSign = (thePt >= 0.) ? +1. : -1.;
37  return eSign*std::sqrt(thePt*thePt + thePz*thePz);
38 }

◆ p2()

double P4PtEtaPhiMBase::p2 ( ) const
virtualinherited

square of momentum magnitude

Implements I4Momentum.

Definition at line 40 of file P4PtEtaPhiMBase.cxx.

41 {
42  /* This method has been implemented so as to give the same as would be obtained from pow((this->p()),2) with this->p() implemented according to Frank Paige's algorithm above. */
43 
44  const double thePt = this->pt();
45  const double thePz = this->pz();
46 
47  return thePt*thePt + thePz*thePz;
48 }

◆ phi()

double P4PtEtaPhiM::phi ( ) const
inlinevirtualinherited

get phi data member

Implements I4Momentum.

Definition at line 109 of file P4PtEtaPhiM.h.

110 { return m_phi;}

◆ pt()

double P4PtEtaPhiM::pt ( ) const
inlinevirtualinherited

get pt data member

Implements I4Momentum.

Definition at line 103 of file P4PtEtaPhiM.h.

104 { return m_pt;}

◆ px()

double P4PtEtaPhiMBase::px ( ) const
virtualinherited

x component of momentum

Implements I4Momentum.

Definition at line 117 of file P4PtEtaPhiMBase.cxx.

118  { return this->pt()*this->cosPhi();
119  }

◆ py()

double P4PtEtaPhiMBase::py ( ) const
virtualinherited

y component of momentum

Implements I4Momentum.

Definition at line 121 of file P4PtEtaPhiMBase.cxx.

122  { return this->pt()*this->sinPhi();
123  }

◆ pz()

double P4PtEtaPhiMBase::pz ( ) const
virtualinherited

z component of momentum

Implements I4Momentum.

Definition at line 125 of file P4PtEtaPhiMBase.cxx.

126 { return this->pt()*this->cotTh(); }

◆ rapidity()

double P4PtEtaPhiMBase::rapidity ( ) const
virtualinherited

rapidity

Implements I4Momentum.

Definition at line 110 of file P4PtEtaPhiMBase.cxx.

111  {
112  const double theE=this->e();
113  const double thePz=this->pz();
114  return 0.5*std::log((theE+thePz)/(theE-thePz));
115  }

◆ rCore()

float TrigPhoton::rCore ( ) const
inline

cluster energy in 3x7 cells / energy in 7x7 cells in 2nd sampling

Definition at line 111 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

111 { return m_rCore; }// OBSOLETE!: to disappear in next iteration

◆ Reta()

float TrigPhoton::Reta ( ) const
inline

Definition at line 112 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

112 { return m_rCore; }

◆ roiId()

int TrigPhoton::roiId ( ) const
inline

accessor to get RoI ID (should also introduce roiWord

Definition at line 96 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

96 { return m_roiID; }// OBSOLETE!: to disappear in next iteration

◆ roiWord()

int TrigPhoton::roiWord ( ) const
inline

Definition at line 97 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

97 { return m_roiID; }

◆ set4Mom() [1/3]

void P4PtEtaPhiM::set4Mom ( const CLHEP::HepLorentzVector &  theHlv)
inlinevirtualinherited

set all 4-mom from a CLHEP HepLorentzVector

Reimplemented from P4PtEtaPhiMBase.

Definition at line 140 of file P4PtEtaPhiM.h.

141 {
142  m_pt=theHlv.perp();
143  m_eta=theHlv.eta();
144  //FIXME protect against negative energy
145  //assert(m_e >= 0,"P4PtEtaPhiM::set4Mom cannot have negative energy");
146  //assert(m_e >= 0);
147  // FIXME of the FIXME in fact it is not necessary to prtoect against negative energy
148  // and besides Seal assert does not work
149  // ASSERT( m_e >= 0 );
150  m_phi=theHlv.phi();
151  m_m=theHlv.m();
152 
153 
154 }

◆ set4Mom() [2/3]

void P4PtEtaPhiM::set4Mom ( const I4Momentum theI4Mom)
inlinevirtualinherited

set all 4-mom from another I4Momentum reference

Reimplemented from P4PtEtaPhiMBase.

Definition at line 127 of file P4PtEtaPhiM.h.

128 {
129  m_pt=theI4Mom.pt();
130  m_eta=theI4Mom.eta();
131  m_phi=theI4Mom.phi();
132  m_m=theI4Mom.m();
133 }

◆ set4Mom() [3/3]

void P4PtEtaPhiM::set4Mom ( const I4Momentum *const  theI4Mom)
inlinevirtualinherited

set all 4-mom from another I4Momentum pointer

Reimplemented from P4PtEtaPhiMBase.

Definition at line 135 of file P4PtEtaPhiM.h.

136 {
137  this->set4Mom(*theI4Mom);
138 }

◆ setAthenaBarCode()

virtual void IAthenaBarCode::setAthenaBarCode ( AthenaBarCode_t  )
inlinevirtualinherited

Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.

Definition at line 71 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

71  {
72  // throw std::runtime_error("IAthenaBarCode::setAthenaBarCode():: can't set AthenaBarCode in the dummy implementation");
73  }

◆ setEta()

void P4PtEtaPhiM::setEta ( double  theEta)
inlinevirtualinherited

set eta data member

Definition at line 118 of file P4PtEtaPhiM.h.

119 { m_eta = theEta;}

◆ setM()

void P4PtEtaPhiM::setM ( double  theM)
inlinevirtualinherited

set mass data member

Definition at line 124 of file P4PtEtaPhiM.h.

125 { m_m = theM;}

◆ setPhi()

void P4PtEtaPhiM::setPhi ( double  thePhi)
inlinevirtualinherited

set phi data member

Definition at line 121 of file P4PtEtaPhiM.h.

122 { m_phi = thePhi;}

◆ setPt()

void P4PtEtaPhiM::setPt ( double  thePt)
inlinevirtualinherited

set pt data member

Definition at line 115 of file P4PtEtaPhiM.h.

116 { m_pt = thePt;}

◆ setVersion()

virtual void IAthenaBarCode::setVersion ( AthenaBarCodeVersion_t  )
inlinevirtualinherited

Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.

Definition at line 93 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

93  {
94  // throw std::runtime_error("IAthenaBarCode::setVersion():: can't setVersion() in the dummy implementation");
95  }

◆ sinPhi()

double P4PtEtaPhiMBase::sinPhi ( ) const
virtualinherited

sinus phi

Implements I4Momentum.

Definition at line 60 of file P4PtEtaPhiMBase.cxx.

61 {
62  return std::sin(this->phi());
63 }

◆ sinTh()

double P4PtEtaPhiMBase::sinTh ( ) const
virtualinherited

sinus theta

Implements I4Momentum.

Definition at line 75 of file P4PtEtaPhiMBase.cxx.

76 {
77  // avoid numeric overflow if very large eta
78 
79  double aEta=std::abs(this->eta());
80  if ( aEta>710) {
81  aEta=710;
82  }
83 
84  return 1./std::cosh(aEta);
85 }

◆ tanTh()

double P4PtEtaPhiMBase::tanTh ( ) const
virtualinherited

tan theta

Implements I4Momentum.

Definition at line 87 of file P4PtEtaPhiMBase.cxx.

88 {
89  // avoid numeric overflow if very large eta
90 
91  double theEta=this->eta();
92  if ( std::abs(theEta)>710) {
93  theEta=theEta>0 ? 710 : -710;
94  return 1./std::sinh(theEta);
95  }
96 
97  return 1./std::sinh(this->eta());
98 }

◆ validate()

void TrigPhoton::validate ( bool  v)
inline

Definition at line 92 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

92 { m_valid = v; } // OBSOLETE!: to disappear in next iteration

◆ Weta2()

float TrigPhoton::Weta2 ( ) const
inline

cluster width (based on a 3x5 cluster - 2nd layer)

Definition at line 119 of file Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h.

119 { return m_Weta2; }

Member Data Documentation

◆ m_cl_e_frac_S0

float TrigPhoton::m_cl_e_frac_S0
private

◆ m_cl_e_frac_S1

float TrigPhoton::m_cl_e_frac_S1
private

◆ m_cl_e_frac_S2

float TrigPhoton::m_cl_e_frac_S2
private

◆ m_cl_e_frac_S3

float TrigPhoton::m_cl_e_frac_S3
private

◆ m_cluster

ElementLink< TrigEMClusterContainer > TrigPhoton::m_cluster
private

◆ m_dEta

float TrigPhoton::m_dEta
private

◆ m_dPhi

float TrigPhoton::m_dPhi
private

◆ m_energyRatio

float TrigPhoton::m_energyRatio
private

◆ m_eta

double P4PtEtaPhiM::m_eta
protectedinherited

Definition at line 77 of file P4PtEtaPhiM.h.

◆ m_Fside

float TrigPhoton::m_Fside
private

◆ m_HadEt

float TrigPhoton::m_HadEt
private

◆ m_m

double P4PtEtaPhiM::m_m
protectedinherited

Definition at line 79 of file P4PtEtaPhiM.h.

◆ m_phi

double P4PtEtaPhiM::m_phi
protectedinherited

Definition at line 78 of file P4PtEtaPhiM.h.

◆ m_pt

double P4PtEtaPhiM::m_pt
protectedinherited

Definition at line 76 of file P4PtEtaPhiM.h.

◆ m_rCore

float TrigPhoton::m_rCore
private

◆ m_roiID

int TrigPhoton::m_roiID
private

◆ m_valid

bool TrigPhoton::m_valid
private

◆ m_Weta2

float TrigPhoton::m_Weta2
private

◆ UNDEFINEDBARCODE

const AthenaBarCode_t IAthenaBarCode::UNDEFINEDBARCODE = (AthenaBarCode_t)(-1)
staticinherited

Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

◆ UNDEFINEDVERSION

const AthenaBarCode_t IAthenaBarCode::UNDEFINEDVERSION = UNDEFINEDBARCODE
staticinherited

Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.


The documentation for this class was generated from the following files:
TrigPhoton::Fside
float Fside() const
energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:116
I4Momentum
Definition: I4Momentum.h:31
IAthenaBarCode::UNDEFINEDBARCODE
static const AthenaBarCode_t UNDEFINEDBARCODE
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:52
TrigPhoton::m_cl_e_frac_S0
float m_cl_e_frac_S0
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:150
TrigPhoton::m_cl_e_frac_S2
float m_cl_e_frac_S2
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:152
constants.EMB1
int EMB1
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:53
TrigPhoton::F0
float F0() const
accessors for calibrated energy and energy fraction in calo samples
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:129
TrigPhoton::m_Weta2
float m_Weta2
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:155
IAthenaBarCode::IAthenaBarCode
IAthenaBarCode()
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:59
TrigEMCluster::e2tsts1
float e2tsts1() const
get second maximum energy in sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:133
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
TrigPhoton::m_dPhi
float m_dPhi
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:147
P4PtEtaPhiMBase::e
virtual double e() const
energy
Definition: P4PtEtaPhiMBase.cxx:13
TrigEMCluster::phi
float phi() const
get Phi (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:116
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
TrigPhoton::m_energyRatio
float m_energyRatio
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:145
ParticleTest.tp
tp
Definition: ParticleTest.py:25
NavigableTerminalNode::NavigableTerminalNode
NavigableTerminalNode()
Definition: NavigableTerminalNode.h:27
TrigPhoton::m_roiID
int m_roiID
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:143
P4PtEtaPhiMBase::cotTh
virtual double cotTh() const
cottan theta
Definition: P4PtEtaPhiMBase.cxx:65
TrigEMCluster
Class with calibrated variables for egamma clustering.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:31
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
TrigPhoton::m_cl_e_frac_S3
float m_cl_e_frac_S3
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:153
TrigPhoton::m_cluster
ElementLink< TrigEMClusterContainer > m_cluster
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:158
P4PtEtaPhiM::m_eta
double m_eta
Definition: P4PtEtaPhiM.h:77
I4Momentum::pt
virtual double pt() const =0
transverse momentum
TrigEMCluster::e277
float e277() const
get Energy in a 7x7 cluster (no calibration) around hottest cell
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:120
P4PtEtaPhiM::m_m
double m_m
Definition: P4PtEtaPhiM.h:79
P4PtEtaPhiM::m_phi
double m_phi
Definition: P4PtEtaPhiM.h:78
TrigEMCluster::weta2
float weta2() const
get cluster width (based on a 3x5 cluster - 2nd layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:125
P4PtEtaPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4PtEtaPhiMBase.cxx:55
TrigEMCluster::fracs1
float fracs1() const
get Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strip...
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:123
calibdata.valid
list valid
Definition: calibdata.py:45
P4PtEtaPhiM::phi
virtual double phi() const
get phi data member
Definition: P4PtEtaPhiM.h:109
TrigPhoton::F1
float F1() const
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:130
P4PtEtaPhiM::setPt
virtual void setPt(double thePt)
set pt data member
Definition: P4PtEtaPhiM.h:115
TrigEMCluster::e237
float e237() const
get Energy in a 3x7 cluster (no calibration) around hottest cell
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:118
constants.EMB2
int EMB2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:54
TrigPhoton::m_dEta
float m_dEta
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:148
TrigPhoton::F2
float F2() const
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:131
P4PtEtaPhiM::setPhi
virtual void setPhi(double thePhi)
set phi data member
Definition: P4PtEtaPhiM.h:121
P4PtEtaPhiM::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
Definition: P4PtEtaPhiM.h:127
TrigPhoton::m_cl_e_frac_S1
float m_cl_e_frac_S1
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:151
TrigPhoton::m_Fside
float m_Fside
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:154
TrigPhoton::m_rCore
float m_rCore
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:146
TrigPhoton::HadEt
float HadEt() const
accessor for hadronic energy in 1st hadronic sampling behind cluster
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:103
constants.EME1
int EME1
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:55
I4Momentum::eta
virtual double eta() const =0
pseudo rapidity
INavigable
Definition: INavigable.h:18
P4PtEtaPhiM::setEta
virtual void setEta(double theEta)
set eta data member
Definition: P4PtEtaPhiM.h:118
P4PtEtaPhiM::pt
virtual double pt() const
get pt data member
Definition: P4PtEtaPhiM.h:103
I4Momentum::phi
virtual double phi() const =0
phi in [-pi,pi[
TrigEMCluster::eta
float eta() const
get Eta (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:114
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
TrigPhoton::m_HadEt
float m_HadEt
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:144
P4PtEtaPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4PtEtaPhiMBase.cxx:60
TrigPhoton::F3
float F3() const
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:132
TrigEMCluster::ehad1
float ehad1() const
get hadronic Energy (first hadronic layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:127
TrigEMCluster::energy
float energy() const
get Energy (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:102
P4PtEtaPhiMBase
Definition: P4PtEtaPhiMBase.h:26
I4Momentum::UNKNOWN
@ UNKNOWN
Definition: I4Momentum.h:33
CaloCell_ID_FCS::EME3
@ EME3
Definition: FastCaloSim_CaloCell_ID.h:26
P4PtEtaPhiM::eta
virtual double eta() const
get eta data member
Definition: P4PtEtaPhiM.h:106
TrigPhoton::cluster
const TrigEMCluster * cluster() const
other accessors for shower shapes
Definition: TrigPhoton.cxx:237
P4PtEtaPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4PtEtaPhiMBase.cxx:125
TrigPhoton::m_valid
bool m_valid
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:156
I4Momentum::m
virtual double m() const =0
mass
python.PyAthena.v
v
Definition: PyAthena.py:154
TrigPhoton::energyRatio
float energyRatio() const
accessor for fraction difference of EM cluster emaxs1 and e2tsts1
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:107
TrigEMCluster::emaxs1
float emaxs1() const
get maximum energy in sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:131
CaloCell_ID_FCS::PreSamplerE
@ PreSamplerE
Definition: FastCaloSim_CaloCell_ID.h:23
CaloCell_ID_FCS::PreSamplerB
@ PreSamplerB
Definition: FastCaloSim_CaloCell_ID.h:19
INavigable4Momentum
Definition: INavigable4Momentum.h:21
TrigPhoton::rCore
float rCore() const
cluster energy in 3x7 cells / energy in 7x7 cells in 2nd sampling
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:111
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
P4PtEtaPhiM::P4PtEtaPhiM
P4PtEtaPhiM()
default constructor
Definition: P4PtEtaPhiM.h:83
TrigPhoton::Weta2
float Weta2() const
cluster width (based on a 3x5 cluster - 2nd layer)
Definition: Trigger/TrigEvent/TrigParticle/TrigParticle/TrigPhoton.h:119
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
IAthenaBarCode::UNDEFINEDVERSION
static const AthenaBarCode_t UNDEFINEDVERSION
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:53
CaloCell_ID_FCS::EMB3
@ EMB3
Definition: FastCaloSim_CaloCell_ID.h:22
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
I4Momentum::P4EETAPHIM
@ P4EETAPHIM
Definition: I4Momentum.h:33
P4PtEtaPhiMBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4PtEtaPhiMBase.cxx:75
constants.EME2
int EME2
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:56
P4PtEtaPhiM::m_pt
double m_pt
Definition: P4PtEtaPhiM.h:76
TrigEMCluster::et
float et() const
get Et (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:106
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33