1 #ifndef SimG4CMS_CaloTrkProcessing_H 2 #define SimG4CMS_CaloTrkProcessing_H 10 #include "G4VTouchable.hh" 19 class G4LogicalVolume;
23 public Observer<const BeginOfEvent *>,
44 void update(
const G4Step *)
override;
63 G4LogicalVolume*
detLV(
const G4VTouchable*,
int)
const;
void update(const BeginOfEvent *evt) override
This routine will be called when the appropriate signal arrives.
void EndOfEvent(G4HCofThisEvent *) override
G4LogicalVolume * detLV(const G4VTouchable *, int) const
std::vector< PCaloHit > PCaloHitContainer
CaloTrkProcessing(G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *)
int detLevels(const G4VTouchable *) const
int isItCalo(const G4VTouchable *)
type of data representation of DDCompactView
void detectorLevel(const G4VTouchable *, int &, int *, G4String *) const
int isItInside(const G4VTouchable *, int, int)
void fillHits(edm::PCaloHitContainer &, std::string) override
uint32_t setDetUnitId(G4Step *step) override
bool ProcessHits(G4Step *, G4TouchableHistory *) override
std::vector< int > fromLevels
std::vector< Detector > detectors
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
std::vector< double > getNumbers(G4String, const DDsvalues_type &)
std::vector< G4LogicalVolume * > fromDetL
virtual std::vector< std::string > getNames()
std::vector< std::string > fromDets
~CaloTrkProcessing() override
void Initialize(G4HCofThisEvent *) override
void clearHits() override
const SimTrackManager * m_trackManager