Public Member Functions | |
BscTest (const edm::ParameterSet &p) | |
~BscTest () 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 BeginOfJob *> | |
Observer () | |
void | slotForUpdate (const BeginOfJob * 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 EndOfRun *> | |
Observer () | |
void | slotForUpdate (const EndOfRun * 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 BeginOfTrack *> | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step *> | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfTrack *> | |
Observer () | |
void | slotForUpdate (const EndOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfEvent *> | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | detectorLevel (const G4VTouchable *, int &, int *, G4String *) const |
int | detLevels (const G4VTouchable *) const |
G4String | detName (const G4VTouchable *, int, int) const |
void | update (const BeginOfJob *run) 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 EndOfRun *run) override |
This routine will be called when the appropriate signal arrives. More... | |
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 EndOfTrack *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... | |
Private Attributes | |
Float_t | bsceventarray [1] |
TNtuple * | bsceventntuple |
TFile | bscOutputFile |
G4double | entot0 |
std::string | fDataLabel |
std::string | fOutputFile |
std::string | fRecreateFile |
int | iev |
int | itrk |
G4ThreeVector | lastpo |
int | lastTrackID |
int | numofpart |
double | rinCalo |
G4double | sumEnerDeposit |
G4double | sumStepc |
G4double | sumStepl |
BscAnalysisHistManager * | TheHistManager |
G4double | tracklength0 |
int | verbosity |
int | whichevent |
double | z1 |
double | z2 |
double | z3 |
double | z4 |
double | zinCalo |
Additional Inherited Members | |
Protected Member Functions inherited from SimWatcher | |
void | setMT (bool val) |
Definition at line 96 of file BscTest.cc.
BscTest::BscTest | ( | const edm::ParameterSet & | p | ) |
Definition at line 159 of file BscTest.cc.
References bsceventntuple, fDataLabel, fOutputFile, fRecreateFile, edm::ParameterSet::getParameter(), AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, TheHistManager, verbosity, and whichevent.
|
override |
Definition at line 184 of file BscTest.cc.
References bsceventntuple, bscOutputFile, fOutputFile, fRecreateFile, TheHistManager, verbosity, and BscAnalysisHistManager::writeToFile().
|
private |
Definition at line 607 of file BscTest.cc.
References mps_fire::i, cuy::ii, personalPlayback::level, and Skims_PA_cff::name.
Referenced by update().
|
private |
Definition at line 588 of file BscTest.cc.
Referenced by update().
|
private |
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob *>.
Definition at line 349 of file BscTest.cc.
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 BeginOfRun *>.
Definition at line 356 of file BscTest.cc.
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 EndOfRun *>.
Definition at line 362 of file BscTest.cc.
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 BeginOfEvent *>.
Definition at line 365 of file BscTest.cc.
References iev, verbosity, and whichevent.
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 374 of file BscTest.cc.
References itrk, numofpart, sumEnerDeposit, sumStepc, sumStepl, tracklength0, and verbosity.
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 414 of file BscTest.cc.
References detectorLevel(), detLevels(), entot0, mps_fire::i, numofpart, PbPb_ZMuSkimMuonDPG_cff::particleType, sumEnerDeposit, sumStepc, sumStepl, tracklength0, and verbosity.
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 EndOfTrack *>.
Definition at line 389 of file BscTest.cc.
References BscAnalysisHistManager::getHisto(), itrk, lastpo, sumEnerDeposit, TheHistManager, and verbosity.
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 624 of file BscTest.cc.
References bsceventarray, PVValHelper::eta, nano_mu_digi_cff::float, BscG4Hit::getEnergyLoss(), BscG4Hit::getEntry(), BscG4Hit::getEntryLocalP(), BscG4Hit::getExitLocalP(), BscAnalysisHistManager::getHisto(), BscG4Hit::getUnitID(), mps_fire::i, iev, dqmiolumiharvest::j, lastpo, dqm-mbProfile::log, TrackingDataMCValidation_Standalone_cff::nhits, npart, ntbsc_evt, numofpart, phi, pi, funct::tan(), TheHistManager, tracklength0, BscNumberingScheme::unpackBscIndex(), verbosity, run3scouting_cff::vx, run3scouting_cff::vy, run3scouting_cff::vz, whichevent, z4, ecaldqm::zside(), and geometryCSVtoXML::zz.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 145 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 146 of file BscTest.cc.
Referenced by BscTest(), and ~BscTest().
|
private |
Definition at line 147 of file BscTest.cc.
Referenced by ~BscTest().
|
private |
Definition at line 122 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 151 of file BscTest.cc.
Referenced by BscTest().
|
private |
Definition at line 152 of file BscTest.cc.
Referenced by BscTest(), and ~BscTest().
|
private |
Definition at line 153 of file BscTest.cc.
Referenced by BscTest(), and ~BscTest().
|
private |
Definition at line 120 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 121 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 139 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 131 of file BscTest.cc.
|
private |
Definition at line 137 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 130 of file BscTest.cc.
|
private |
Definition at line 135 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 135 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 135 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 150 of file BscTest.cc.
Referenced by BscTest(), update(), and ~BscTest().
|
private |
Definition at line 122 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 132 of file BscTest.cc.
Referenced by BscTest(), update(), and ~BscTest().
|
private |
Definition at line 148 of file BscTest.cc.
|
private |
Definition at line 142 of file BscTest.cc.
|
private |
Definition at line 142 of file BscTest.cc.
|
private |
Definition at line 142 of file BscTest.cc.
|
private |
Definition at line 142 of file BscTest.cc.
Referenced by update().
|
private |
Definition at line 130 of file BscTest.cc.