1 #ifndef Forward_TotemSD_h
2 #define Forward_TotemSD_h
35 #include "G4StepPoint.hh"
43 public Observer<const BeginOfEvent*>,
52 virtual bool ProcessHits(G4Step *,G4TouchableHistory *);
55 virtual void Initialize(G4HCofThisEvent * HCE);
56 virtual void EndOfEvent(G4HCofThisEvent * eventHC);
66 void update(const ::EndOfEvent *);
71 G4ThreeVector
SetToLocal(
const G4ThreeVector& globalPoint);
76 G4ThreeVector
PosizioEvo(
const 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
TotemSD(std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
type of data representation of DDCompactView
void ResetForNewPrimary()
G4StepPoint * preStepPoint
G4ThreeVector SetToLocal(const G4ThreeVector &globalPoint)
void update(const BeginOfEvent *)
This routine will be called when the appropriate signal arrives.
G4ThreeVector PosizioEvo(const G4ThreeVector &, double, double, double, double, int &)
G4StepPoint * postStepPoint
G4VPhysicalVolume * currentPV
void StoreHit(TotemG4Hit *)
std::vector< PSimHit > PSimHitContainer
void GetStepInfo(G4Step *aStep)
const SimTrackManager * theManager
virtual void Initialize(G4HCofThisEvent *HCE)