#include <CheckSecondary.h>
Public Member Functions | |
CheckSecondary (const edm::ParameterSet &p) | |
~CheckSecondary () override | |
Public Member Functions inherited from SimWatcher | |
SimWatcher () | |
virtual | ~SimWatcher () |
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 EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step * > | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
TTree * | bookTree (std::string) |
CheckSecondary (const CheckSecondary &)=delete | |
void | endTree () |
const CheckSecondary & | operator= (const CheckSecondary &)=delete |
void | update (const BeginOfEvent *evt) 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 EndOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *step) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
std::vector< double > * | deltae |
TFile * | file |
std::vector< double > * | mass |
int | nHad |
std::vector< int > * | nsec |
std::vector< int > * | procids |
std::vector< std::string > * | procs |
std::vector< double > * | px |
std::vector< double > * | py |
std::vector< double > * | pz |
bool | saveToTree |
bool | storeIt |
TreatSecondary * | treatSecondary |
TTree * | tree |
G4ProcessTypeEnumerator * | typeEnumerator |
Additional Inherited Members |
Definition at line 25 of file CheckSecondary.h.
CheckSecondary::CheckSecondary | ( | const edm::ParameterSet & | p | ) |
Definition at line 25 of file CheckSecondary.cc.
References bookTree(), deltae, edm::ParameterSet::getUntrackedParameter(), mass, nsec, AlCaHLTBitMon_ParallelJobs::p, procids, procs, px, py, pz, fed_dqm_sourceclient-live_cfg::saveFile, saveToTree, AlCaHLTBitMon_QueryRunRegistry::string, treatSecondary, and typeEnumerator.
|
override |
Definition at line 66 of file CheckSecondary.cc.
References deltae, endTree(), mass, nsec, procids, procs, px, py, pz, saveToTree, treatSecondary, and typeEnumerator.
|
privatedelete |
|
private |
Definition at line 91 of file CheckSecondary.cc.
References deltae, file, MillePedeFileConverter_cfg::fileName, mass, nsec, procids, procs, px, py, pz, and RandomServiceHelper::t1.
Referenced by CheckSecondary().
|
private |
Definition at line 107 of file CheckSecondary.cc.
References file.
Referenced by ~CheckSecondary().
|
privatedelete |
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 116 of file CheckSecondary.cc.
References LogDebug.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack * >.
Definition at line 130 of file CheckSecondary.cc.
References TreatSecondary::initTrack(), LogDebug, nHad, storeIt, and treatSecondary.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfEvent * >.
Definition at line 175 of file CheckSecondary.cc.
References mps_fire::i, LogDebug, G4ProcessTypeEnumerator::processG4Name(), procids, saveToTree, and typeEnumerator.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 142 of file CheckSecondary.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, EgHLTOffHistBins_cfi::deltaE, mps_fire::i, createfilelist::int, LogDebug, visualization-live-secondInstance_cfg::m, mag(), Skims_PA_cff::name, nHad, fileinputsource_cfi::sec, storeIt, AlCaHLTBitMon_QueryRunRegistry::string, TreatSecondary::tracks(), PDWG_EXOHSCP_cff::tracks, and treatSecondary.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 52 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 54 of file CheckSecondary.h.
Referenced by bookTree(), and endTree().
|
private |
Definition at line 52 of file CheckSecondary.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 50 of file CheckSecondary.h.
Referenced by update().
|
private |
Definition at line 51 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 51 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), update(), and ~CheckSecondary().
|
private |
Definition at line 53 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 52 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 52 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 52 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 49 of file CheckSecondary.h.
Referenced by CheckSecondary(), update(), and ~CheckSecondary().
|
private |
Definition at line 49 of file CheckSecondary.h.
Referenced by update().
|
private |
Definition at line 47 of file CheckSecondary.h.
Referenced by CheckSecondary(), update(), and ~CheckSecondary().
|
private |
Definition at line 55 of file CheckSecondary.h.
Referenced by svgfig.SVG::__str__(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::beginLoop(), MetTreeProducer.MetTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::declareVariables(), core.AutoFillTreeProducer.AutoFillTreeProducer::fillTree(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer::process(), MetTreeProducer.MetTreeProducer::process(), and python.cmstools.EventTree::SetAlias().
|
private |
Definition at line 48 of file CheckSecondary.h.
Referenced by CheckSecondary(), update(), and ~CheckSecondary().