27 std::vector<float> ePt2,
41 <<
"\n End Point 1: " << std::endl;
42 for (
size_t i = 0; i < a.
endPt1.size(); i++)
45 o <<
"\n End Point 2: " << std::endl;
46 for (
size_t i = 0; i < a.
endPt2.size(); i++)
61 if ((tick > 0 * tSample) && (tick < 1 * tSample)) t = 0 * tSample;
62 if ((tick > 1 * tSample) && (tick < 2 * tSample)) t = 1 * tSample;
63 if ((tick > 2 * tSample) && (tick < 3 * tSample)) t = 2 * tSample;
65 float newX = oldX + (xDrift / tSample) * (t - realTime);
friend std::ostream & operator<<(std::ostream &o, CosmicTag const &a)
enum anab::cosmic_tag_id CosmicTagID_t
for(Int_t i=0;i< nentries;i++)
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