101 #if defined _verbose_
109 std::unordered_set<unsigned int> setofIDs;
112 #if defined _verbose_
113 std::cout <<
"geoID: " << it->GetID() <<
" track ID: " << it->GetTrackID() <<
" Edep: " << it->GetEnergyDeposited()
114 <<
" Parent Id: " << it->GetParentID() <<
" exit Time: " << it->GetExitT()
115 <<
" is first: " << it->IsIsfirstinVolume() <<
" is last: " << it->IsIslastinVolume();
117 if (it->GetID() == geoId && trackId == it->GetTrackID())
119 #if defined _verbose_
133 }
else if (setofIDs.find(it->GetParentID()) != setofIDs.end()) {
134 setofIDs.insert(it->GetTrackID());
135 #if defined _verbose_
139 }
else if (it->GetID() != geoId)
142 trackId = it->GetTrackID();
144 setofIDs.insert(it->GetTrackID());
145 #if defined _verbose_
151 it->GetEnergyDeposited(),
160 it->GetExitMomentumX(),
161 it->GetExitMomentumY(),
162 it->GetExitMomentumZ()
165 trackId = it->GetTrackID();
166 #if defined _verbose_
171 setofIDs.insert(it->GetTrackID());
174 it->GetEnergyDeposited(),
183 it->GetExitMomentumX(),
184 it->GetExitMomentumY(),
185 it->GetExitMomentumZ()
189 #if defined _verbose_
190 std::cout <<
"Number of AuxDetHits: " << counter << std::endl;
sim::AuxDetHitCollection hitCollection
auto counter(T begin, T end)
Returns an object to iterate values from begin to end in a range-for loop.
TempHitCollection temphitCollection
BEGIN_PROLOG could also be cout