#include <HcalForwardAnalysis.h>
Classes | |
struct | Photon |
Public Member Functions | |
HcalForwardAnalysis (const edm::ParameterSet &p) | |
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 | |
const SimWatcher & | operator= (const SimWatcher &)=delete |
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 () |
HcalForwardAnalysis (const HcalForwardAnalysis &)=delete | |
void | init () |
const HcalForwardAnalysis & | operator= (const HcalForwardAnalysis &)=delete |
void | parseDetId (int id, int &tower, int &cell, int &fiber) |
void | setPhotons (const EndOfEvent *evt) |
void | update (const BeginOfEvent *evt) 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 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 | |
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 |
edm::Service< TFileService > | theFile |
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) |
Definition at line 33 of file HcalForwardAnalysis.h.
HcalForwardAnalysis::HcalForwardAnalysis | ( | const edm::ParameterSet & | p | ) |
Definition at line 26 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.
|
override |
Definition at line 46 of file HcalForwardAnalysis.cc.
|
privatedelete |
|
private |
|
private |
Definition at line 253 of file HcalForwardAnalysis.cc.
References fiberId, mps_fire::i, createfilelist::int, lambda, nphot, t, thePhotons, theTree, x, y, and z.
Referenced by produce().
|
private |
|
privatedelete |
|
private |
Definition at line 269 of file HcalForwardAnalysis.cc.
References hgcalTowerProducer_cfi::tower.
Referenced by setPhotons().
|
overridevirtual |
Implements SimProducer.
Definition at line 52 of file HcalForwardAnalysis.cc.
References fillEvent(), and fillt.
|
private |
Definition at line 111 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, 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 BeginOfEvent * >.
Definition at line 85 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 BeginOfRun * >.
Definition at line 80 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 93 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().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 91 of file HcalForwardAnalysis.cc.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 78 of file HcalForwardAnalysis.h.
|
private |
Definition at line 79 of file HcalForwardAnalysis.h.
|
private |
Definition at line 84 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 87 of file HcalForwardAnalysis.h.
Referenced by produce(), and setPhotons().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 83 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 82 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 81 of file HcalForwardAnalysis.h.
Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().
|
private |
Definition at line 77 of file HcalForwardAnalysis.h.
Referenced by HcalForwardAnalysis().
|
private |
Definition at line 75 of file HcalForwardAnalysis.h.
Referenced by init().
|
private |
Definition at line 86 of file HcalForwardAnalysis.h.
Referenced by HcalForwardAnalysis(), and setPhotons().
|
private |
Definition at line 85 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), and setPhotons().
|
private |
Definition at line 76 of file HcalForwardAnalysis.h.
Referenced by fillEvent(), and init().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
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 80 of file HcalForwardAnalysis.h.
Referenced by svgfig.Ellipse::__repr__(), clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 80 of file HcalForwardAnalysis.h.
Referenced by clear(), fillEvent(), HcalForwardAnalysis(), init(), geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().