ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::HIEventShape_v1 Class Reference

#include <HIEventShape_v1.h>

Inheritance diagram for xAOD::HIEventShape_v1:
Collaboration diagram for xAOD::HIEventShape_v1:

Public Member Functions

 HIEventShape_v1 ()
 Default constructor.
float Et () const
void setEt (float)
float area () const
void setArea (float)
float rho () const
void setRho (float)
const std::vector< float > & Et_cos () const
void setEt_cos (const std::vector< float > &value)
const std::vector< float > & Et_sin () const
void setEt_sin (const std::vector< float > &value)
float etaMin () const
void setEtaMin (float)
float etaMax () const
void setEtaMax (float)
int layer () const
void setLayer (int)
int nCells () const
void setNcells (int)
void toPersistent ()
std::vector< float > & Et_cos ()
std::vector< float > & Et_sin ()

Detailed Description

Definition at line 22 of file HIEventShape_v1.h.

Constructor & Destructor Documentation

◆ HIEventShape_v1()

xAOD::HIEventShape_v1::HIEventShape_v1 ( )

Default constructor.

Definition at line 14 of file HIEventShape_v1.cxx.

15 : SG::AuxElement() {
16
17 }
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.

Member Function Documentation

◆ area()

float xAOD::HIEventShape_v1::area ( ) const

◆ Et()

float xAOD::HIEventShape_v1::Et ( ) const

◆ Et_cos() [1/2]

std::vector< float > & xAOD::HIEventShape_v1::Et_cos ( )
inline

Definition at line 59 of file HIEventShape_v1.h.

60 {
61 static Accessor< std::vector<float> > acc("Et_cos");
62 return acc(*this);
63 }
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.

◆ Et_cos() [2/2]

const std::vector< float > & xAOD::HIEventShape_v1::Et_cos ( ) const

◆ Et_sin() [1/2]

std::vector< float > & xAOD::HIEventShape_v1::Et_sin ( )
inline

Definition at line 64 of file HIEventShape_v1.h.

65 {
66 static Accessor< std::vector<float> > acc("Et_sin");
67 return (std::vector<float>&) acc(*this);
68 }

◆ Et_sin() [2/2]

const std::vector< float > & xAOD::HIEventShape_v1::Et_sin ( ) const

◆ etaMax()

float xAOD::HIEventShape_v1::etaMax ( ) const

◆ etaMin()

float xAOD::HIEventShape_v1::etaMin ( ) const

◆ layer()

int xAOD::HIEventShape_v1::layer ( ) const

◆ nCells()

int xAOD::HIEventShape_v1::nCells ( ) const

◆ rho()

float xAOD::HIEventShape_v1::rho ( ) const

◆ setArea()

void xAOD::HIEventShape_v1::setArea ( float )

◆ setEt()

void xAOD::HIEventShape_v1::setEt ( float )

◆ setEt_cos()

void xAOD::HIEventShape_v1::setEt_cos ( const std::vector< float > & value)

◆ setEt_sin()

void xAOD::HIEventShape_v1::setEt_sin ( const std::vector< float > & value)

◆ setEtaMax()

void xAOD::HIEventShape_v1::setEtaMax ( float )

◆ setEtaMin()

void xAOD::HIEventShape_v1::setEtaMin ( float )

◆ setLayer()

void xAOD::HIEventShape_v1::setLayer ( int )

◆ setNcells()

void xAOD::HIEventShape_v1::setNcells ( int )

◆ setRho()

void xAOD::HIEventShape_v1::setRho ( float )

◆ toPersistent()

void xAOD::HIEventShape_v1::toPersistent ( )

Definition at line 32 of file HIEventShape_v1.cxx.

32 {
33
34 // Check if the ElementLink variable is available, and writable:
35 if( linkAcc.isAvailableWritable( *this ) ) {
36 // Prepare the ElementLink objects for ROOT I/O:
37 std::vector< ElementLink< HIEventShapeContainer_v1 > >::iterator
38 el_itr = linkAcc( *this ).begin();
39 std::vector< ElementLink< HIEventShapeContainer_v1 > >::iterator
40 el_end = linkAcc( *this ).end();
41 for( ; el_itr != el_end; ++el_itr ) {
42 el_itr->toPersistent();
43 }
44 }
45
46 return;
47 }
static const SG::AuxElement::Accessor< std::vector< ElementLink< EventInfoContainer_v1 > > > linkAcc("subEventLink")
JetConstituentVector::iterator iterator

The documentation for this class was generated from the following files: