CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
HcalForwardAnalysis Class Reference
Inheritance diagram for HcalForwardAnalysis:
SimProducer Observer< const BeginOfRun *> Observer< const BeginOfEvent *> Observer< const EndOfEvent *> Observer< const G4Step *> SimWatcher

Classes

struct  Photon
 

Public Member Functions

 HcalForwardAnalysis (const edm::ParameterSet &p)
 
 HcalForwardAnalysis (const HcalForwardAnalysis &)=delete
 
const HcalForwardAnalysisoperator= (const HcalForwardAnalysis &)=delete
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~HcalForwardAnalysis () override
 
- Public Member Functions inherited from SimProducer
const SimProduceroperator= (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 SimWatcheroperator= (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< PhotonthePhotons
 
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)
 

Detailed Description

Definition at line 39 of file HcalForwardAnalysis.cc.

Constructor & Destructor Documentation

◆ HcalForwardAnalysis() [1/2]

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.

94  {
95  edm::ParameterSet m_SLP = p.getParameter<edm::ParameterSet>("HFShowerLibraryProducer");
96  theNames = m_SLP.getParameter<std::vector<std::string> >("Names");
97  //LibVer = m_HS.getParameter<std::string> ("LibVer");
98  //produces<HFShowerPhotonCollection> ();
99  init();
100  theEventCounter = 0;
101  nphot = 0;
102  for (int i = 0; i < 10000; ++i) {
103  x[i] = 0.;
104  y[i] = 0.;
105  z[i] = 0.;
106  t[i] = 0.;
107  lambda[i] = 0.;
108  fiberId[i] = 0;
109  }
110  primX = primY = primZ = primT = 0.;
111  primMomX = primMomY = primMomZ = 0.;
112 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< std::string > theNames

◆ HcalForwardAnalysis() [2/2]

HcalForwardAnalysis::HcalForwardAnalysis ( const HcalForwardAnalysis )
delete

◆ ~HcalForwardAnalysis()

HcalForwardAnalysis::~HcalForwardAnalysis ( )
override

Definition at line 114 of file HcalForwardAnalysis.cc.

114 {}

Member Function Documentation

◆ clear()

void HcalForwardAnalysis::clear ( void  )
private

Definition at line 362 of file HcalForwardAnalysis.cc.

References fiberId, mps_fire::i, lambda, nphot, primMomX, primMomY, primMomZ, primT, primX, primY, primZ, t, thePhotons, x, y, and z.

Referenced by init(), and update().

362  {
363  nphot = 0;
364  for (int i = 0; i < 10000; ++i) {
365  x[i] = 0.;
366  y[i] = 0.;
367  z[i] = 0.;
368  t[i] = 0.;
369  lambda[i] = 0.;
370  fiberId[i] = 0;
371  }
372  primX = primY = primZ = primT = 0.;
373  primMomX = primMomY = primMomZ = 0.;
374 
375  thePhotons.clear();
376 }
std::vector< Photon > thePhotons

◆ fillEvent()

void HcalForwardAnalysis::fillEvent ( )
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().

340  {
341 #ifdef EDM_ML_DEBUG
342  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis: =====> filledEvent";
343 #endif
344  nphot = int(thePhotons.size());
345  for (int i = 0; i < nphot; ++i) {
346  x[i] = thePhotons[i].x;
347  y[i] = thePhotons[i].y;
348  z[i] = thePhotons[i].z;
349  t[i] = thePhotons[i].t;
350  lambda[i] = thePhotons[i].lambda;
351  fiberId[i] = thePhotons[i].fiberId;
352  }
353  theTree->Fill();
354 }
Log< level::Info, true > LogVerbatim
std::vector< Photon > thePhotons

◆ init()

void HcalForwardAnalysis::init ( void  )
private

Definition at line 125 of file HcalForwardAnalysis.cc.

References clear(), count, evNum, fiberId, lambda, nphot, primMomX, primMomY, primMomZ, primT, primX, primY, primZ, t, makeListRunsInFiles::theFile, theTree, x, y, and z.

Referenced by HcalForwardAnalysis().

125  {
127  theTree = theFile->make<TTree>("CherenkovPhotons", "Cherenkov Photons");
128  theTree->Branch("nphot", &nphot, "nphot/I");
129  theTree->Branch("x", &x, "x[nphot]/F");
130  theTree->Branch("y", &y, "y[nphot]/F");
131  theTree->Branch("z", &z, "z[nphot]/F");
132  theTree->Branch("t", &t, "t[nphot]/F");
133  theTree->Branch("lambda", &lambda, "lambda[nphot]/F");
134  theTree->Branch("fiberId", &fiberId, "fiberId[nphot]/I");
135  theTree->Branch("primX", &primX, "primX/F");
136  theTree->Branch("primY", &primY, "primY/F");
137  theTree->Branch("primZ", &primZ, "primZ/F");
138  theTree->Branch("primMomX", &primMomX, "primMomX/F");
139  theTree->Branch("primMomY", &primMomY, "primMomY/F");
140  theTree->Branch("primMomZ", &primMomZ, "primMomZ/F");
141  theTree->Branch("primT", &primT, "primT/F");
142 
143  // counter
144  count = 0;
145  evNum = 0;
146  clear();
147 }

◆ operator=()

const HcalForwardAnalysis& HcalForwardAnalysis::operator= ( const HcalForwardAnalysis )
delete

◆ parseDetId()

void HcalForwardAnalysis::parseDetId ( int  id,
int &  tower,
int &  cell,
int &  fiber 
)
private

Definition at line 356 of file HcalForwardAnalysis.cc.

References l1tHGCalTowerProducer_cfi::tower.

Referenced by setPhotons().

356  {
357  tower = id / 10000;
358  cell = id / 10 - tower * 10;
359  fiber = id - tower * 10000 - cell * 10;
360 }

◆ produce()

void HcalForwardAnalysis::produce ( edm::Event iEvent,
const edm::EventSetup  
)
overridevirtual

Implements SimProducer.

Definition at line 120 of file HcalForwardAnalysis.cc.

References fillEvent(), and fillt.

120  {
121  if (fillt)
122  fillEvent();
123 }

◆ setPhotons()

void HcalForwardAnalysis::setPhotons ( const EndOfEvent evt)
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_cfi::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(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::zv, and geometryCSVtoXML::zz.

Referenced by update().

184  {
185  fillt = true;
186  int idHC, j;
187  FiberG4HitsCollection* theHC;
188  // Look for the Hit Collection of HCal
189  G4HCofThisEvent* allHC = (*evt)()->GetHCofThisEvent();
190 #ifdef EDM_ML_DEBUG
191  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis:: Has " << allHC->GetNumberOfCollections()
192  << " collections";
193  for (int k = 0; k < allHC->GetNumberOfCollections(); ++k) {
194  G4String name = (allHC->GetHC(k) == nullptr) ? "Unknown" : allHC->GetHC(k)->GetName();
195  G4String nameSD = (allHC->GetHC(k) == nullptr) ? "Unknown" : allHC->GetHC(k)->GetSDname();
196  edm::LogVerbatim("HcalForwardLib") << "Collecttion[" << k << "] " << allHC->GetHC(k) << " " << name << ":"
197  << nameSD;
198  }
199 #endif
200  std::string sdName = theNames[0]; //name for fiber hits
201  idHC = G4SDManager::GetSDMpointer()->GetCollectionID(sdName);
202  theHC = (FiberG4HitsCollection*)allHC->GetHC(idHC);
203 #ifdef EDM_ML_DEBUG
204  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons() Hit Collection for " << sdName << " of ID "
205  << idHC << " is obtained at " << theHC;
206 #endif
207  std::vector<HFShowerPhoton> ShortFiberPhotons;
208  std::vector<HFShowerPhoton> LongFiberPhotons;
209  LongFiberPhotons.clear();
210  ShortFiberPhotons.clear();
211  if (idHC >= 0 && theHC != nullptr) {
212  int thehc_entries = theHC->entries();
213 #ifdef EDM_ML_DEBUG
214  edm::LogVerbatim("HcalForwardLib") << "FiberhitSize " << thehc_entries;
215 #endif
216  for (j = 0; j < thehc_entries; j++) {
217  FiberG4Hit* aHit = (*theHC)[j];
218  std::vector<HFShowerPhoton> thePhotonsFromHit = aHit->photon();
219 #ifdef EDM_ML_DEBUG
220  edm::LogVerbatim("HcalForwardLib") << "Fiberhit " << j << " has " << thePhotonsFromHit.size() << " photons.";
221 #endif
222  int fTowerId = -1;
223  int fCellId = -1;
224  int fFiberId = -1;
225  parseDetId(aHit->towerId(), fTowerId, fCellId, fFiberId);
226  for (unsigned int iph = 0; iph < thePhotonsFromHit.size(); ++iph) {
227  if (aHit->depth() == 1)
228  LongFiberPhotons.push_back(thePhotonsFromHit[iph]);
229  if (aHit->depth() == 2)
230  ShortFiberPhotons.push_back(thePhotonsFromHit[iph]);
231  }
232 #ifdef EDM_ML_DEBUG
233  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons() NbPhotons " << thePhotonsFromHit.size()
234  << " towerId " << fTowerId << " cellId " << fCellId << " fiberId " << fFiberId
235  << " depth " << aHit->depth();
236 #endif
237  }
238  } else {
239  fillt = false;
240 #ifdef EDM_ML_DEBUG
241  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons(): No Photons!";
242 #endif
243  return;
244  }
245  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons() LongFibPhotons: " << LongFiberPhotons.size()
246  << " ShortFibPhotons: " << ShortFiberPhotons.size();
247  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons() LongFibPhotons: " << LongFiberPhotons.size()
248  << " ShortFibPhotons: " << ShortFiberPhotons.size();
249 
250  //Chamber hits to find information about primary particle on surface
251  HFShowerG4HitsCollection* theChamberHC;
252  G4HCofThisEvent* allChamberHC = (*evt)()->GetHCofThisEvent();
253  sdName = theNames[1];
254  idHC = G4SDManager::GetSDMpointer()->GetCollectionID(sdName);
255  theChamberHC = (HFShowerG4HitsCollection*)allChamberHC->GetHC(idHC);
256  math::XYZPoint primPosOnSurf(0, 0, 0);
257  math::XYZPoint primMomDirOnSurf(0, 0, 0);
258  float primTimeOnSurf = 0;
259  // the chamber hit is for primary particle, but step size can be small
260  // (in newer Geant4 versions) and as a result primary particle may have
261  // multiple hits. We want to take last one which is close the HF absorber
262  // if (idHC >= 0 && theChamberHC != nullptr && theChamberHC->entries()>0) {
263  if (idHC >= 0 && theChamberHC != nullptr) {
264  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons() Chamber Hits size: "
265  << theChamberHC->entries();
266  int thec_hc_entries = theChamberHC->entries();
267  for (j = 0; j < thec_hc_entries; ++j) {
268  HFShowerG4Hit* aHit = (*theChamberHC)[j];
269 #ifdef EDM_ML_DEBUG
270  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons() Chamber Hit id " << aHit->hitId()
271  << " track id " << aHit->trackId() << " prim. pos. " << aHit->globalPosition()
272  << " prom mom. dir. " << aHit->primaryMomDir() << " time " << aHit->time();
273 #endif
274  primPosOnSurf.SetXYZ(aHit->globalPosition().x(), aHit->globalPosition().y(), aHit->globalPosition().z());
275  primMomDirOnSurf.SetXYZ(aHit->primaryMomDir().x(), aHit->primaryMomDir().y(), aHit->primaryMomDir().z());
276  primTimeOnSurf = aHit->time();
277  }
278  } else {
279  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons(): No Chamber hits are stored";
280  fillt = false;
281  return;
282  }
283  primX = primPosOnSurf.x();
284  primY = primPosOnSurf.y();
285  primZ = primPosOnSurf.z();
286  if (primZ < 990) { // there were interactions before HF
287  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::setPhotons(): First interaction before HF";
288  fillt = false;
289  return;
290  }
291  primT = primTimeOnSurf;
292  primMomX = primMomDirOnSurf.x();
293  primMomY = primMomDirOnSurf.y();
294  primMomZ = primMomDirOnSurf.z();
295  //angles for rotation matrices
296  double theta = primMomDirOnSurf.theta();
297  double phi = primMomDirOnSurf.phi();
298 
299  // my insert ----------------------------------------------------------------
300  double sphi = sin(phi);
301  double cphi = cos(phi);
302  double ctheta = cos(theta);
303  double stheta = sin(theta);
304 
305  double pex = 0, pey = 0, zv = 0;
306  double xx, yy, zz;
307 
308  for (unsigned int k = 0; k < LongFiberPhotons.size(); ++k) {
309  HFShowerPhoton aPhoton = LongFiberPhotons[k];
310  // global coordinates
311  xx = aPhoton.x();
312  yy = aPhoton.y();
313  zz = aPhoton.z();
314 
315  // local coordinates in rotated to shower axis system and vs shower origin
316  pex = xx * ctheta * cphi + yy * ctheta * sphi - zz * stheta;
317  pey = -xx * sphi + yy * cphi;
318  zv = xx * stheta * cphi + yy * stheta * sphi + zz * ctheta - primZ / ctheta;
319 
320  double photonProdTime = aPhoton.t() - primTimeOnSurf;
321  thePhotons.push_back(Photon(1, pex, pey, zv, photonProdTime, aPhoton.lambda()));
322  }
323  for (unsigned int k = 0; k < ShortFiberPhotons.size(); ++k) {
324  HFShowerPhoton aPhoton = ShortFiberPhotons[k];
325  // global coordinates
326  xx = aPhoton.x();
327  yy = aPhoton.y();
328  zz = aPhoton.z();
329 
330  // local coordinates in rotated to shower axis system and vs shower origin
331  pex = xx * ctheta * cphi + yy * ctheta * sphi - zz * stheta;
332  pey = -xx * sphi + yy * cphi;
333  zv = xx * stheta * cphi + yy * stheta * sphi + zz * ctheta - primZ / ctheta;
334 
335  double photonProdTime = aPhoton.t() - primTimeOnSurf;
336  thePhotons.push_back(Photon(2, pex, pey, zv, photonProdTime, aPhoton.lambda()));
337  }
338 }
G4int depth() const
Definition: FiberG4Hit.h:45
Log< level::Info, true > LogVerbatim
G4int hitId() const
Definition: HFShowerG4Hit.h:46
G4ThreeVector globalPosition() const
Definition: HFShowerG4Hit.h:51
G4int towerId() const
Definition: FiberG4Hit.h:44
G4double time() const
Definition: HFShowerG4Hit.h:49
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
float t() const
float x() const
std::vector< Photon > thePhotons
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
std::vector< HFShowerPhoton > photon() const
Definition: FiberG4Hit.h:50
float lambda() const
G4ThreeVector primaryMomDir() const
Definition: HFShowerG4Hit.h:52
G4int trackId() const
Definition: HFShowerG4Hit.h:47
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
std::vector< std::string > theNames
G4THitsCollection< FiberG4Hit > FiberG4HitsCollection
Definition: FiberG4Hit.h:54
float y() const
float z() const
Geom::Theta< T > theta() const
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection
Definition: HFShowerG4Hit.h:55
void parseDetId(int id, int &tower, int &cell, int &fiber)

◆ update() [1/4]

void HcalForwardAnalysis::update ( const BeginOfRun )
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().

149  {
150  int irun = (*run)()->GetRunID();
151  edm::LogVerbatim("HcalForwardLib") << " =====> Begin of Run = " << irun;
152 }
Log< level::Info, true > LogVerbatim

◆ update() [2/4]

void HcalForwardAnalysis::update ( const BeginOfEvent )
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().

154  {
155  evNum = (*evt)()->GetEventID();
156  clear();
157 #ifdef EDM_ML_DEBUG
158  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis: =====> Begin of event = " << evNum;
159 #endif
160 }
Log< level::Info, true > LogVerbatim

◆ update() [3/4]

void HcalForwardAnalysis::update ( const G4Step *  )
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().

162 {}

◆ update() [4/4]

void HcalForwardAnalysis::update ( const EndOfEvent )
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().

164  {
165  count++;
166 
167  //fill the buffer
168 #ifdef EDM_ML_DEBUG
169  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis::Fill event " << (*evt)()->GetEventID();
170 #endif
171  setPhotons(evt);
172 
173  int iEvt = (*evt)()->GetEventID();
174  if (iEvt < 10)
175  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis:: Event " << iEvt;
176  else if ((iEvt < 100) && (iEvt % 10 == 0))
177  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis:: Event " << iEvt;
178  else if ((iEvt < 1000) && (iEvt % 100 == 0))
179  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis:: Event " << iEvt;
180  else if ((iEvt < 10000) && (iEvt % 1000 == 0))
181  edm::LogVerbatim("HcalForwardLib") << "HcalForwardAnalysis:: Event " << iEvt;
182 }
Log< level::Info, true > LogVerbatim
void setPhotons(const EndOfEvent *evt)

Member Data Documentation

◆ count

int HcalForwardAnalysis::count
private

Definition at line 82 of file HcalForwardAnalysis.cc.

Referenced by init(), and update().

◆ evNum

int HcalForwardAnalysis::evNum
private

Definition at line 83 of file HcalForwardAnalysis.cc.

Referenced by init(), and update().

◆ fiberId

int HcalForwardAnalysis::fiberId[10000]
private

Definition at line 88 of file HcalForwardAnalysis.cc.

Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().

◆ fillt

bool HcalForwardAnalysis::fillt
private

Definition at line 91 of file HcalForwardAnalysis.cc.

Referenced by produce(), and setPhotons().

◆ lambda

float HcalForwardAnalysis::lambda[10000]
private

Definition at line 84 of file HcalForwardAnalysis.cc.

Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().

◆ nphot

int HcalForwardAnalysis::nphot
private

Definition at line 87 of file HcalForwardAnalysis.cc.

Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().

◆ primMomX

float HcalForwardAnalysis::primMomX
private

Definition at line 86 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ primMomY

float HcalForwardAnalysis::primMomY
private

Definition at line 86 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ primMomZ

float HcalForwardAnalysis::primMomZ
private

Definition at line 86 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ primT

float HcalForwardAnalysis::primT
private

Definition at line 85 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ primX

float HcalForwardAnalysis::primX
private

Definition at line 85 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ primY

float HcalForwardAnalysis::primY
private

Definition at line 85 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ primZ

float HcalForwardAnalysis::primZ
private

Definition at line 85 of file HcalForwardAnalysis.cc.

Referenced by clear(), HcalForwardAnalysis(), init(), and setPhotons().

◆ t

float HcalForwardAnalysis::t[10000]
private

Definition at line 84 of file HcalForwardAnalysis.cc.

Referenced by clear(), fillEvent(), HcalForwardAnalysis(), and init().

◆ theEventCounter

int HcalForwardAnalysis::theEventCounter
private

Definition at line 81 of file HcalForwardAnalysis.cc.

Referenced by HcalForwardAnalysis().

◆ theNames

std::vector<std::string> HcalForwardAnalysis::theNames
private

Definition at line 90 of file HcalForwardAnalysis.cc.

Referenced by HcalForwardAnalysis(), and setPhotons().

◆ thePhotons

std::vector<Photon> HcalForwardAnalysis::thePhotons
private

Definition at line 89 of file HcalForwardAnalysis.cc.

Referenced by clear(), fillEvent(), and setPhotons().

◆ theTree

TTree* HcalForwardAnalysis::theTree
private

Definition at line 80 of file HcalForwardAnalysis.cc.

Referenced by fillEvent(), and init().

◆ x

float HcalForwardAnalysis::x[10000]
private

◆ y

float HcalForwardAnalysis::y[10000]
private

◆ z

float HcalForwardAnalysis::z[10000]
private