#include <HGCScintSD.h>
Public Member Functions | |
HGCScintSD (const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
uint32_t | setDetUnitId (const G4Step *step) override |
~HGCScintSD () override=default | |
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 |
G4bool | ProcessHits (G4Step *step, G4TouchableHistory *) 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 |
double | getEnergyDeposit (const G4Step *) 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 | |
bool | checkHit () |
CaloG4Hit * | createNewHit (const G4Step *) |
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 | 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 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 | |
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 | |
double | birk1_ |
double | birk2_ |
double | birk3_ |
double | distanceFromEdge_ |
double | eminHit_ |
bool | fiducialCut_ |
HGCalGeometryMode::GeometryMode | geom_mode_ |
const HGCalDDDConstants * | hgcons_ |
int | levelT1_ |
int | levelT2_ |
DetId::Detector | mydet_ |
std::string | nameX_ |
std::unique_ptr< HGCalNumberingScheme > | numberingScheme_ |
double | slopeMin_ |
bool | storeAllG4Hits_ |
bool | useBirk_ |
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 HGCScintSD.h.
HGCScintSD::HGCScintSD | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 37 of file HGCScintSD.cc.
References birk1_, birk2_, birk3_, distanceFromEdge_, eminHit_, fiducialCut_, DetId::Forward, g, edm::ParameterSet::getParameter(), DetId::HGCalHSc, MeV, mydet_, dataset::name, nameX_, numberingScheme_, CaloSD::setNumberCheckedHits(), CaloSD::setUseMap(), storeAllG4Hits_, and useBirk_.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 227 of file HGCScintSD.cc.
References eminHit_, CaloG4Hit::getEnergyDeposit(), and CaloSD::tmaxHit.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 95 of file HGCScintSD.cc.
References funct::abs(), birk1_, birk2_, birk3_, CaloSD::getAttenuation(), CaloSD::getResponseWt(), alignCSCRings::r, slopeMin_, useBirk_, weight_, and z.
|
overrideprotectedvirtual |
|
private |
Definition at line 238 of file HGCScintSD.cc.
References distanceFromEdge_, HGCalDDDConstants::distFromEdgeTrap(), fiducialCut_, and hgcons_.
Referenced by setDetUnitId().
|
overridevirtual |
Implements CaloSD.
Definition at line 135 of file HGCScintSD.cc.
References TauDecayModes::dec, triggerObjects_cff::id, isItinFidVolume(), levelT1_, and levelT2_.
|
private |
Definition at line 231 of file HGCScintSD.cc.
References triggerObjects_cff::id, numberingScheme_, and weight_.
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 201 of file HGCScintSD.cc.
References Exception, geom_mode_, HGCalDDDConstants::geomMode(), edm::EventSetup::get(), hgcons_, levelT1_, levelT2_, HGCalDDDConstants::levelTop(), HGCalDDDConstants::minSlope(), mydet_, nameX_, numberingScheme_, and slopeMin_.
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 |
Definition at line 52 of file HGCScintSD.h.
Referenced by getEnergyDeposit(), and HGCScintSD().
|
private |
Definition at line 52 of file HGCScintSD.h.
Referenced by getEnergyDeposit(), and HGCScintSD().
|
private |
Definition at line 52 of file HGCScintSD.h.
Referenced by getEnergyDeposit(), and HGCScintSD().
|
private |
Definition at line 48 of file HGCScintSD.h.
Referenced by HGCScintSD(), and isItinFidVolume().
|
private |
Definition at line 48 of file HGCScintSD.h.
Referenced by filterHit(), and HGCScintSD().
|
private |
Definition at line 50 of file HGCScintSD.h.
Referenced by HGCScintSD(), and isItinFidVolume().
|
private |
Definition at line 47 of file HGCScintSD.h.
Referenced by update().
|
private |
Definition at line 43 of file HGCScintSD.h.
Referenced by isItinFidVolume(), and update().
|
private |
Definition at line 49 of file HGCScintSD.h.
Referenced by setDetUnitId(), and update().
|
private |
Definition at line 49 of file HGCScintSD.h.
Referenced by setDetUnitId(), and update().
|
private |
Definition at line 45 of file HGCScintSD.h.
Referenced by HGCScintSD(), and update().
|
private |
Definition at line 46 of file HGCScintSD.h.
Referenced by HGCScintSD(), and update().
|
private |
Definition at line 44 of file HGCScintSD.h.
Referenced by HGCScintSD(), setDetUnitId(), and update().
|
private |
Definition at line 48 of file HGCScintSD.h.
Referenced by getEnergyDeposit(), and update().
|
private |
Definition at line 50 of file HGCScintSD.h.
Referenced by HGCScintSD().
|
private |
Definition at line 51 of file HGCScintSD.h.
Referenced by getEnergyDeposit(), and HGCScintSD().
|
private |
Definition at line 52 of file HGCScintSD.h.
Referenced by getEnergyDeposit(), and setDetUnitId().