36 std::vector<float> ePt2,
57 <<
"\n End Point 1: " <<std::endl;
58 for(
size_t i=0;i<a.
endPt1.size(); i++)
61 o <<
"\n End Point 2: " <<std::endl;
62 for(
size_t i=0;i<a.
endPt2.size(); i++)
71 float realTime,
int tick )
const {
74 if( (tick > 0*tSample) && (tick < 1*tSample) ) t = 0*tSample;
75 if( (tick > 1*tSample) && (tick < 2*tSample) ) t = 1*tSample;
76 if( (tick > 2*tSample) && (tick < 3*tSample) ) t = 2*tSample;
78 float newX = oldX + (xDrift/tSample)*(t - realTime);
std::ostream & operator<<(std::ostream &o, Calorimetry const &a)
enum anab::cosmic_tag_id CosmicTagID_t
std::vector< float > endPt1
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
std::vector< float > endPt2
float getXInteraction(float oldX, float xDrift, int tSample, float realTime, int tick) const
CosmicTagID_t fCosmicType