#include <CaloTrkProcessing.h>
Classes | |
struct | Detector |
Public Member Functions | |
CaloTrkProcessing (G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *) | |
virtual void | clearHits () |
virtual void | EndOfEvent (G4HCofThisEvent *) |
void | fillHits (edm::PCaloHitContainer &, std::string) |
virtual void | Initialize (G4HCofThisEvent *) |
virtual bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *step) |
virtual | ~CaloTrkProcessing () |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
virtual void | AssignSD (const std::string &vname) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual std::vector< std::string > | getNames () |
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
std::string | nameOfSD () |
void | NaNTrap (G4Step *step) |
void | Register () |
SensitiveDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual | ~SensitiveDetector () |
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) |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) |
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 | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 22 of file CaloTrkProcessing.h.
CaloTrkProcessing::CaloTrkProcessing | ( | G4String | aSDname, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 26 of file CaloTrkProcessing.cc.
References DDFilteredView::addFilter(), detectors, eMin, DDSpecificsFilter::equals, edm::hlt::Exception, alcazmumu_cfi::filter, DDFilteredView::firstChild(), CaloTrkProcessing::Detector::fromDetL, CaloTrkProcessing::Detector::fromDets, CaloTrkProcessing::Detector::fromLevels, SensitiveDetector::getNames(), getNumbers(), edm::ParameterSet::getParameter(), i, relval_steps::k, CaloTrkProcessing::Detector::level, LogDebug, CaloTrkProcessing::Detector::lv, DDFilteredView::mergedSpecifics(), MeV, SensitiveDetector::name, CaloTrkProcessing::Detector::name, contentValuesFiles::number, putHistory, DDSpecificsFilter::setCriteria(), testBeam, and relativeConstraints::value.
|
virtual |
Definition at line 166 of file CaloTrkProcessing.cc.
|
inlinevirtual |
|
private |
Definition at line 419 of file CaloTrkProcessing.cc.
References i, cuy::ii, testEve_cfg::level, MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and susybsm::HSCParticleType::unknown.
Referenced by isItCalo(), and isItInside().
|
private |
Definition at line 395 of file CaloTrkProcessing.cc.
Referenced by isItCalo(), and isItInside().
|
private |
Definition at line 404 of file CaloTrkProcessing.cc.
References cuy::ii, and testEve_cfg::level.
Referenced by isItCalo(), and isItInside().
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 254 of file CaloTrkProcessing.cc.
References DDfetch(), edm::hlt::Exception, LogDebug, DDValue::strings(), and relativeConstraints::value.
|
private |
Definition at line 283 of file CaloTrkProcessing.cc.
References DDfetch(), DDValue::doubles(), edm::hlt::Exception, LogDebug, and relativeConstraints::value.
Referenced by CaloTrkProcessing().
|
inlinevirtual |
|
private |
Definition at line 311 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors, detLevels(), detLV(), testEve_cfg::level, LogDebug, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
private |
Definition at line 340 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors, detLevels(), detLV(), LogDebug, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
inlinevirtual |
Implements SensitiveDetector.
Definition at line 34 of file CaloTrkProcessing.h.
|
inlinevirtual |
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 170 of file CaloTrkProcessing.cc.
References lastTrackID.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 174 of file CaloTrkProcessing.cc.
References TrackInformation::caloIDChecked(), eMin, edm::hlt::Exception, TrackInformation::getIDCaloVolume(), TrackInformation::getIDLastVolume(), TrackInformation::getIDonCaloSurface(), isItCalo(), isItInside(), lastTrackID, LogDebug, MeV, putHistory, TrackInformation::putInHistory(), TrackInformation::setCaloIDChecked(), TrackInformation::setIDonCaloSurface(), and testBeam.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 70 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), isItCalo(), and isItInside().
|
private |
Definition at line 68 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 69 of file CaloTrkProcessing.h.
Referenced by update().
|
private |
Definition at line 71 of file CaloTrkProcessing.h.
|
private |
Definition at line 67 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 67 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().