#include <CheckSecondary.h>
Public Member Functions | |
CheckSecondary (const edm::ParameterSet &p) | |
CheckSecondary (const CheckSecondary &)=delete | |
const CheckSecondary & | operator= (const CheckSecondary &)=delete |
~CheckSecondary () override | |
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 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) |
void | endTree () |
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 G4Step *step) 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... | |
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 | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
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.
|
delete |
|
override |
Definition at line 66 of file CheckSecondary.cc.
References deltae, endTree(), mass, nsec, procids, procs, px, py, pz, saveToTree, treatSecondary, and typeEnumerator.
|
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().
|
delete |
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent *>.
Definition at line 116 of file CheckSecondary.cc.
References caHitNtupletGeneratorKernels::iev, and 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 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(), DiMuonV_cfg::tracks, 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().
|
private |
Definition at line 51 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 53 of file CheckSecondary.h.
Referenced by bookTree(), and endTree().
|
private |
Definition at line 51 of file CheckSecondary.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), bookTree(), CheckSecondary(), datamodel.Object::p4(), and ~CheckSecondary().
|
private |
Definition at line 49 of file CheckSecondary.h.
Referenced by update().
|
private |
Definition at line 50 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 50 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), update(), and ~CheckSecondary().
|
private |
Definition at line 52 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
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(), and ~CheckSecondary().
|
private |
Definition at line 51 of file CheckSecondary.h.
Referenced by bookTree(), CheckSecondary(), and ~CheckSecondary().
|
private |
Definition at line 48 of file CheckSecondary.h.
Referenced by CheckSecondary(), update(), and ~CheckSecondary().
|
private |
Definition at line 48 of file CheckSecondary.h.
Referenced by update().
|
private |
Definition at line 46 of file CheckSecondary.h.
Referenced by CheckSecondary(), update(), and ~CheckSecondary().
|
private |
Definition at line 54 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 47 of file CheckSecondary.h.
Referenced by CheckSecondary(), update(), and ~CheckSecondary().