34 std::vector<float> ePt2,
55 <<
"\n End Point 1: " <<std::endl;
56 for(
size_t i=0;i<a.
endPt1.size(); i++)
59 o <<
"\n End Point 2: " <<std::endl;
60 for(
size_t i=0;i<a.
endPt2.size(); i++)
69 float realTime,
int tick )
const {
72 if( (tick > 0*tSample) && (tick < 1*tSample) ) t = 0*tSample;
73 if( (tick > 1*tSample) && (tick < 2*tSample) ) t = 1*tSample;
74 if( (tick > 2*tSample) && (tick < 3*tSample) ) t = 2*tSample;
76 float newX = oldX + (xDrift/tSample)*(t - realTime);
friend std::ostream & operator<<(std::ostream &o, CosmicTag const &a)
enum anab::cosmic_tag_id CosmicTagID_t
std::vector< float > endPt1
std::vector< float > endPt2
float getXInteraction(float oldX, float xDrift, int tSample, float realTime, int tick) const
CosmicTagID_t fCosmicType