1 #ifndef Forward_TotemSD_h
2 #define Forward_TotemSD_h
36 #include "G4StepPoint.hh"
44 public Observer<const BeginOfEvent*>,
53 virtual bool ProcessHits(G4Step *,G4TouchableHistory *);
56 virtual void Initialize(G4HCofThisEvent * HCE);
57 virtual void EndOfEvent(G4HCofThisEvent * eventHC);
67 void update(const ::EndOfEvent *);
72 G4ThreeVector
SetToLocal(G4ThreeVector globalPoint);
77 G4ThreeVector
PosizioEvo(G4ThreeVector,
double ,
double ,
double,
double,
int&);
virtual bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual void EndOfEvent(G4HCofThisEvent *eventHC)
TotemG4HitCollection * theHC
void fillHits(edm::PSimHitContainer &, std::string use)
G4ThreeVector entrancePoint
virtual uint32_t setDetUnitId(G4Step *)
TotemVDetectorOrganization * numberingScheme
type of data representation of DDCompactView
void ResetForNewPrimary()
G4StepPoint * preStepPoint
void update(const BeginOfEvent *)
This routine will be called when the appropriate signal arrives.
G4ThreeVector SetToLocal(G4ThreeVector globalPoint)
G4StepPoint * postStepPoint
G4VPhysicalVolume * currentPV
TotemSD(std::string, const DDCompactView &, SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void StoreHit(TotemG4Hit *)
G4ThreeVector PosizioEvo(G4ThreeVector, double, double, double, double, int &)
std::vector< PSimHit > PSimHitContainer
void GetStepInfo(G4Step *aStep)
const SimTrackManager * theManager
virtual void Initialize(G4HCofThisEvent *HCE)