23 fEvent(event), fNodes(), fEnergyLosses(0)
30 std::pair<std::set<tvx::Hit>::iterator,
bool> dummy;
33 return fEvent ? fEvent->AddHit(stiHit) : dummy;
39 Info(
"Print",
"fEnergyLosses: %f\n", fEnergyLosses);
45 Info(
"Print",
"node index: %d\n", nodeIdx);
std::pair< typename std::set< Hit >::iterator, bool > AddHitResult_t
Track()
Constructs an orphan empty Track not associated with any Event.
virtual AddHitResult_t AddToParentEvent(const Hit &hit)
A simple class to contain basic properties of a hit registered by an active material in a detector...
A simple persistent event container holding collections of tracks and hits.
virtual void Print(Option_t *opt="") const