36 hitsAcc( *this ).push_back( link );
41 if(
hitsAcc.isAvailableWritable( *
this ) ) {
42 std::vector<AFPToFTrack_v1::AFPToFHitLink_t>::iterator end =
hitsAcc( *this ).end();
43 for(std::vector<AFPToFTrack_v1::AFPToFHitLink_t>::iterator itr =
hitsAcc( *this ).begin(); itr != end; ++itr )
Header file for the AFPToFTrack class.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
Class representing a track reconstructed in AFP ToF.
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
void addBar(const AFPToFHitLink_t &newHit)
Add a link to a bar used to reconstruct the track.
ElementLink< AFPToFHitContainer > AFPToFHitLink_t
Type of a link to the hit.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< std::vector< AFPToFTrack_v1::AFPToFHitLink_t > > hitsAcc("bars")