22 #include "G4ThreeVector.hh"
23 #include "G4TouchableHistory.hh"
31 , m_calculator(
config.m_TileCalculator)
41 if(a_step->GetTotalEnergyDeposit() <= 0.) {
return result; }
50 if ((micHit.
pmt_up == invalid_id) && (micHit.
pmt_down == invalid_id)) {
51 G4cout <<this->GetName()<<
" WARNING ProcessHits: Invalid hit in Tile??"<<G4endl;
58 G4cout <<this->GetName()<<
" WARNING ProcessHits: Something wrong in identifier: tile pmt_up: "<<micHit.
pmt_up<<std::endl;
60 G4cout <<this->GetName()<<
" WARNING ProcessHits: E up: "<<micHit.
e_up<<
" E down: "<<micHit.
e_down<<
" T up: "<<micHit.
time_up<<
" T down: "<<micHit.
time_down<<std::endl;
63 G4cout <<this->GetName()<<
" WARNING ProcessHits: Something wrong in identifier: tile pmt_down: "<<micHit.
pmt_down<<std::endl;
65 G4cout <<this->GetName()<<
" WARNING ProcessHits: E up: "<<micHit.
e_up<<
" E down: "<<micHit.
e_down<<
" T up: "<<micHit.
time_up<<
" T down: "<<micHit.
time_down<<std::endl;
68 const G4ThreeVector
pos = 0.5*(a_step->GetPreStepPoint()->GetPosition()+a_step->GetPostStepPoint()->GetPosition());
69 const int numberOfProcessedHits(1);