35 G4TouchableHistory* ) {
41 if (a_step->GetTotalEnergyDeposit() <= 0.) {
52 if ((micHit.
pmt_up == invalid_id) && (micHit.
pmt_down == invalid_id)) {
53 G4cout << this->GetName() <<
" WARNING ProcessHits: Invalid hit in Tile??"
59 if ((micHit.
pmt_up == invalid_id) &&
61 G4cout << this->GetName()
62 <<
" WARNING ProcessHits: Something wrong in identifier: tile "
64 << micHit.
pmt_up << std::endl;
65 G4cout << this->GetName()
66 <<
" WARNING ProcessHits: tile pmt_down : " << micHit.
pmt_down
68 G4cout << this->GetName()
69 <<
" WARNING ProcessHits: E up: " << micHit.
e_up
70 <<
" E down: " << micHit.
e_down <<
" T up: " << micHit.
time_up
71 <<
" T down: " << micHit.
time_down << std::endl;
73 if ((micHit.
pmt_down == invalid_id) &&
75 G4cout << this->GetName()
76 <<
" WARNING ProcessHits: Something wrong in identifier: tile "
79 G4cout << this->GetName()
80 <<
" WARNING ProcessHits: tile pmt_up: " << micHit.
pmt_up <<
" "
82 G4cout << this->GetName()
83 <<
" WARNING ProcessHits: E up: " << micHit.
e_up
84 <<
" E down: " << micHit.
e_down <<
" T up: " << micHit.
time_up
85 <<
" T down: " << micHit.
time_down << std::endl;
88 const G4ThreeVector pos =
89 0.5 * (a_step->GetPreStepPoint()->GetPosition() +
90 a_step->GetPostStepPoint()->GetPosition());
91 const int numberOfProcessedHits(1);
96 numberOfProcessedHits);
98 true, numberOfProcessedHits);
void update_map(const CLHEP::Hep3Vector &l_vec, const Identifier &l_identifier, double l_energy, double l_time, bool l_valid, int l_detector)