41 hitsAcc( *this ).push_back( link );
46 if(
hitsAcc.isAvailableWritable( *
this ) ) {
47 std::vector<AFPHitLink_t>::iterator end =
hitsAcc( *this ).end();
48 for(std::vector<AFPHitLink_t>::iterator itr =
hitsAcc( *this ).begin(); itr != end; ++itr )
Header file with typedef for class AFPSiHitContainer_v1.
Header file for the AFPTrack 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.
static const uint32_t nHits
Class representing a track reconstructed in AFP.
void addHit(const AFPHitLink_t &newHit)
Add a link to a pixel used to reconstruct the track.
void toPersistent()
Function making sure that the object is ready for persistification i.e. saving.
ElementLink< AFPSiHitContainer > AFPHitLink_t
Type of a link to the hit.
double chi2(TH1 *h0, TH1 *h1)
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")