#include <CosmicTag.h>
Definition at line 36 of file CosmicTag.h.
anab::CosmicTag::CosmicTag |
( |
| ) |
|
Definition at line 16 of file CosmicTag.cxx.
std::vector< float > endPt1
std::vector< float > endPt2
CosmicTagID_t fCosmicType
anab::CosmicTag::CosmicTag |
( |
std::vector< float > |
ePt1, |
|
|
std::vector< float > |
ePt2, |
|
|
float |
cScore, |
|
|
CosmicTagID_t |
cTypes |
|
) |
| |
Definition at line 35 of file CosmicTag.cxx.
std::vector< float > endPt1
std::vector< float > endPt2
CosmicTagID_t fCosmicType
anab::CosmicTag::CosmicTag |
( |
float |
cScore | ) |
|
Definition at line 25 of file CosmicTag.cxx.
std::vector< float > endPt1
std::vector< float > endPt2
CosmicTagID_t fCosmicType
float& anab::CosmicTag::CosmicScore |
( |
| ) |
|
|
inline |
const float & anab::CosmicTag::CosmicScore |
( |
| ) |
const |
|
inline |
Definition at line 62 of file CosmicTag.h.
CosmicTagID_t fCosmicType
Definition at line 81 of file CosmicTag.h.
CosmicTagID_t fCosmicType
const std::vector< float > & anab::CosmicTag::EndPoint1 |
( |
| ) |
const |
|
inline |
Definition at line 78 of file CosmicTag.h.
std::vector< float > endPt1
const std::vector< float > & anab::CosmicTag::EndPoint2 |
( |
| ) |
const |
|
inline |
Definition at line 79 of file CosmicTag.h.
std::vector< float > endPt2
float anab::CosmicTag::getXInteraction |
( |
float |
oldX, |
|
|
float |
xDrift, |
|
|
int |
tSample, |
|
|
float |
realTime, |
|
|
int |
tick |
|
) |
| const |
Definition at line 70 of file CosmicTag.cxx.
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);
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
CosmicTag const & |
a |
|
) |
| |
|
friend |
Definition at line 52 of file CosmicTag.cxx.
55 <<
"\n Cosmic Score : " <<
a.fCosmicScore
56 <<
"\n Cosmic Type : " <<
a.fCosmicType
57 <<
"\n End Point 1: " <<std::endl;
58 for(
size_t i=0;i<
a.endPt1.size(); i++)
59 o <<
a.endPt1[i] <<
", ";
61 o <<
"\n End Point 2: " <<std::endl;
62 for(
size_t i=0;i<
a.endPt2.size(); i++)
63 o <<
a.endPt2[i] <<
", ";
std::vector<float> anab::CosmicTag::endPt1 |
|
private |
std::vector<float> anab::CosmicTag::endPt2 |
|
private |
float anab::CosmicTag::fCosmicScore |
|
private |
The documentation for this class was generated from the following files: