1 #ifndef SimG4CMS_HCalSD_h
2 #define SimG4CMS_HCalSD_h
27 #include "G4String.hh"
32 class G4LogicalVolume;
63 uint32_t
setDetUnitId(
int,
const G4ThreeVector&,
int,
int);
65 bool isItHF(
const G4Step*);
66 bool isItHF(
const G4String&);
69 bool isItPMT(
const G4LogicalVolume*);
80 double layerWeight(
int,
const G4ThreeVector&,
int,
int);
81 void plotProfile(
const G4Step* step,
const G4ThreeVector& pos,
double edep,
double time,
int id);
82 void plotHF(
const G4ThreeVector& pos,
bool emType);
std::vector< std::string > matNames
void readWeightFromFile(const std::string &)
std::vector< const G4LogicalVolume * > hfLV
void hitForFibre(const G4Step *step)
void fillLogVolumeVector(const std::string &, const std::vector< std::string > &, std::vector< const G4LogicalVolume * > &)
std::vector< std::string > fibreNames
std::unique_ptr< HFShowerParam > showerParam
std::vector< double > gpar
const HcalDDDSimConstants * hcalConstants_
std::vector< std::string > hfNames
void plotProfile(const G4Step *step, const G4ThreeVector &pos, double edep, double time, int id)
std::vector< const G4LogicalVolume * > fibre2LV
void modifyDepth(HcalNumberingFromDDD::HcalID &id)
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
void setNumberingScheme(HcalNumberingScheme *)
std::unique_ptr< HFShowerPMT > showerPMT
bool isItConicalBundle(const G4LogicalVolume *)
HCalSD(const std::string &, const HcalDDDSimConstants *, const HcalDDDRecConstants *, const HcalSimulationConstants *, const HBHEDarkening *, const HBHEDarkening *, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
std::unique_ptr< HcalNumberingFromDDD > numberingFromDDD
~HCalSD() override=default
std::unique_ptr< HFDarkening > m_HFDarkening
const HBHEDarkening * m_HEDarkening
std::unique_ptr< HcalTestNS > m_HcalTestNS
void plotHF(const G4ThreeVector &pos, bool emType)
std::vector< int > hfLevels
void getFromParam(const G4Step *step, bool &isKilled)
void getFromHFLibrary(const G4Step *step, bool &isKilled)
uint32_t setDetUnitId(const G4Step *step) override
bool isItStraightBundle(const G4LogicalVolume *)
bool getFromLibrary(const G4Step *) override
std::vector< const G4LogicalVolume * > pmtLV
bool filterHit(CaloG4Hit *, double) override
void getHitFibreBundle(const G4Step *step, bool type)
double getEnergyDeposit(const G4Step *) override
std::unique_ptr< HFShowerFibreBundle > showerBundle
bool isItPMT(const G4LogicalVolume *)
bool isItinFidVolume(const G4ThreeVector &)
void getHitPMT(const G4Step *step)
std::unique_ptr< HFShowerLibrary > showerLibrary
double layerWeight(int, const G4ThreeVector &, int, int)
const HcalSimulationConstants * hcalSimConstants_
std::map< uint32_t, double > layerWeights
bool isItHF(const G4Step *)
bool isItScintillator(const G4Material *)
std::unique_ptr< HcalNumberingScheme > numberingScheme
std::unique_ptr< HFShower > hfshower
std::vector< const G4LogicalVolume * > fibreLV
std::vector< const G4LogicalVolume * > fibre1LV
std::vector< const G4Material * > materials
const HBHEDarkening * m_HBDarkening
void update(const BeginOfRun *) override
This routine will be called when the appropriate signal arrives.
bool isItFibre(const G4LogicalVolume *)