#include <CaloTrkProcessing.h>
Classes | |
struct | Detector |
Public Member Functions | |
CaloTrkProcessing (const std::string &aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *) | |
void | clearHits () override |
void | EndOfEvent (G4HCofThisEvent *) override |
void | fillHits (edm::PCaloHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *) override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *step) override |
~CaloTrkProcessing () 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 BeginOfEvent * > | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step * > | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | detectorLevel (const G4VTouchable *, int &, int *, G4String *) const |
int | detLevels (const G4VTouchable *) const |
G4LogicalVolume * | detLV (const G4VTouchable *, int) const |
std::vector< std::string > | getNames (G4String, const DDsvalues_type &) |
std::vector< double > | getNumbers (G4String, const DDsvalues_type &) |
int | isItCalo (const G4VTouchable *) |
int | isItInside (const G4VTouchable *, int, int) |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
std::vector< Detector > | detectors |
double | eMin |
int | lastTrackID |
const SimTrackManager * | m_trackManager |
bool | putHistory |
bool | testBeam |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
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 > &) |
Definition at line 23 of file CaloTrkProcessing.h.
CaloTrkProcessing::CaloTrkProcessing | ( | const std::string & | aSDname, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 25 of file CaloTrkProcessing.cc.
References gamEcalExtractorBlocks_cff::detector, detectors, eMin, Exception, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), CaloTrkProcessing::Detector::fromDetL, CaloTrkProcessing::Detector::fromDets, CaloTrkProcessing::Detector::fromLevels, SensitiveDetector::getNames(), getNumbers(), edm::ParameterSet::getParameter(), mps_fire::i, gen::k, CaloTrkProcessing::Detector::level, jets_cff::levels, LogDebug, CaloTrkProcessing::Detector::lv, DDFilteredView::mergedSpecifics(), MeV, dataset::name, CaloTrkProcessing::Detector::name, putHistory, pfDeepBoostedJetPreprocessParams_cfi::sv, and testBeam.
|
override |
Definition at line 162 of file CaloTrkProcessing.cc.
|
inlineoverridevirtual |
|
private |
Definition at line 415 of file CaloTrkProcessing.cc.
References mps_fire::i, cuy::ii, hcalDigis_cfi::level, MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and susybsm::HSCParticleType::unknown.
Referenced by isItCalo(), and isItInside().
|
private |
Definition at line 391 of file CaloTrkProcessing.cc.
Referenced by isItCalo(), and isItInside().
|
private |
Definition at line 400 of file CaloTrkProcessing.cc.
References cuy::ii, and hcalDigis_cfi::level.
Referenced by isItCalo(), and isItInside().
|
inlineoverride |
Definition at line 39 of file CaloTrkProcessing.h.
|
inlineoverridevirtual |
Implements SensitiveCaloDetector.
Definition at line 40 of file CaloTrkProcessing.h.
References SensitiveDetector::getNames(), getNumbers(), isItCalo(), isItInside(), and update().
|
private |
Definition at line 250 of file CaloTrkProcessing.cc.
References DDfetch(), Exception, LogDebug, str, DDValue::strings(), and relativeConstraints::value.
|
private |
Definition at line 279 of file CaloTrkProcessing.cc.
References DDfetch(), DDValue::doubles(), Exception, LogDebug, str, and relativeConstraints::value.
Referenced by CaloTrkProcessing(), and fillHits().
|
inlineoverride |
Definition at line 33 of file CaloTrkProcessing.h.
|
private |
Definition at line 307 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors, detLevels(), detLV(), hcalDigis_cfi::level, jets_cff::levels, LogDebug, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillHits(), and update().
|
private |
Definition at line 336 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors, detLevels(), detLV(), globals_cff::id1, globals_cff::id2, jets_cff::levels, LogDebug, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillHits(), and update().
|
inlineoverridevirtual |
Implements SensitiveDetector.
Definition at line 35 of file CaloTrkProcessing.h.
|
inlineoverridevirtual |
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 166 of file CaloTrkProcessing.cc.
References lastTrackID.
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(), fillHits(), 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().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 170 of file CaloTrkProcessing.cc.
References TrackInformation::caloIDChecked(), eMin, Exception, TrackInformation::getIDCaloVolume(), TrackInformation::getIDLastVolume(), TrackInformation::getIDonCaloSurface(), triggerObjects_cff::id, isItCalo(), isItInside(), lastTrackID, LogDebug, MeV, putHistory, TrackInformation::putInHistory(), TrackInformation::setCaloIDChecked(), TrackInformation::setIDonCaloSurface(), and testBeam.
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 71 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), isItCalo(), and isItInside().
|
private |
Definition at line 69 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 70 of file CaloTrkProcessing.h.
Referenced by update().
|
private |
Definition at line 72 of file CaloTrkProcessing.h.
|
private |
Definition at line 68 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 68 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().