#include <HFNoseSD.h>
Public Member Functions | |
HFNoseSD (const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
uint32_t | setDetUnitId (const G4Step *step) override |
~HFNoseSD () override=default | |
Public Member Functions inherited from CaloSD | |
CaloSD (const std::string &aSDname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false) | |
void | clear () override |
void | clearHits () override |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PCaloHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *HCE) override |
bool | isItFineCalo (const G4VTouchable *touch) |
void | PrintAll () override |
bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) override |
G4bool | ProcessHits (G4Step *step, G4TouchableHistory *) override |
void | reset () override |
~CaloSD () override | |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
bool | isCaloSD () const |
SensitiveDetector (const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, bool calo) | |
~SensitiveDetector () override | |
Public Member Functions inherited from Observer< const BeginOfRun * > | |
Observer () | |
void | slotForUpdate (const BeginOfRun * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfEvent * > | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfTrack * > | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfTrack * > | |
Observer () | |
void | slotForUpdate (const EndOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfJob * > | |
Observer () | |
void | slotForUpdate (const BeginOfJob * iT) |
virtual | ~Observer () |
Protected Member Functions | |
bool | filterHit (CaloG4Hit *, double) override |
double | getEnergyDeposit (const G4Step *) override |
void | initRun () override |
void | update (const ::EndOfEvent *) override |
void | update (const BeginOfEvent *) override |
void | update (const BeginOfJob *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *) override |
void | update (const BeginOfTrack *trk) override |
void | update (const EndOfTrack *trk) override |
Protected Member Functions inherited from CaloSD | |
bool | checkHit () |
CaloG4Hit * | createNewHit (const G4Step *, const G4Track *) |
virtual void | endEvent () |
virtual double | EnergyCorrected (const G4Step &step, const G4Track *) |
double | getAttenuation (const G4Step *aStep, double birk1, double birk2, double birk3) const |
virtual uint16_t | getDepth (const G4Step *) |
virtual bool | getFromLibrary (const G4Step *step) |
int | getNumberOfHits () |
double | getResponseWt (const G4Track *) |
virtual int | getTrackID (const G4Track *) |
bool | hitExists (const G4Step *) |
void | ignoreRejection () |
virtual void | initEvent (const BeginOfEvent *) |
void | processHit (const G4Step *step) |
void | resetForNewPrimary (const G4Step *) |
void | setNumberCheckedHits (int val) |
void | setParameterized (bool val) |
G4ThreeVector | setToGlobal (const G4ThreeVector &, const G4VTouchable *) const |
G4ThreeVector | setToLocal (const G4ThreeVector &, const G4VTouchable *) const |
virtual int | setTrackID (const G4Step *) |
void | setUseMap (bool val) |
void | update (const ::EndOfEvent *) override |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *trk) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfTrack *trk) override |
This routine will be called when the appropriate signal arrives. More... | |
void | updateHit (CaloG4Hit *) |
Protected Member Functions inherited from SensitiveDetector | |
TrackInformation * | cmsTrackInformation (const G4Track *aTrack) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) const |
Local3DPoint | FinalStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | InitialStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | LocalPostStepPosition (const G4Step *step) const |
Local3DPoint | LocalPreStepPosition (const G4Step *step) const |
void | NaNTrap (const G4Step *step) const |
void | setNames (const std::vector< std::string > &) |
Protected Member Functions inherited from Observer< const EndOfEvent * > | |
virtual void | update (const EndOfEvent *)=0 |
This routine will be called when the appropriate signal arrives. More... | |
Private Member Functions | |
bool | isItinFidVolume (const G4ThreeVector &) |
uint32_t | setDetUnitId (int, int, int, int, G4ThreeVector &) |
Private Attributes | |
std::vector< double > | angles_ |
int | cornerMinMask_ |
double | distanceFromEdge_ |
double | eminHit_ |
bool | fiducialCut_ |
HGCalGeometryMode::GeometryMode | geom_mode_ |
const HGCalDDDConstants * | hgcons_ |
int | levelT1_ |
int | levelT2_ |
std::unique_ptr< HGCMouseBite > | mouseBite_ |
double | mouseBiteCut_ |
std::string | nameX_ |
std::unique_ptr< HFNoseNumberingScheme > | numberingScheme_ |
bool | rejectMB_ |
double | slopeMin_ |
bool | storeAllG4Hits_ |
const double | tan30deg_ |
bool | waferRot_ |
double | weight_ |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Attributes inherited from CaloSD | |
CaloG4Hit * | currentHit |
CaloHitID | currentID |
float | edepositEM |
float | edepositHAD |
double | eminHit |
double | energyCut |
G4ThreeVector | entranceLocal |
G4ThreeVector | entrancePoint |
bool | forceSave |
float | incidentEnergy |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
G4ThreeVector | posGlobal |
CaloHitID | previousID |
bool | suppressHeavy |
double | tmaxHit |
Definition at line 20 of file HFNoseSD.h.
HFNoseSD::HFNoseSD | ( | const std::string & | name, |
const edm::EventSetup & | es, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 30 of file HFNoseSD.cc.
References angles_, cornerMinMask_, distanceFromEdge_, eminHit_, fiducialCut_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), MeV, mouseBite_, Skims_PA_cff::name, nameX_, numberingScheme_, AlCaHLTBitMon_ParallelJobs::p, rejectMB_, CaloSD::setNumberCheckedHits(), CaloSD::setUseMap(), storeAllG4Hits_, and waferRot_.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 205 of file HFNoseSD.cc.
References eminHit_, CaloG4Hit::getEnergyDeposit(), ntuplemaker::time, and CaloSD::tmaxHit.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 85 of file HFNoseSD.cc.
References funct::abs(), CaloSD::getResponseWt(), alignCSCRings::r, slopeMin_, weight_, and z.
|
overrideprotectedvirtual |
|
private |
Definition at line 218 of file HFNoseSD.cc.
References distanceFromEdge_, HGCalDDDConstants::distFromEdgeHex(), fiducialCut_, and hgcons_.
|
overridevirtual |
Implements CaloSD.
Definition at line 116 of file HFNoseSD.cc.
References TauDecayModes::dec, triggerObjects_cff::id, levelT1_, levelT2_, mouseBite_, rejectMB_, and HFNoseDetId::waferUV().
|
private |
Definition at line 209 of file HFNoseSD.cc.
References cornerMinMask_, hgcons_, triggerObjects_cff::id, HGCalDDDConstants::maskCell(), numberingScheme_, and weight_.
|
overrideprotected |
Definition at line 575 of file CaloSD.cc.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprotected |
Definition at line 541 of file CaloSD.cc.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 176 of file HFNoseSD.cc.
References angles_, Exception, geom_mode_, HGCalDDDConstants::geomMode(), edm::EventSetup::get(), get, hgcons_, levelT1_, levelT2_, HGCalDDDConstants::levelTop(), HGCalDDDConstants::minSlope(), HGCalDDDConstants::mouseBite(), mouseBite_, mouseBiteCut_, nameX_, numberingScheme_, rejectMB_, slopeMin_, tan30deg_, waferRot_, and HGCalDDDConstants::waferSize().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprotected |
Definition at line 539 of file CaloSD.cc.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprotected |
Definition at line 766 of file CaloSD.cc.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
overrideprotected |
Definition at line 549 of file CaloSD.cc.
Referenced by MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 53 of file HFNoseSD.h.
Referenced by HFNoseSD(), and update().
|
private |
Definition at line 49 of file HFNoseSD.h.
Referenced by HFNoseSD(), and setDetUnitId().
|
private |
Definition at line 48 of file HFNoseSD.h.
Referenced by HFNoseSD(), and isItinFidVolume().
|
private |
Definition at line 47 of file HFNoseSD.h.
Referenced by filterHit(), and HFNoseSD().
|
private |
Definition at line 51 of file HFNoseSD.h.
Referenced by HFNoseSD(), and isItinFidVolume().
|
private |
Definition at line 46 of file HFNoseSD.h.
Referenced by update().
|
private |
Definition at line 42 of file HFNoseSD.h.
Referenced by isItinFidVolume(), setDetUnitId(), and update().
|
private |
Definition at line 49 of file HFNoseSD.h.
Referenced by setDetUnitId(), and update().
|
private |
Definition at line 49 of file HFNoseSD.h.
Referenced by setDetUnitId(), and update().
|
private |
Definition at line 44 of file HFNoseSD.h.
Referenced by HFNoseSD(), setDetUnitId(), and update().
|
private |
Definition at line 48 of file HFNoseSD.h.
Referenced by update().
|
private |
Definition at line 45 of file HFNoseSD.h.
Referenced by HFNoseSD(), and update().
|
private |
Definition at line 43 of file HFNoseSD.h.
Referenced by HFNoseSD(), setDetUnitId(), and update().
|
private |
Definition at line 51 of file HFNoseSD.h.
Referenced by HFNoseSD(), setDetUnitId(), and update().
|
private |
Definition at line 47 of file HFNoseSD.h.
Referenced by getEnergyDeposit(), and update().
|
private |
Definition at line 50 of file HFNoseSD.h.
Referenced by HFNoseSD().
|
private |
Definition at line 52 of file HFNoseSD.h.
Referenced by update().
|
private |
Definition at line 51 of file HFNoseSD.h.
Referenced by HFNoseSD(), and update().
|
private |
Definition at line 47 of file HFNoseSD.h.
Referenced by getEnergyDeposit(), and setDetUnitId().