34 #include "G4HCofThisEvent.hh"
57 fWriter.open(
"caustic.ssv", fstream::out | fstream::ate);
58 fWriter2.open(
"timing.ssv", fstream::out | fstream::ate);
61 G4cout<<
"\nXAluminumElectrodeSensitivity::Constructor:";
62 G4cout<<
"\n\tFailed to open caustic.ssv for appending data.";
68 G4cout<<
"\nXAluminumElectrodeSensitivity::Constructor: ";
69 G4cout<<
"\n\tFailed to open timing.ssv for appending data.";
75 G4cout<<
"\nXAluminumElectrodeSensitivity::Constructor: "
76 <<
"\nERROR: COULD NOT CREATE OUTPUT FILES FOR WRITING" <<
G4endl;
112 if(edp==0.)
return true;
131 <<
","<<fWorldPos.getY()/
mm
132 <<
","<<fWorldPos.getZ()/
mm;
void SetWorldPos(G4ThreeVector xyz)
G4String SensitiveDetectorName
G4int GetCollectionID(G4String colName)
CLHEP::Hep3Vector G4ThreeVector
void SetLocalPos(G4ThreeVector xyz)
G4double GetNonIonizingEnergyDeposit() const
const G4VTouchable * GetTouchable() const
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
void insert(G4String str)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
const G4ThreeVector & GetPosition() const
XAluminumElectrodeSensitivity(G4String)
XAluminumElectrodeHitsCollection * GetHitsCollection()
G4THitsCollection< XAluminumElectrodeHit > XAluminumElectrodeHitsCollection
Definition of the XAluminumElectrodeHit class.
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
Definition of the XAluminumElectrodeSensitivity class.
G4StepPoint * GetPostStepPoint() const
static G4SDManager * GetSDMpointer()
static XAluminumElectrodeHitsCollection * fHitsCollection
virtual void Initialize(G4HCofThisEvent *)
G4double GetGlobalTime() const
const G4AffineTransform & GetTopTransform() const
G4CollectionNameVector collectionName
const G4NavigationHistory * GetHistory() const
virtual void EndOfEvent(G4HCofThisEvent *)
virtual ~XAluminumElectrodeSensitivity()