CMS 3D CMS Logo

HFNoseSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HFNoseSD_h
2 #define SimG4CMS_HFNoseSD_h
3 // File: HFNoseSD.h
5 // Description: Stores hits of the High Granularity Calorimeter (HGC) in the
6 // appropriate container (post TDR version)
8 
13 
14 #include <string>
15 
16 class HGCalDDDConstants;
17 class G4LogicalVolume;
18 class G4Step;
19 
20 class HFNoseSD : public CaloSD, public Observer<const BeginOfJob *> {
21 public:
22  HFNoseSD(const std::string &,
23  const edm::EventSetup &,
25  edm::ParameterSet const &,
26  const SimTrackManager *);
27  ~HFNoseSD() override = default;
28 
29  uint32_t setDetUnitId(const G4Step *step) override;
30 
31 protected:
32  double getEnergyDeposit(const G4Step *) override;
33  using CaloSD::update;
34  void update(const BeginOfJob *) override;
35  void initRun() override;
36  bool filterHit(CaloG4Hit *, double) override;
37 
38 private:
39  uint32_t setDetUnitId(int, int, int, int, G4ThreeVector &);
40  bool isItinFidVolume(const G4ThreeVector &);
41 
43  std::unique_ptr<HFNoseNumberingScheme> numberingScheme_;
44  std::unique_ptr<HGCMouseBite> mouseBite_;
52  const double tan30deg_;
53  std::vector<double> angles_;
54 };
55 
56 #endif // HFNoseSD_h
HFNoseSD::angles_
std::vector< double > angles_
Definition: HFNoseSD.h:53
HFNoseSD::numberingScheme_
std::unique_ptr< HFNoseNumberingScheme > numberingScheme_
Definition: HFNoseSD.h:43
HFNoseSD::initRun
void initRun() override
Definition: HFNoseSD.cc:203
SimTrackManager
Definition: SimTrackManager.h:35
HFNoseSD::filterHit
bool filterHit(CaloG4Hit *, double) override
Definition: HFNoseSD.cc:205
Observer
Definition: Observer.h:23
HFNoseSD::~HFNoseSD
~HFNoseSD() override=default
HFNoseNumberingScheme.h
BeginOfJob.h
HFNoseSD::distanceFromEdge_
double distanceFromEdge_
Definition: HFNoseSD.h:48
step
step
Definition: StallMonitor.cc:94
HFNoseSD::storeAllG4Hits_
bool storeAllG4Hits_
Definition: HFNoseSD.h:50
CaloSD::update
void update(const BeginOfRun *) override
This routine will be called when the appropriate signal arrives.
Definition: CaloSD.cc:539
HFNoseSD::levelT1_
int levelT1_
Definition: HFNoseSD.h:49
HFNoseSD::fiducialCut_
bool fiducialCut_
Definition: HFNoseSD.h:51
HFNoseSD::mouseBiteCut_
double mouseBiteCut_
Definition: HFNoseSD.h:48
HGCalDDDConstants
Definition: HGCalDDDConstants.h:26
HFNoseSD::isItinFidVolume
bool isItinFidVolume(const G4ThreeVector &)
Definition: HFNoseSD.cc:218
HFNoseSD::weight_
double weight_
Definition: HFNoseSD.h:47
HFNoseSD::rejectMB_
bool rejectMB_
Definition: HFNoseSD.h:51
HFNoseSD::cornerMinMask_
int cornerMinMask_
Definition: HFNoseSD.h:49
HFNoseSD::waferRot_
bool waferRot_
Definition: HFNoseSD.h:51
HFNoseSD
Definition: HFNoseSD.h:20
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
HFNoseSD::HFNoseSD
HFNoseSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: HFNoseSD.cc:30
BeginOfJob
Definition: BeginOfJob.h:8
HFNoseSD::geom_mode_
HGCalGeometryMode::GeometryMode geom_mode_
Definition: HFNoseSD.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
HFNoseSD::levelT2_
int levelT2_
Definition: HFNoseSD.h:49
CaloSD.h
HFNoseSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition: HFNoseSD.cc:116
HFNoseSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition: HFNoseSD.cc:85
HGCalGeometryMode::GeometryMode
GeometryMode
Definition: HGCalGeometryMode.h:25
HFNoseSD::tan30deg_
const double tan30deg_
Definition: HFNoseSD.h:52
edm::EventSetup
Definition: EventSetup.h:57
CaloG4Hit
Definition: CaloG4Hit.h:32
HFNoseSD::mouseBite_
std::unique_ptr< HGCMouseBite > mouseBite_
Definition: HFNoseSD.h:44
HFNoseSD::nameX_
std::string nameX_
Definition: HFNoseSD.h:45
HFNoseSD::update
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
Definition: HFNoseSD.cc:176
HGCMouseBite.h
HFNoseSD::hgcons_
const HGCalDDDConstants * hgcons_
Definition: HFNoseSD.h:42
HFNoseSD::eminHit_
double eminHit_
Definition: HFNoseSD.h:47
HFNoseSD::slopeMin_
double slopeMin_
Definition: HFNoseSD.h:47
CaloSD
Definition: CaloSD.h:38