#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 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, jetCorrFactors_cfi::levels, LogDebug, CaloTrkProcessing::Detector::lv, DDFilteredView::mergedSpecifics(), MeV, SensitiveDetector::name, CaloTrkProcessing::Detector::name, putHistory, and testBeam.
|
virtual |
Definition at line 163 of file CaloTrkProcessing.cc.
|
inlinevirtual |
|
private |
Definition at line 416 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 392 of file CaloTrkProcessing.cc.
Referenced by isItCalo(), and isItInside().
|
private |
Definition at line 401 of file CaloTrkProcessing.cc.
References cuy::ii, and hcalDigis_cfi::level.
Referenced by isItCalo(), and isItInside().
|
inlinevirtual |
|
inlinevirtual |
Implements SensitiveCaloDetector.
Definition at line 39 of file CaloTrkProcessing.h.
References SensitiveDetector::getNames(), getNumbers(), isItCalo(), isItInside(), and update().
|
private |
Definition at line 251 of file CaloTrkProcessing.cc.
References DDfetch(), Exception, LogDebug, harvestTrackValidationPlots::str, DDValue::strings(), and relativeConstraints::value.
|
private |
Definition at line 280 of file CaloTrkProcessing.cc.
References DDfetch(), DDValue::doubles(), Exception, LogDebug, harvestTrackValidationPlots::str, and relativeConstraints::value.
Referenced by CaloTrkProcessing(), and fillHits().
|
inlinevirtual |
|
private |
Definition at line 308 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors, detLevels(), detLV(), hcalDigis_cfi::level, jetCorrFactors_cfi::levels, LogDebug, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillHits(), and update().
|
private |
Definition at line 337 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors, detLevels(), detLV(), jetCorrFactors_cfi::levels, LogDebug, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by fillHits(), and 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 167 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().
|
privatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 171 of file CaloTrkProcessing.cc.
References TrackInformation::caloIDChecked(), eMin, Exception, TrackInformation::getIDCaloVolume(), TrackInformation::getIDLastVolume(), TrackInformation::getIDonCaloSurface(), hcalTTPDigis_cfi::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 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().