Go to the documentation of this file. 1 #ifndef SimG4CMS_CaloTrkProcessing_H
2 #define SimG4CMS_CaloTrkProcessing_H
9 #include "G4VTouchable.hh"
18 class G4LogicalVolume;
23 public Observer<const BeginOfEvent*>,
34 bool ProcessHits(G4Step*, G4TouchableHistory*)
override {
return true; }
51 void update(
const G4Step*)
override;
52 int isItCalo(
const G4VTouchable*,
const std::vector<Detector>&);
57 G4LogicalVolume*
detLV(
const G4VTouchable*,
int)
const;
58 void detectorLevel(
const G4VTouchable*,
int&,
int*, G4String*)
const;
std::vector< int > fromLevels
void detectorLevel(const G4VTouchable *, int &, int *, G4String *) const
std::vector< std::string > fromDets
int isItInside(const G4VTouchable *, int, int)
int detLevels(const G4VTouchable *) const
G4LogicalVolume * detLV(const G4VTouchable *, int) const
void update(const BeginOfEvent *evt) override
This routine will be called when the appropriate signal arrives.
std::vector< G4LogicalVolume * > fromDetL
std::vector< Detector > fineDetectors_
void fillHits(edm::PCaloHitContainer &, const std::string &) override
void EndOfEvent(G4HCofThisEvent *) override
uint32_t setDetUnitId(const G4Step *step) override
bool ProcessHits(G4Step *, G4TouchableHistory *) override
void Initialize(G4HCofThisEvent *) override
void clearHits() override
std::vector< PCaloHit > PCaloHitContainer
int isItCalo(const G4VTouchable *, const std::vector< Detector > &)
std::vector< Detector > detectors_
~CaloTrkProcessing() override
CaloTrkProcessing(const std::string &aSDname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *)