|
ATLAS Offline Software
|
Go to the documentation of this file.
14 std::ostream&
operator<< ( std::ostream&
out,
const std::vector< float >&
vec )
19 for(
size_t i = 0;
i <
vec.size(); ++
i ) {
21 if(
i <
vec.size() - 1 ) {
38 constAccRingsE(
"ringsE");
43 return accRingsE( *this ).at(
i);
48 return accRingsE( *
this )[
i];
52 return constAccRingsE( *this ).at(
i);
57 return constAccRingsE( *
this )[
i];
69 return (constAccRingsE.isAvailable( *
this ) )?
70 constAccRingsE( *this ).size() : 0;
75 return accRingsE( *this ).clear();
80 return accRingsE( *this ).push_back(
r);
85 return (accRingsE.isAvailable( *
this ) )?
91 return (accRingsE.isAvailable( *
this ) )?
97 return (constAccRingsE.isAvailable( *
this ) )?
103 return (constAccRingsE.isAvailable( *
this ) )?
109 const std::vector<float> &
ringsE = constAccRingsE( *
this );
116 const std::vector<float> &
ringsE = constAccRingsE( *
this );
122 if (
this != &cl_rings){
RingSet_v1 & operator=(const RingSet_v1 &clrings)
Assignment Operator.
Helper class to provide type-safe access to aux data.
float & at(const unsigned int i)
Get/set ring Et at ith position.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::vector< size_t > vec
Helper class to provide constant type-safe access to aux data.
Class holding a set of rings.
std::vector< float >::iterator iterator
void print(std::ostream &stream) const
void copyTo(std::vector< float > &vec) const
Copy ringset to std::vector end:
const std::vector< float > & ringsE() const
Get rings holden by RingSet.
iterator begin()
ring begin() iterator
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
void makePrivateStore()
Create a new (empty) private store for this object.
AuxElement & operator=(const AuxElement &other)
Assignment.
unsigned size() const
Get rings size.
bool hasStore() const
Return true if this object has an associated store.
std::vector< float >::const_iterator const_iterator
const Iterator to rings Et
iterator end()
ring end() iterator
const SG::AuxVectorData * container() const
Return the container holding this element.
float & operator[](const unsigned int i)
Get/set ring Et at ith position.
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
void addRing(float r)
add ring to RingSet