#include <DBremWatcher.h>
Public Member Functions | |
DBremWatcher (edm::ParameterSet const &p) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | update (const BeginOfTrack *trk) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *event) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfEvent *event) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfRun *run) 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... | |
~DBremWatcher () override | |
Public Member Functions inherited from SimProducer | |
const SimProducer & | operator= (const SimProducer &)=delete |
void | registerProducts (edm::ProducesCollector producesCollector) |
SimProducer () | |
SimProducer (const SimProducer &)=delete | |
Public Member Functions inherited from SimWatcher | |
virtual void | beginRun (edm::EventSetup const &) |
bool | isMT () const |
const SimWatcher & | operator= (const SimWatcher &)=delete |
virtual void | registerConsumes (edm::ConsumesCollector) |
SimWatcher () | |
SimWatcher (const SimWatcher &)=delete | |
virtual | ~SimWatcher () |
Public Member Functions inherited from Observer< const BeginOfTrack *> | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * 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 BeginOfRun *> | |
Observer () | |
void | slotForUpdate (const BeginOfRun * 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 EndOfTrack *> | |
Observer () | |
void | slotForUpdate (const EndOfTrack * iT) |
virtual | ~Observer () |
Private Attributes | |
G4ThreeVector | aPrimeTraj |
double | biasFactor |
float | f_energy |
G4ThreeVector | finaltraj |
bool | foundbrem |
float | m_weight |
int | MotherId |
std::vector< int > | pdgs_ |
G4ThreeVector | VertexPos |
Additional Inherited Members | |
Protected Member Functions inherited from SimProducer | |
template<class T > | |
void | produces () |
template<class T > | |
void | produces (const std::string &instanceName) |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 17 of file DBremWatcher.h.
DBremWatcher::DBremWatcher | ( | edm::ParameterSet const & | p | ) |
Definition at line 28 of file DBremWatcher.cc.
References aPrimeTraj, biasFactor, f_energy, finaltraj, foundbrem, edm::ParameterSet::getUntrackedParameter(), dqmdumpme::k, m_weight, AlCaHLTBitMon_ParallelJobs::p, pdgs_, and VertexPos.
|
override |
Definition at line 53 of file DBremWatcher.cc.
|
overridevirtual |
Implements SimProducer.
Definition at line 116 of file DBremWatcher.cc.
References aPrimeTraj, biasFactor, f_energy, hcaldqm::fEvent, finaltraj, foundbrem, m_weight, eostools::move(), funct::pow(), mathSSE::sqrt(), and VertexPos.
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack *>.
Definition at line 55 of file DBremWatcher.cc.
References aPrimeTraj, f_energy, finaltraj, spr::find(), foundbrem, LogDebug, m_weight, dileptonTrigSettings_cff::pdg, pdgs_, TrackInformation::storeTrack(), and VertexPos.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 92 of file DBremWatcher.cc.
References foundbrem, and unpackData-CaloStage2::pname.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent *>.
Definition at line 100 of file DBremWatcher.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 90 of file DBremWatcher.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overridevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfTrack *>.
Definition at line 102 of file DBremWatcher.cc.
References spr::find(), dileptonTrigSettings_cff::pdg, pdgs_, and TrackInformation::storeTrack().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 39 of file DBremWatcher.h.
Referenced by DBremWatcher(), produce(), and update().
|
private |
Definition at line 37 of file DBremWatcher.h.
Referenced by DBremWatcher(), and produce().
|
private |
Definition at line 42 of file DBremWatcher.h.
Referenced by DBremWatcher(), produce(), and update().
|
private |
Definition at line 40 of file DBremWatcher.h.
Referenced by DBremWatcher(), produce(), and update().
|
private |
Definition at line 38 of file DBremWatcher.h.
Referenced by DBremWatcher(), produce(), and update().
|
private |
Definition at line 36 of file DBremWatcher.h.
Referenced by DBremWatcher(), produce(), and update().
|
private |
Definition at line 35 of file DBremWatcher.h.
|
private |
Definition at line 34 of file DBremWatcher.h.
Referenced by DBremWatcher(), and update().
|
private |
Definition at line 41 of file DBremWatcher.h.
Referenced by DBremWatcher(), produce(), and update().