142 tpit =
fTrkPtMap.insert(TrkPtMap::value_type(trkpt, trackpoint)).first;
172 tpit =
fTrkPtMap.insert(TrkPtMap::value_type(trkpt, trackpoint)).first;
181 int trkid,
int gen,
double impwt,
182 float x,
float y,
float z,
183 float px,
float py,
float pz)
199 tpit =
fTrkPtMap.insert(TrkPtMap::value_type(trkpt, trackpoint)).first;
204 trackpoint.
trkid = trkid;
205 trackpoint.
gen = gen;
206 trackpoint.
impwt = impwt;
231 int trkid,
int gen,
double impwt,
232 float x,
float y,
float z,
233 float px,
float py,
float pz)
240 tpit =
fTrkPtMap.insert(TrkPtMap::value_type(trkpt, trackpoint)).first;
245 trackpoint.
trkid = trkid;
246 trackpoint.
gen = gen;
247 trackpoint.
impwt = impwt;
293 std::cout <<
"LBNEDataNtp_t::TrkPtDataAt() - PROBLEM: Key " 294 << key <<
" doesn't exist in the TrackPoint Map." 295 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 296 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
317 std::cout <<
"LBNEDataNtp_t::GetTrkPtParticleTypeAt() - PROBLEM: Key " 318 << key <<
" doesn't exist in the TrackPoint Map." 319 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 320 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
340 std::cout <<
"LBNEDataNtp_t::GetTrkPtTrackIDAt() - PROBLEM: Key " 341 << key <<
" doesn't exist in the TrackPoint Map." 342 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 343 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
362 std::cout <<
"LBNEDataNtp_t::GetTrkPtGenerationAt() - PROBLEM: Key " 363 << key <<
" doesn't exist in the TrackPoint Map." 364 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 365 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
384 std::cout <<
"LBNEDataNtp_t::GetTrkPtImpWeightAt() - PROBLEM: Key " 385 << key <<
" doesn't exist in the TrackPoint Map." 386 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 387 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
407 std::cout <<
"LBNEDataNtp_t::GetTrkPtPositionAt() - PROBLEM: Key " 408 << key <<
" doesn't exist in the TrackPoint Map." 409 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 410 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
430 std::cout <<
"LBNEDataNtp_t::GetTrkPtMomentumAt() - PROBLEM: Key " 431 << key <<
" doesn't exist in the TrackPoint Map." 432 <<
" MUST call LBNEDataNtp_t::TrkPtKeyExists() before " 433 <<
"calling this function. GOING TO CRASH NOW." <<
std::endl;
526 case kTarget :
return "Target";
break;
539 case kUnknown :
return "Unknown";
break;
540 default :
return "Unknown";
break;
549 case kTarget :
return "Target";
break;
562 case kUnknown :
return "Unknown";
break;
563 default :
return "Unknown";
break;
573 case kTarget :
return 1;
break;
587 default :
return -99;
break;
596 std::cout <<
"LBNEDataNtp_t.cxx: TrkPoint::Overlap - TrkPoint is kUnknown." <<
std::endl;
Int_t GetParticleType() const
Int_t GetGeneration() const
std::string AsString(TrkPoint_t trkpt)
TrkPtMap::const_iterator TrkPtMapIter
bool Overlap(const TrkPoint_t lhs, const TrkPoint_t rhs)
const TrackPoint_t & GetTrkPtAt(int key) const
int AsInt(TrkPoint_t trkpt)
int GetTrkPtTrackIDAt(int key) const
enum TrkPoint::ETrkPoint TrkPoint_t
Float_t GetMomentum(int i) const
Float_t GetPosition(int i) const
int GetTrkPtParticleTypeAt(int key) const
TrkPoint_t StringToEnum(const std::string &trkpt)
float GetTrkPtPositionAt(int key, const std::string &pos) const
TrkPoint_t IntToEnum(int trkpt)
int StringToInt(const std::string &trkpt)
int GetTrkPtGenerationAt(int key) const
Double_t GetImpWeight() const
void AddTrkPoint(TrkPoint::TrkPoint_t trkpt, TrackPoint_t &tp)
double GetTrkPtImpWeightAt(int key) const
std::string AsLabel(TrkPoint_t trkpt)
bool TrkPtKeyExists(int key) const
second_as<> second
Type of time stored in seconds, in double precision.
float GetTrkPtMomentumAt(int key, const std::string &mpos) const
ClassImp(LBNEDataNtp_t) LBNEDataNtp_t
QTextStream & endl(QTextStream &s)
std::string IntToString(int trkpt)