2 #include "G4RotationMatrix.hh"
4 #ifndef WCSIMWCDIGI_VERBOSE
60 G4cout <<
"TubeID: " <<
tubeID
62 for (
unsigned int i = 0 ; i <
pe.size() ; i++) {
63 G4cout <<
"Gate = " << i
65 <<
" Time:" <<
time[i] << G4endl;
71 #ifdef WCSIMWCDIGI_VERBOSE
72 G4cout <<
"WCSimWCDigi::GetDigiCompositionInfo fDigiComp has size " <<
fDigiComp.size() << G4endl;
73 for(
int i = 0; i <
fDigiComp[gate].size(); i++)
74 G4cout <<
"WCSimWCDigi::GetDigiCompositionInfo found photon with ID " <<
fDigiComp[gate][i] << G4endl;
87 double gatetime =
time[gate];
94 G4cerr <<
"Could not erase time " << gatetime <<
" from WCSimWCDigi member time_double" << G4endl;
int operator==(const WCSimWCDigi &) const
G4Allocator< WCSimWCDigi > WCSimWCDigiAllocator
std::map< int, std::vector< int > > GetDigiCompositionInfo()
std::vector< G4double > time_double
Same information as "time" but stored in a vector for quick time sorting.
const WCSimWCDigi & operator=(const WCSimWCDigi &)
bool operator()(const WCSimWCDigi *const &a, const WCSimWCDigi *const &b) const
std::map< int, double > time_presmear
Time of each Digi, before smearing.
std::map< int, double > time
Time of each Digi.
void RemoveDigitizedGate(G4int gate)
std::map< int, double > pe
Charge of each Digi.
std::vector< double > TriggerTimes
std::map< int, std::vector< int > > fDigiComp
IDs of the hits that make up this Digit (do not use for Hits)
std::map< int, G4int > primaryParentID
Primary parent ID of the Hit (do not use for Digits)