Classes | |
struct | Photon |
Public Member Functions | |
HcalForwardAnalysis (const edm::ParameterSet &p) | |
HcalForwardAnalysis (const HcalForwardAnalysis &)=delete | |
const HcalForwardAnalysis & | operator= (const HcalForwardAnalysis &)=delete |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HcalForwardAnalysis () 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 BeginOfRun *> | |
Observer () | |
void | slotForUpdate (const BeginOfRun * 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 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 | |
void | clear () |
void | fillEvent () |
void | init () |
void | parseDetId (int id, int &tower, int &cell, int &fiber) |
void | setPhotons (const EndOfEvent *evt) |
void | update (const BeginOfRun *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 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 | |
int | count |
int | evNum |
int | fiberId [10000] |
bool | fillt |
float | lambda [10000] |
int | nphot |
float | primMomX |
float | primMomY |
float | primMomZ |
float | primT |
float | primX |
float | primY |
float | primZ |
float | t [10000] |
int | theEventCounter |
std::vector< std::string > | theNames |
std::vector< Photon > | thePhotons |
TTree * | theTree |
float | x [10000] |
float | y [10000] |
float | z [10000] |
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 39 of file HcalForwardAnalysis.cc.
HcalForwardAnalysis::HcalForwardAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 94 of file HcalForwardAnalysis.cc.
References fiberId, edm::ParameterSet::getParameter(), mps_fire::i, init(), lambda, nphot, AlCaHLTBitMon_ParallelJobs::p, primMomX, primMomY, primMomZ, primT, primX, primY, primZ, t, theEventCounter, theNames, x, y, and z.
|
delete |
|
override |
Definition at line 114 of file HcalForwardAnalysis.cc.
|
private |
|
private |
Definition at line 340 of file HcalForwardAnalysis.cc.
References fiberId, mps_fire::i, createfilelist::int, lambda, nphot, t, thePhotons, theTree, x, y, and z.
Referenced by produce().
|
private |
|
delete |
|
private |
Definition at line 356 of file HcalForwardAnalysis.cc.
References hgcalTowerProducer_cfi::tower.
Referenced by setPhotons().
|
overridevirtual |
Implements SimProducer.
Definition at line 120 of file HcalForwardAnalysis.cc.
References fillEvent(), and fillt.
|
private |
Definition at line 184 of file HcalForwardAnalysis.cc.
References funct::cos(), FiberG4Hit::depth(), fillt, HFShowerG4Hit::globalPosition(), HFShowerG4Hit::hitId(), dqmiolumiharvest::j, dqmdumpme::k, HFShowerPhoton::lambda(), Skims_PA_cff::name, parseDetId(), phi, FiberG4Hit::photon(), nanoDQM_cff::Photon, HFShowerG4Hit::primaryMomDir(), primMomX, primMomY, primMomZ, primT, primX, primY, primZ, heavyFlavorDQMFirstStep_cff::sdName, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, HFShowerPhoton::t(), theNames, thePhotons, theta(), HFShowerG4Hit::time(), FiberG4Hit::towerId(), HFShowerG4Hit::trackId(), HFShowerPhoton::x(), geometryCSVtoXML::xx, HFShowerPhoton::y(), geometryCSVtoXML::yy, HFShowerPhoton::z(), gpuVertexFinder::zv, and geometryCSVtoXML::zz.
Referenced by update().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun *>.
Definition at line 149 of file HcalForwardAnalysis.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 154 of file HcalForwardAnalysis.cc.
References clear(), and evNum.
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 162 of file HcalForwardAnalysis.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 EndOfEvent *>.
Definition at line 164 of file HcalForwardAnalysis.cc.
References count, and setPhotons().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 82 of file HcalForwardAnalysis.cc.
|
private |
Definition at line 83 of file HcalForwardAnalysis.cc.
|
private |
Definition at line 88 of file HcalForwardAnalysis.cc.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 91 of file HcalForwardAnalysis.cc.
Referenced by produce(), and setPhotons().
|
private |
Definition at line 84 of file HcalForwardAnalysis.cc.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 87 of file HcalForwardAnalysis.cc.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 86 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 86 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 86 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.cc.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 84 of file HcalForwardAnalysis.cc.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 81 of file HcalForwardAnalysis.cc.
Referenced by HcalForwardAnalysis().
|
private |
Definition at line 90 of file HcalForwardAnalysis.cc.
Referenced by HcalForwardAnalysis(), and setPhotons().
|
private |
Definition at line 89 of file HcalForwardAnalysis.cc.
Referenced by clear(), fillEvent(), and setPhotons().
|
private |
Definition at line 80 of file HcalForwardAnalysis.cc.
Referenced by fillEvent(), and init().
|
private |
Definition at line 84 of file HcalForwardAnalysis.cc.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 84 of file HcalForwardAnalysis.cc.
Referenced by svgfig.Ellipse::__repr__(), clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 84 of file HcalForwardAnalysis.cc.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().