#include <HGCSD.h>
Public Member Functions | |
double | getEnergyDeposit (G4Step *) override |
HGCSD (const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *step) override |
~HGCSD () override | |
Public Member Functions inherited from CaloSD | |
CaloSD (const std::string &aSDname, const DDCompactView &cpv, 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 |
void | PrintAll () override |
bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) override |
~CaloSD () override | |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (const std::string &iname, const DDCompactView &cpv, 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 |
SensitiveDetector (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
~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 |
void | initRun () override |
void | update (const BeginOfJob *) override |
This routine will be called when the appropriate signal arrives. More... | |
Protected Member Functions inherited from CaloSD | |
G4bool | checkHit () |
CaloG4Hit * | createNewHit () |
double | getAttenuation (const G4Step *aStep, double birk1, double birk2, double birk3) |
virtual uint16_t | getDepth (const G4Step *) |
int | getNumberOfHits () |
double | getResponseWt (const G4Track *) |
virtual G4bool | getStepInfo (G4Step *aStep) |
virtual int | getTrackID (const G4Track *) |
G4bool | hitExists () |
void | resetForNewPrimary (const G4ThreeVector &, double) |
G4ThreeVector | setToGlobal (const G4ThreeVector &, const G4VTouchable *) |
G4ThreeVector | setToLocal (const G4ThreeVector &, const G4VTouchable *) |
void | update (const BeginOfRun *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *) 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 | update (const ::EndOfEvent *) override |
void | updateHit (CaloG4Hit *) |
Protected Member Functions inherited from SensitiveDetector | |
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 (ForwardSubdetector &, int, int, int, int, G4ThreeVector &) |
int | setTrackID (const G4Step *step) |
Private Attributes | |
std::vector< double > | angles_ |
double | eminHit |
int | levelT_ |
HGCalGeometryMode::GeometryMode | m_mode |
HGCMouseBite * | mouseBite_ |
double | mouseBiteCut_ |
G4int | mumPDG |
G4int | mupPDG |
ForwardSubdetector | myFwdSubdet_ |
std::string | nameX |
HGCNumberingScheme * | numberingScheme |
bool | rejectMB_ |
double | slopeMin_ |
bool | storeAllG4Hits_ |
bool | waferRot_ |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Attributes inherited from CaloSD | |
int | checkHits |
double | correctT |
bool | corrTOFBeam |
CaloG4Hit * | currentHit |
CaloHitID | currentID |
float | edepositEM |
float | edepositHAD |
double | eminHit |
double | eminHitD |
G4int | emPDG |
double | energyCut |
G4ThreeVector | entranceLocal |
G4ThreeVector | entrancePoint |
G4int | epPDG |
bool | forceSave |
G4int | gammaPDG |
float | incidentEnergy |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
const SimTrackManager * | m_trackManager |
G4ThreeVector | posGlobal |
G4StepPoint * | preStepPoint |
CaloHitID | previousID |
int | primIDSaved |
bool | runInit |
bool | suppressHeavy |
G4Track * | theTrack |
double | tmaxHit |
bool | useMap |
HGCSD::HGCSD | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 36 of file HGCSD.cc.
References angles_, eminHit, ForwardEmpty, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HGCEE, HGCHEB, HGCHEF, MeV, mouseBiteCut_, myFwdSubdet_, dataset::name, nameX, rejectMB_, storeAllG4Hits_, funct::tan(), and waferRot_.
|
override |
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 230 of file HGCSD.cc.
References eminHit, CaloG4Hit::getEnergyDeposit(), and CaloSD::tmaxHit.
|
overridevirtual |
Reimplemented from CaloSD.
Definition at line 126 of file HGCSD.cc.
References CaloSD::getResponseWt().
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 219 of file HGCSD.cc.
References mumPDG, mupPDG, and HiggsValidation_cfi::particleName.
|
inlineprivate |
|
overridevirtual |
Reimplemented from CaloSD.
Definition at line 94 of file HGCSD.cc.
References funct::abs(), CaloSD::createNewHit(), CaloSD::currentHit, CaloSD::edepositEM, CaloSD::edepositHAD, CaloSD::getStepInfo(), CaloSD::hitExists(), mumPDG, mupPDG, SensitiveDetector::NaNTrap(), alignCSCRings::r, slopeMin_, storeAllG4Hits_, and z.
|
overridevirtual |
Implements CaloSD.
Definition at line 134 of file HGCSD.cc.
References TauDecayModes::dec, HGCMouseBite::exclude(), triggerObjects_cff::id, levelT_, python.rootplot.argparse::module, mouseBite_, myFwdSubdet_, CaloSD::preStepPoint, rejectMB_, HGCalTestNumbering::unpackHexagonIndex(), and z.
|
private |
Definition at line 234 of file HGCSD.cc.
References HGCNumberingScheme::getUnitID(), triggerObjects_cff::id, and numberingScheme.
|
private |
Definition at line 241 of file HGCSD.cc.
References TrackInformation::getIDonCaloSurface(), CaloSD::preStepPoint, CaloSD::previousID, CaloSD::resetForNewPrimary(), CaloSD::theTrack, and CaloHitID::trackID().
Referenced by isItinFidVolume().
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 195 of file HGCSD.cc.
References angles_, Exception, HGCalDDDConstants::geomMode(), edm::EventSetup::get(), levelT_, HGCalDDDConstants::levelTop(), m_mode, HGCalDDDConstants::minSlope(), mouseBite_, mouseBiteCut_, nameX, numberingScheme, rejectMB_, slopeMin_, and waferRot_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
|
private |
Definition at line 56 of file HGCSD.h.
Referenced by filterHit(), and HGCSD().
|
private |
Definition at line 59 of file HGCSD.h.
Referenced by setDetUnitId(), and update().
|
private |
|
private |
Definition at line 54 of file HGCSD.h.
Referenced by setDetUnitId(), update(), and ~HGCSD().
|
private |
|
private |
Definition at line 55 of file HGCSD.h.
Referenced by initRun(), and ProcessHits().
|
private |
Definition at line 55 of file HGCSD.h.
Referenced by initRun(), and ProcessHits().
|
private |
Definition at line 57 of file HGCSD.h.
Referenced by HGCSD(), and setDetUnitId().
|
private |
|
private |
Definition at line 53 of file HGCSD.h.
Referenced by setDetUnitId(), update(), and ~HGCSD().
|
private |
Definition at line 60 of file HGCSD.h.
Referenced by HGCSD(), setDetUnitId(), and update().
|
private |
Definition at line 58 of file HGCSD.h.
Referenced by ProcessHits(), and update().
|
private |
Definition at line 60 of file HGCSD.h.
Referenced by HGCSD(), and ProcessHits().