ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
LArCell Class Referencefinalabstract

Data object for LAr calorimeter readout cell. More...

#include <LArCell.h>

Inheritance diagram for LArCell:
Collaboration diagram for LArCell:

Public Types

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

Public Member Functions

 LArCell ()
 default constructor (should not be used, only there for persistency reason) More...
 
 LArCell (const CaloDetDescrElement *caloDDE, double energy, double time, double quality, CaloGain::CaloGain gain)
 Legacy constructor. More...
 
 LArCell (const CaloDetDescrElement *caloDDE, double energy, double time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
 Main constructor. More...
 
 LArCell (const CaloDetDescrElement *caloDDE, const Identifier &id, double energy, double time, double quality, CaloGain::CaloGain gain)
 Legacy constructor with ID. More...
 
 LArCell (const CaloDetDescrElement *caloDDE, const Identifier &id, double energy, double time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
 constructor with ID More...
 
virtual ~LArCell ()
 default destructor More...
 
void assign (const CaloDetDescrElement *caloDDE, const Identifier &id, double energy, double time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
 For initializing a cell we get from a DataPool. More...
 
double deltaR (const LArCell *other) const
 get deltaR (using 4mom helper) with respect to another cell More...
 
void print (void) const
 print all relevant info about this cell More...
 
virtual std::unique_ptr< CaloCellclone () const override final
 clone this cell into another one More...
 
void add_energy (double energy)
 Add energy to this cell. More...
 
void setEnergyFast (float e)
 set Energy to this cell with inline method. More...
 
void setQualityFast (float q)
 set Quality to this cell with inline method. More...
 
void setTimeFast (float t)
 set Time to this cell with inline method. More...
 
virtual bool badcell () const override final
 Check from provenance bit is cell is dead. More...
 
void assign (const CaloDetDescrElement *caloDDE, const Identifier &ID, float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
 For initializing a cell we get from a DataPool. More...
 
double energy () const
 get energy (data member) More...
 
virtual double phi () const override final
 get phi (through CaloDetDescrElement) More...
 
virtual double eta () const override final
 get eta (through CaloDetDescrElement) More...
 
virtual double sinTh () const override final
 get sin(theta) (through CaloDetDescrElement) More...
 
virtual double cosTh () const override final
 get cos(theta) (derived from sinTh) More...
 
virtual double sinPhi () const override final
 get sin(phi)
More...
 
virtual double cosPhi () const override final
 get cos(phi)
More...
 
virtual double cotTh () const override final
 get cottan(theta)
More...
 
virtual double m () const override final
 get mass (hardcoded to be null) More...
 
virtual double e () const override final
 get energy (data member) (synonym to method energy() More...
 
virtual double et () const override final
 get et
More...
 
float x () const
 get x (through CaloDetDescrElement) More...
 
float y () const
 get y (through CaloDetDescrElement) More...
 
float z () const
 get z (through CaloDetDescrElement) More...
 
Identifier ID () const
 get ID (from cached data member) non-virtual and inline for fast access More...
 
float time () const
 get time (data member) More...
 
uint16_t quality () const
 get quality (data member) More...
 
uint16_t provenance () const
 get provenance (data member) More...
 
CaloGain::CaloGain gain () const
 get gain (data member ) More...
 
const CaloDetDescrElementcaloDDE () const
 get pointer to CaloDetDescrElement (data member) More...
 
virtual void setCaloDDE (const CaloDetDescrElement *caloDDE)
 set pointer to CaloDetDescrElement More...
 
virtual void setEnergy (float energy)
 set energy More...
 
virtual void addEnergy (float energy)
 add energy More...
 
virtual void scaleEnergy (float scale)
 scale energy More...
 
virtual void setTime (float time)
 set time More...
 
virtual void setQuality (uint16_t quality)
 set quality More...
 
virtual void setQuality (double quality)
 set Quality (obsolete) More...
 
void setProvenance (uint16_t prov)
 set Provenance More...
 
void setGain (CaloGain::CaloGain gain=CaloGain::INVALIDGAIN)
 set gain More...
 
virtual void set4Mom (const I4Momentum *const theI4Mom) override final
 set 4Momentum (will throw exception since cannot be implemented) More...
 
virtual void set4Mom (const I4Momentum &theI4Mom) override final
 set 4Momentum (will throw exception since cannot be implemented) More...
 
virtual void set4Mom (const CLHEP::HepLorentzVector &theHlv) override final
 set 4Momentum (will throw exception since cannot be implemented) More...
 
void set (const CaloDetDescrElement *caloDDE, const Identifier &ID)
 Fast method to change the identity of a cell. More...
 
void set (float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
 Fast method to change the data of a cell. More...
 
void set (float energy, float time, double quality, CaloGain::CaloGain gain)
 Fast method to change the data of a cell. 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 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 pt () const
 transverse momentum More...
 
virtual double iPt () const
 inverse of transverse momentum More...
 
virtual double rapidity () const
 rapidity 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...
 
virtual const I4MomentumErrorerrors () const
 Access to errors, if available; returns 0 if no errors. More...
 
I4Momentum::Kind kind () const
 tells what kind of P4XYZT this is More...
 
virtual std::ostream & dump (std::ostream &out=std::cout) const
 Print I4Momentum content. More...
 
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)
 
virtual void fillToken (INavigationToken &thisToken) const =0
 
virtual void fillToken (INavigationToken &thisToken, const std::any &weight) const =0
 
virtual void fillToken (INavigationToken &) const
 
virtual void fillToken (INavigationToken &, const std::any &) const
 

Static Public Attributes

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

Protected Attributes

float m_energy
 energy (in MeV) More...
 
float m_time
 time More...
 
union {
   int   m_quality = 0
 
   uint16_t   m_qualProv [2]
 
   uint8_t   m_tileQual [4]
 
}; 
 quality More...
 
Identifier m_ID
 offline identifier More...
 
CaloGain::CaloGain m_gain
 gain More...
 
const CaloDetDescrElementm_caloDDE
 pointer to static CaloDetDescrElement to access information that does not change from event to event More...
 

Detailed Description

Data object for LAr calorimeter readout cell.

LArCell does not add any information to its parent CaloCell. It is kept mainly for historical reasons, but also if it turns out to be necessary to add data members pertaining only to LArCell and not to TileCell.

Author
Hong Ma
Srini Rajagopalan

Definition at line 51 of file LArCell.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

◆ LArCell() [1/5]

LArCell::LArCell ( )
inline

default constructor (should not be used, only there for persistency reason)

Definition at line 148 of file LArCell.h.

148  : CaloCell()
149 {}

◆ LArCell() [2/5]

LArCell::LArCell ( const CaloDetDescrElement caloDDE,
double  energy,
double  time,
double  quality,
CaloGain::CaloGain  gain 
)
inline

Legacy constructor.

Definition at line 151 of file LArCell.h.

156  :
157  CaloCell(caloDDE,energy,time,quality,gain)
158 {}

◆ LArCell() [3/5]

LArCell::LArCell ( const CaloDetDescrElement caloDDE,
double  energy,
double  time,
uint16_t  quality,
uint16_t  provenance,
CaloGain::CaloGain  gain 
)
inline

Main constructor.

Definition at line 170 of file LArCell.h.

176  :
178 {}

◆ LArCell() [4/5]

LArCell::LArCell ( const CaloDetDescrElement caloDDE,
const Identifier id,
double  energy,
double  time,
double  quality,
CaloGain::CaloGain  gain 
)
inline

Legacy constructor with ID.

Definition at line 160 of file LArCell.h.

166  :
168 {}

◆ LArCell() [5/5]

LArCell::LArCell ( const CaloDetDescrElement caloDDE,
const Identifier id,
double  energy,
double  time,
uint16_t  quality,
uint16_t  provenance,
CaloGain::CaloGain  gain 
)
inline

constructor with ID

Definition at line 180 of file LArCell.h.

187  :
189 {}

◆ ~LArCell()

LArCell::~LArCell ( )
virtual

default destructor

Definition at line 13 of file LArCell.cxx.

14 { }

Member Function Documentation

◆ add_energy()

void LArCell::add_energy ( double  energy)
inline

Add energy to this cell.

This is typically used in case of duplicate cells where only one LArCell Object is created and all duplicate cells are summed.

Definition at line 205 of file LArCell.h.

206 {
207 m_energy += energy;
208 }

◆ addEnergy()

void CaloCell::addEnergy ( float  energy)
virtualinherited

add energy

Reimplemented in TileCell.

Definition at line 141 of file CaloCell.cxx.

142 {
143  m_energy += energy ;
144 }

◆ assign() [1/2]

void LArCell::assign ( const CaloDetDescrElement caloDDE,
const Identifier id,
double  energy,
double  time,
uint16_t  quality,
uint16_t  provenance,
CaloGain::CaloGain  gain 
)
inline

For initializing a cell we get from a DataPool.

Definition at line 193 of file LArCell.h.

◆ assign() [2/2]

void CaloCell::assign ( const CaloDetDescrElement caloDDE,
const Identifier ID,
float  energy,
float  time,
uint16_t  quality,
uint16_t  provenance,
CaloGain::CaloGain  gain 
)
inlineinherited

For initializing a cell we get from a DataPool.

Definition at line 259 of file CaloCell.h.

266 {
267  m_energy = energy;
268  m_time = time;
269  m_ID = ID;
270  m_gain = gain;
271  m_caloDDE = caloDDE;
272  m_qualProv[0]=quality;
274 }

◆ badcell()

bool LArCell::badcell ( ) const
finaloverridevirtual

Check from provenance bit is cell is dead.

Reimplemented from CaloCell.

Definition at line 45 of file LArCell.cxx.

46 {
47  return LArProv::test(this->provenance(),LArProv::MASKED);
48 }

◆ caloDDE()

const CaloDetDescrElement * CaloCell::caloDDE ( ) const
inlineinherited

get pointer to CaloDetDescrElement (data member)

Definition at line 305 of file CaloCell.h.

305  {
306  return m_caloDDE;
307 }

◆ clone()

std::unique_ptr< CaloCell > LArCell::clone ( ) const
finaloverridevirtual

clone this cell into another one

Reimplemented from CaloCell.

Definition at line 33 of file LArCell.cxx.

34 {
35  return std::make_unique<LArCell>(this->caloDDE(),
36  this->ID(),
37  this->energy(),
38  this->time(),
39  this->quality(),
40  this->provenance(),
41  this->gain());
42 }

◆ cosPhi()

double CaloCell::cosPhi ( ) const
inlinefinaloverridevirtualinherited

get cos(phi)

Reimplemented from P4EEtaPhiMBase.

Definition at line 401 of file CaloCell.h.

402 {
403  return m_caloDDE->cosPhi();
404 }

◆ cosTh()

double CaloCell::cosTh ( ) const
inlinefinaloverridevirtualinherited

get cos(theta) (derived from sinTh)

Reimplemented from P4EEtaPhiMBase.

Definition at line 380 of file CaloCell.h.

381 {
382  return m_caloDDE->cosTh();
383 }

◆ cotTh()

double CaloCell::cotTh ( ) const
inlinefinaloverridevirtualinherited

get cottan(theta)

Reimplemented from P4EEtaPhiMBase.

Definition at line 387 of file CaloCell.h.

388 {
389  return m_caloDDE->cotTh();
390 }

◆ deltaR()

double LArCell::deltaR ( const LArCell other) const

get deltaR (using 4mom helper) with respect to another cell

Definition at line 17 of file LArCell.cxx.

18 {
19 
20  return P4Helpers::deltaR(this,other);
21 
22 }

◆ dump()

std::ostream & P4EEtaPhiMBase::dump ( std::ostream &  out = std::cout) const
virtualinherited

Print I4Momentum content.

Implements I4Momentum.

Definition at line 159 of file P4EEtaPhiMBase.cxx.

160 {
161 
162  std::stringstream outx;
163  outx << "[e,eta,phi,m] ="
164  << std::right << std::scientific << std::setprecision(8)
165  << std::setw(16) << this->e()
166  << std::setw(16) << this->eta()
167  << std::setw(16) << this->phi()
168  << std::setw(16) << this->m();
169 
170  out<<outx.str();
171 
172  return out;
173 }

◆ e()

double CaloCell::e ( ) const
inlinefinaloverridevirtualinherited

get energy (data member) (synonym to method energy()

Implements I4Momentum.

Definition at line 317 of file CaloCell.h.

318 {
319  return m_energy;
320 }

◆ energy()

double CaloCell::energy ( ) const
inlineinherited

get energy (data member)

Definition at line 311 of file CaloCell.h.

312 {
313  return m_energy;
314 }

◆ errors()

const I4MomentumError * P4EEtaPhiMBase::errors ( ) const
virtualinherited

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

Implements I4Momentum.

Reimplemented in P4EEtaPhiM.

Definition at line 175 of file P4EEtaPhiMBase.cxx.

176 {
177  return 0;
178 }

◆ et()

double CaloCell::et ( ) const
inlinefinaloverridevirtualinherited

get et

Reimplemented from P4EEtaPhiMBase.

Definition at line 407 of file CaloCell.h.

408 {
409  return this->e() * this->sinTh();
410 }

◆ eta()

double CaloCell::eta ( ) const
inlinefinaloverridevirtualinherited

get eta (through CaloDetDescrElement)

Implements I4Momentum.

Definition at line 366 of file CaloCell.h.

367 {
368  return m_caloDDE->eta();
369 }

◆ fillToken() [1/4]

virtual void NavigableTerminalNode::fillToken ( INavigationToken ) const
inlinevirtualinherited

Implements INavigable.

Definition at line 31 of file NavigableTerminalNode.h.

31 { };

◆ fillToken() [2/4]

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

Implements INavigable.

Definition at line 32 of file NavigableTerminalNode.h.

32 { };

◆ fillToken() [3/4]

virtual void INavigable::fillToken ( INavigationToken thisToken) const
pure virtualinherited

Implemented in egamma, eflowObject, Analysis::TauJet, 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 >, Analysis::Muon, 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 >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, Jet, Navigable< CONT, RPAR, COLL >, Navigable< INavigable4MomentumCollection, MissingETHandlers::Weight >, Navigable< MuonContainer, double >, Navigable< INavigable4MomentumCollection, double >, Navigable< DataVector< INavigable4Momentum > >, Navigable< EMShowerMinimalContainer, double >, Navigable< CaloClusterContainer, double >, Navigable< PhotonContainer, double >, Navigable< ExampleHitContainer, double >, Navigable< ExampleHitContainer >, Navigable< Analysis::MuonContainer, double >, Navigable< DataVector< INavigable4Momentum >, double >, Navigable< CaloCellLinkContainer, double >, Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, Navigable< Rec::TrackParticleContainer, double >, Navigable< CaloCellContainer, double >, Navigable< egammaContainer, double >, Navigable< ElectronContainer, double >, Navigable< TruthParticleContainer, double >, Navigable< JetCollection, double >, CaloClusterNavigable, Analysis::ParticleShallowClone, Analysis::ISvxConstituent, Analysis::ISvxAssociation, Analysis::MuonAssociation, and NavigableTerminalNode.

◆ fillToken() [4/4]

virtual void INavigable::fillToken ( INavigationToken thisToken,
const std::any &  weight 
) const
pure virtualinherited

Implemented in 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 >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, eflowObject, egamma, Analysis::TauJet, Analysis::Muon, Navigable< CONT, RPAR, COLL >, Navigable< INavigable4MomentumCollection, MissingETHandlers::Weight >, Navigable< MuonContainer, double >, Navigable< INavigable4MomentumCollection, double >, Navigable< DataVector< INavigable4Momentum > >, Navigable< EMShowerMinimalContainer, double >, Navigable< CaloClusterContainer, double >, Navigable< PhotonContainer, double >, Navigable< ExampleHitContainer, double >, Navigable< ExampleHitContainer >, Navigable< Analysis::MuonContainer, double >, Navigable< DataVector< INavigable4Momentum >, double >, Navigable< CaloCellLinkContainer, double >, Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, Navigable< Rec::TrackParticleContainer, double >, Navigable< CaloCellContainer, double >, Navigable< egammaContainer, double >, Navigable< ElectronContainer, double >, Navigable< TruthParticleContainer, double >, Navigable< JetCollection, double >, Jet, CaloClusterNavigable, Analysis::ParticleShallowClone, Analysis::ISvxConstituent, Analysis::ISvxAssociation, Analysis::MuonAssociation, and NavigableTerminalNode.

◆ gain()

CaloGain::CaloGain CaloCell::gain ( ) const
inlineinherited

get gain (data member )

Definition at line 345 of file CaloCell.h.

346 {
347  return m_gain;
348 }

◆ getAthenaBarCode()

virtual AthenaBarCode_t IAthenaBarCode::getAthenaBarCode ( ) const
inlinevirtualinherited

◆ getVersion()

virtual AthenaBarCodeVersion_t IAthenaBarCode::getVersion ( ) const
inlinevirtualinherited

◆ hasSameAthenaBarCode()

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

◆ hasSameAthenaBarCodeExceptVersion()

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

◆ hlv()

CLHEP::HepLorentzVector P4EEtaPhiMBase::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.

Reimplemented in CaloCluster.

Definition at line 134 of file P4EEtaPhiMBase.cxx.

135 {
136  //minimize the number of calculation and dereference
137  const double theCosTh=this->cosTh();
138 
139  // DR from Frank Paige
140  // negative energy point in opposite direction
141  // BUT Eta and Phi still the same
142  // double theP=theE;
143 
144  const double theP=this->p();
145 
146  const double theSinTh=std::sqrt(1.-theCosTh*theCosTh);
147  const double thePt=theP*theSinTh;
148  const double thePx=thePt*this->cosPhi();
149  const double thePy=thePt*this->sinPhi();
150  const double thePz=theP*theCosTh;
151 
152 
153  return CLHEP::HepLorentzVector(thePx,thePy,thePz,this->e());
154 
155 }

◆ ID()

Identifier CaloCell::ID ( ) const
inlineinherited

get ID (from cached data member) non-virtual and inline for fast access

Definition at line 279 of file CaloCell.h.

279  {
280  return m_ID;
281 }

◆ iPt()

double P4EEtaPhiMBase::iPt ( ) const
virtualinherited

inverse of transverse momentum

Implements I4Momentum.

Definition at line 111 of file P4EEtaPhiMBase.cxx.

112  { return 1./this->pt();
113  }

◆ kind()

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

tells what kind of P4XYZT this is

Implements I4Momentum.

Definition at line 65 of file P4EEtaPhiMBase.h.

65 { return I4Momentum::P4EETAPHIM; };

◆ m()

double CaloCell::m ( ) const
inlinefinaloverridevirtualinherited

get mass (hardcoded to be null)

Implements I4Momentum.

Definition at line 324 of file CaloCell.h.

325 {
326  // zero mass by convention
327  return 0.;
328 }

◆ m2()

double P4EEtaPhiMBase::m2 ( ) const
virtualinherited

mass squared

Implements I4Momentum.

Definition at line 14 of file P4EEtaPhiMBase.cxx.

14  {
15  const double theM = this->m();
16  return theM*theM;
17 }

◆ 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  }

◆ p()

double P4EEtaPhiMBase::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 21 of file P4EEtaPhiMBase.cxx.

22 {
23  const double theM=this->m();
24  const double theE=this->e();
25  // if (theM==0.) return theE ;
26  // else return sqrt(theE*theE-theM*theM);
27  //DR from Frank Paige
28  // if negative energy point in the opposite direction
29  // BUT eta and phi still the same !!!
30  if (theM==0.) {
31  return theE;
32  } else {
33  double eSign = (theE >= 0) ? +1 : -1;
34  return eSign*std::sqrt(theE*theE-theM*theM);
35  }
36 
37 }

◆ p2()

double P4EEtaPhiMBase::p2 ( ) const
virtualinherited

square of momentum magnitude

This p2() implementaion is derived from the (somewhat unusual) Frank Paige implementation used to calculate p() above. What we do is look at what would happen if we were to square the answer returned by Frank's algorithm:

(1) The "eSign" would square to +1 and disappear, (2) The sqrt would disappear leaving theE*theE-theM*theM (3) In the event that theM==0, this theE*theE would indeed still equal theE*theE-theM*theM, so we simply return this quantity.

Implements I4Momentum.

Definition at line 39 of file P4EEtaPhiMBase.cxx.

40 {
48  const double theM=this->m();
49  const double theE=this->e();
50 
51  return theE*theE-theM*theM;
52 }

◆ phi()

double CaloCell::phi ( ) const
inlinefinaloverridevirtualinherited

get phi (through CaloDetDescrElement)

Implements I4Momentum.

Definition at line 359 of file CaloCell.h.

360 {
361  return m_caloDDE->phi();
362 }

◆ print()

void LArCell::print ( void  ) const

print all relevant info about this cell

Definition at line 25 of file LArCell.cxx.

26 {
27  std::cout << "ID = " << this->ID().get_compact()<< std::endl;
28  std::cout << "Energy = " << this->e()<< std::endl;
29  std::cout << "Eta = " << this->eta() << std::endl;
30  std::cout << "Phi = " << this->phi() << std::endl;
31 }

◆ provenance()

uint16_t CaloCell::provenance ( ) const
inlineinherited

get provenance (data member)

Definition at line 338 of file CaloCell.h.

339 {
340  // cppcheck-suppress objectIndex
341  return m_qualProv[1];
342 }

◆ pt()

double P4EEtaPhiMBase::pt ( ) const
virtualinherited

transverse momentum

Implements I4Momentum.

Definition at line 101 of file P4EEtaPhiMBase.cxx.

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

◆ px()

double P4EEtaPhiMBase::px ( ) const
virtualinherited

x component of momentum

Implements I4Momentum.

Definition at line 122 of file P4EEtaPhiMBase.cxx.

123  { return this->pt()*this->cosPhi();
124  }

◆ py()

double P4EEtaPhiMBase::py ( ) const
virtualinherited

y component of momentum

Implements I4Momentum.

Definition at line 126 of file P4EEtaPhiMBase.cxx.

127  { return this->pt()*this->sinPhi();
128  }

◆ pz()

double P4EEtaPhiMBase::pz ( ) const
virtualinherited

z component of momentum

Implements I4Momentum.

Definition at line 130 of file P4EEtaPhiMBase.cxx.

131  { return this->p()*this->cosTh();
132  }

◆ quality()

uint16_t CaloCell::quality ( ) const
inlineinherited

get quality (data member)

Definition at line 332 of file CaloCell.h.

333 {
334  return m_qualProv[0];
335 }

◆ rapidity()

double P4EEtaPhiMBase::rapidity ( ) const
virtualinherited

rapidity

Implements I4Momentum.

Definition at line 115 of file P4EEtaPhiMBase.cxx.

116  {
117  const double theE=this->e();
118  const double thePz=this->pz();
119  return 0.5*std::log((theE+thePz)/(theE-thePz));
120  }

◆ scaleEnergy()

void CaloCell::scaleEnergy ( float  scale)
virtualinherited

scale energy

Reimplemented in TileCell.

Definition at line 146 of file CaloCell.cxx.

147 {
148  m_energy *= scale ;
149 }

◆ set() [1/3]

void CaloCell::set ( const CaloDetDescrElement caloDDE,
const Identifier ID 
)
inherited

Fast method to change the identity of a cell.

Definition at line 90 of file CaloCell.cxx.

92 {
93  m_ID = ID;
95 }

◆ set() [2/3]

void CaloCell::set ( float  energy,
float  time,
double  quality,
CaloGain::CaloGain  gain 
)
inherited

Fast method to change the data of a cell.

OBSOLETE

Definition at line 114 of file CaloCell.cxx.

118 {
119  m_energy = energy;
120  m_time = time;
121  m_quality = (int)(quality);
122  m_gain = gain;
123 }

◆ set() [3/3]

void CaloCell::set ( float  energy,
float  time,
uint16_t  quality,
uint16_t  provenance,
CaloGain::CaloGain  gain 
)
inherited

Fast method to change the data of a cell.

Definition at line 99 of file CaloCell.cxx.

104 {
105  m_energy = energy;
106  m_time = time;
107  m_gain = gain;
108  m_qualProv[0]=quality;
109  // cppcheck-suppress objectIndex
111 }

◆ set4Mom() [1/3]

void CaloCell::set4Mom ( const CLHEP::HepLorentzVector &  theHlv)
finaloverridevirtualinherited

set 4Momentum (will throw exception since cannot be implemented)

Reimplemented from P4EEtaPhiMBase.

Definition at line 193 of file CaloCell.cxx.

194 {
195  std::cout << " FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
196  std::abort();
197 }

◆ set4Mom() [2/3]

void CaloCell::set4Mom ( const I4Momentum theI4Mom)
finaloverridevirtualinherited

set 4Momentum (will throw exception since cannot be implemented)

Reimplemented from P4EEtaPhiMBase.

Definition at line 187 of file CaloCell.cxx.

188 {
189  std::cout << " FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
190  std::abort();
191 }

◆ set4Mom() [3/3]

void CaloCell::set4Mom ( const I4Momentum *const  theI4Mom)
finaloverridevirtualinherited

set 4Momentum (will throw exception since cannot be implemented)

Reimplemented from P4EEtaPhiMBase.

Definition at line 179 of file CaloCell.cxx.

180 {
181  std::cout << " FATAL ERROR : CaloCell::set4Mom called. Cannot change 4mom " << std::endl ;
182  std::abort();
183 
184 }

◆ 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  }

◆ setCaloDDE()

void CaloCell::setCaloDDE ( const CaloDetDescrElement caloDDE)
virtualinherited

set pointer to CaloDetDescrElement

Definition at line 127 of file CaloCell.cxx.

128 {
129  m_caloDDE = caloDDE;
130  if(m_caloDDE) {
131  m_ID = m_caloDDE->identify();
132  }
133 }

◆ setEnergy()

void CaloCell::setEnergy ( float  energy)
virtualinherited

set energy

Reimplemented in TileCell.

Definition at line 136 of file CaloCell.cxx.

137 {
138  m_energy = energy ;
139 }

◆ setEnergyFast()

void LArCell::setEnergyFast ( float  e)
inline

set Energy to this cell with inline method.

This is requested by HLT to build LArCell fast.

Definition at line 211 of file LArCell.h.

212 {
213  m_energy = e ;
214 }

◆ setGain()

void CaloCell::setGain ( CaloGain::CaloGain  gain = CaloGain::INVALIDGAIN)
inherited

set gain

Definition at line 173 of file CaloCell.cxx.

174 {
175  m_gain = gain;
176 }

◆ setProvenance()

void CaloCell::setProvenance ( uint16_t  prov)
inherited

set Provenance

Definition at line 167 of file CaloCell.cxx.

168 {
169  // cppcheck-suppress objectIndex
170  m_qualProv[1] = prov;
171 }

◆ setQuality() [1/2]

void CaloCell::setQuality ( double  quality)
virtualinherited

set Quality (obsolete)

Reimplemented in TileCell.

Definition at line 161 of file CaloCell.cxx.

162 {
163  m_quality = (int)(quality);
164 }

◆ setQuality() [2/2]

void CaloCell::setQuality ( uint16_t  quality)
virtualinherited

set quality

Reimplemented in TileCell.

Definition at line 156 of file CaloCell.cxx.

157 {
158  m_qualProv[0] = quality;
159 }

◆ setQualityFast()

void LArCell::setQualityFast ( float  q)
inline

set Quality to this cell with inline method.

This is requested by HLT to build LArCell fast.

Definition at line 217 of file LArCell.h.

218 {
219  m_quality = (int)(q) ;
220 }

◆ setTime()

void CaloCell::setTime ( float  time)
virtualinherited

set time

Reimplemented in TileCell.

Definition at line 151 of file CaloCell.cxx.

152 {
153  m_time = time;
154 }

◆ setTimeFast()

void LArCell::setTimeFast ( float  t)
inline

set Time to this cell with inline method.

This is requested by HLT to build LArCell fast.

Definition at line 223 of file LArCell.h.

224 {
225  m_time = t ;
226 }

◆ 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 CaloCell::sinPhi ( ) const
inlinefinaloverridevirtualinherited

get sin(phi)

Reimplemented from P4EEtaPhiMBase.

Definition at line 394 of file CaloCell.h.

395 {
396  return m_caloDDE->sinPhi();
397 }

◆ sinTh()

double CaloCell::sinTh ( ) const
inlinefinaloverridevirtualinherited

get sin(theta) (through CaloDetDescrElement)

Reimplemented from P4EEtaPhiMBase.

Definition at line 373 of file CaloCell.h.

374 {
375  return m_caloDDE->sinTh();
376 }

◆ tanTh()

double P4EEtaPhiMBase::tanTh ( ) const
virtualinherited

tan theta

Implements I4Momentum.

Definition at line 64 of file P4EEtaPhiMBase.cxx.

65 {
66  // avoid numeric overflow if very large eta
67 
68  double theEta=this->eta();
69  if ( std::abs(theEta)>710) {
70  theEta=theEta>0 ? 710 : -710;
71  return 1./std::sinh(theEta);
72  }
73 
74  return 1./this->cotTh();
75 }

◆ time()

float CaloCell::time ( ) const
inlineinherited

get time (data member)

Definition at line 352 of file CaloCell.h.

353 {
354  return m_time;
355 }

◆ x()

float CaloCell::x ( ) const
inlineinherited

get x (through CaloDetDescrElement)

Definition at line 413 of file CaloCell.h.

414 {
415  return m_caloDDE->x();
416 }

◆ y()

float CaloCell::y ( ) const
inlineinherited

get y (through CaloDetDescrElement)

Definition at line 420 of file CaloCell.h.

421 {
422  return m_caloDDE->y();
423 }

◆ z()

float CaloCell::z ( ) const
inlineinherited

get z (through CaloDetDescrElement)

Definition at line 427 of file CaloCell.h.

428 {
429  return m_caloDDE->z();
430 }

Member Data Documentation

◆ @4

union { ... }

quality

◆ m_caloDDE

const CaloDetDescrElement* CaloCell::m_caloDDE
protectedinherited

pointer to static CaloDetDescrElement to access information that does not change from event to event

Definition at line 240 of file CaloCell.h.

◆ m_energy

float CaloCell::m_energy
protectedinherited

energy (in MeV)

Definition at line 214 of file CaloCell.h.

◆ m_gain

CaloGain::CaloGain CaloCell::m_gain
protectedinherited

gain

Definition at line 237 of file CaloCell.h.

◆ m_ID

Identifier CaloCell::m_ID
protectedinherited

offline identifier

Definition at line 235 of file CaloCell.h.

◆ m_quality

int CaloCell::m_quality = 0
inherited

Definition at line 229 of file CaloCell.h.

◆ m_qualProv

uint16_t CaloCell::m_qualProv[2]
inherited

Definition at line 230 of file CaloCell.h.

◆ m_tileQual

uint8_t CaloCell::m_tileQual[4]
inherited

Definition at line 231 of file CaloCell.h.

◆ m_time

float CaloCell::m_time
protectedinherited

time

Definition at line 216 of file CaloCell.h.

◆ 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:
CaloDetDescrElement::cosPhi
float cosPhi() const
for fast px py pz computation
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:391
P4EEtaPhiMBase::cotTh
virtual double cotTh() const
cottan theta
Definition: P4EEtaPhiMBase.cxx:77
P4EEtaPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4EEtaPhiMBase.cxx:130
P4EEtaPhiMBase::pt
virtual double pt() const
transverse momentum
Definition: P4EEtaPhiMBase.cxx:101
CaloCell::assign
void assign(const CaloDetDescrElement *caloDDE, const Identifier &ID, float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain)
For initializing a cell we get from a DataPool.
Definition: CaloCell.h:259
IAthenaBarCode::UNDEFINEDBARCODE
static const AthenaBarCode_t UNDEFINEDBARCODE
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:52
CaloCell::phi
virtual double phi() const override final
get phi (through CaloDetDescrElement)
Definition: CaloCell.h:359
CaloDetDescrElement::cotTh
float cotTh() const
for fast px py pz computation
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:387
CaloDetDescrElement::y
float y() const
cell y
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:365
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
P4EEtaPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4EEtaPhiMBase.cxx:54
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Identifier::get_compact
value_type get_compact() const
Get the compact id.
CaloCell::e
virtual double e() const override final
get energy (data member) (synonym to method energy()
Definition: CaloCell.h:317
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
CaloCell::provenance
uint16_t provenance() const
get provenance (data member)
Definition: CaloCell.h:338
CaloCell::time
float time() const
get time (data member)
Definition: CaloCell.h:352
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
CaloCell::energy
double energy() const
get energy (data member)
Definition: CaloCell.h:311
CaloCell::m_quality
int m_quality
Definition: CaloCell.h:229
CaloDetDescrElement::identify
Identifier identify() const override final
cell identifier
Definition: CaloDetDescrElement.cxx:64
CaloCell::CaloCell
CaloCell()
default constructor (should not be used, only there for persistency reason)
Definition: CaloCell.h:247
I4Momentum::e
virtual double e() const =0
energy
CaloCell::caloDDE
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
Definition: CaloCell.h:305
P4EEtaPhiMBase::cosTh
virtual double cosTh() const
cosinus theta
Definition: P4EEtaPhiMBase.cxx:82
CaloCell::m_qualProv
uint16_t m_qualProv[2]
Definition: CaloCell.h:230
CaloCell::m_gain
CaloGain::CaloGain m_gain
gain
Definition: CaloCell.h:237
CaloCell::m_energy
float m_energy
energy (in MeV)
Definition: CaloCell.h:214
I4Momentum::eta
virtual double eta() const =0
pseudo rapidity
P4Helpers::deltaR
double deltaR(const I4Momentum &p4, double eta, double phi)
from 1 I4Momentum
Definition: P4Helpers.h:209
I4Momentum::phi
virtual double phi() const =0
phi in [-pi,pi[
CaloCell::quality
uint16_t quality() const
get quality (data member)
Definition: CaloCell.h:332
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
I4Momentum::UNKNOWN
@ UNKNOWN
Definition: I4Momentum.h:33
LArProv::test
bool test(const uint16_t prov, const LArProvenance check)
Definition: LArProvenance.h:38
LArProv::MASKED
@ MASKED
Definition: LArProvenance.h:32
CaloCell::gain
CaloGain::CaloGain gain() const
get gain (data member )
Definition: CaloCell.h:345
CaloCell::ID
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
Definition: CaloCell.h:279
CaloDetDescrElement::x
float x() const
cell x
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:363
P4EEtaPhiMBase::p
virtual double p() const
magnitude of 3-momentum.
Definition: P4EEtaPhiMBase.cxx:21
I4Momentum::m
virtual double m() const =0
mass
P4EEtaPhiMBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4EEtaPhiMBase.cxx:87
P4EEtaPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4EEtaPhiMBase.cxx:59
CaloCell::m_time
float m_time
time
Definition: CaloCell.h:216
CaloDetDescrElement::z
float z() const
cell z
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:367
CaloDetDescrElement::cosTh
float cosTh() const
for fast px py pz computation
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:385
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
extractSporadic.q
list q
Definition: extractSporadic.py:98
CaloDetDescrElement::eta
float eta() const
cell eta
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:344
CaloDetDescrElement::phi
float phi() const
cell phi
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:346
CaloCell::m_caloDDE
const CaloDetDescrElement * m_caloDDE
pointer to static CaloDetDescrElement to access information that does not change from event to event
Definition: CaloCell.h:240
CaloDetDescrElement::sinTh
float sinTh() const
for algorithm working in transverse Energy
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:383
IAthenaBarCode::UNDEFINEDVERSION
static const AthenaBarCode_t UNDEFINEDVERSION
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:53
CaloDetDescrElement::sinPhi
float sinPhi() const
for fast px py pz computation
Definition: Calorimeter/CaloDetDescr/CaloDetDescr/CaloDetDescrElement.h:389
I4Momentum::P4EETAPHIM
@ P4EETAPHIM
Definition: I4Momentum.h:33
CaloCell::m_ID
Identifier m_ID
offline identifier
Definition: CaloCell.h:235
CaloCell::sinTh
virtual double sinTh() const override final
get sin(theta) (through CaloDetDescrElement)
Definition: CaloCell.h:373
CaloCell::eta
virtual double eta() const override final
get eta (through CaloDetDescrElement)
Definition: CaloCell.h:366
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33