CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
CastorShowerLibrary Class Reference

#include <CastorShowerLibrary.h>

Public Member Functions

 CastorShowerLibrary (const std::string &name, edm::ParameterSet const &p)
 
int FindEnergyBin (double)
 
int FindEtaBin (double)
 
int FindPhiBin (double)
 
CastorShowerEvent getShowerHits (const G4Step *, bool &)
 
 ~CastorShowerLibrary ()
 

Protected Member Functions

CastorShowerEvent getRecord (int, int)
 
void initFile (edm::ParameterSet const &)
 
void loadEventInfo (TBranch *)
 
CastorShowerEvent select (int, double, double=0, double=9)
 

Private Attributes

TBranch * emBranch
 
unsigned int evtPerBin
 
TBranch * hadBranch
 
TFile * hf
 
unsigned int nBinsE
 
unsigned int nBinsEta
 
unsigned int nBinsPhi
 
unsigned int nEvtPerBinE
 
unsigned int nEvtPerBinEta
 
unsigned int nEvtPerBinPhi
 
unsigned int nMomBin
 
std::vector< double > pmom
 
std::vector< double > SLenergies
 
std::vector< double > SLetas
 
std::vector< double > SLphis
 
unsigned int totEvents
 
bool verbose
 

Detailed Description

Definition at line 27 of file CastorShowerLibrary.h.

Constructor & Destructor Documentation

◆ CastorShowerLibrary()

CastorShowerLibrary::CastorShowerLibrary ( const std::string &  name,
edm::ParameterSet const &  p 
)

Definition at line 30 of file CastorShowerLibrary.cc.

31  : hf(nullptr),
32  emBranch(nullptr),
33  hadBranch(nullptr),
34  verbose(false),
35  nMomBin(0),
36  totEvents(0),
37  evtPerBin(0),
38  nBinsE(0),
39  nBinsEta(0),
40  nBinsPhi(0),
41  nEvtPerBinE(0),
42  nEvtPerBinEta(0),
43  nEvtPerBinPhi(0),
44  SLenergies(),
45  SLetas(),
46  SLphis() {
47  initFile(p);
48 }

References initFile(), and AlCaHLTBitMon_ParallelJobs::p.

◆ ~CastorShowerLibrary()

CastorShowerLibrary::~CastorShowerLibrary ( )

Definition at line 52 of file CastorShowerLibrary.cc.

52  {
53  if (hf)
54  hf->Close();
55 }

References hf.

Member Function Documentation

◆ FindEnergyBin()

int CastorShowerLibrary::FindEnergyBin ( double  energy)

Definition at line 331 of file CastorShowerLibrary.cc.

331  {
332  //
333  // returns the integer index of the energy bin, taken from SLenergies vector
334  // returns -1 if ouside valid range
335  //
336  if (energy >= SLenergies.back())
337  return SLenergies.size() - 1;
338 
339  unsigned int i = 0;
340  for (; i < SLenergies.size() - 1; i++)
341  if (energy >= SLenergies.at(i) && energy < SLenergies.at(i + 1))
342  return (int)i;
343 
344  // now i points to the last but 1 bin
345  if (energy >= SLenergies.at(i))
346  return (int)i;
347  // energy outside bin range
348  return -1;
349 }

References HCALHighEnergyHPDFilter_cfi::energy, mps_fire::i, and SLenergies.

Referenced by select().

◆ FindEtaBin()

int CastorShowerLibrary::FindEtaBin ( double  eta)

Definition at line 353 of file CastorShowerLibrary.cc.

353  {
354  //
355  // returns the integer index of the eta bin, taken from SLetas vector
356  // returns -1 if ouside valid range
357  //
358  if (eta >= SLetas.back())
359  return SLetas.size() - 1;
360  unsigned int i = 0;
361  for (; i < SLetas.size() - 1; i++)
362  if (eta >= SLetas.at(i) && eta < SLetas.at(i + 1))
363  return (int)i;
364  // now i points to the last but 1 bin
365  if (eta >= SLetas.at(i))
366  return (int)i;
367  // eta outside bin range
368  return -1;
369 }

References PVValHelper::eta, mps_fire::i, and SLetas.

Referenced by select().

◆ FindPhiBin()

int CastorShowerLibrary::FindPhiBin ( double  phi)

Definition at line 373 of file CastorShowerLibrary.cc.

373  {
374  //
375  // returns the integer index of the phi bin, taken from SLphis vector
376  // returns -1 if ouside valid range
377  //
378  // needs protection in case phi is outside range -pi,pi
379  //
380  if (phi >= SLphis.back())
381  return SLphis.size() - 1;
382  unsigned int i = 0;
383  for (; i < SLphis.size() - 1; i++)
384  if (phi >= SLphis.at(i) && phi < SLphis.at(i + 1))
385  return (int)i;
386  // now i points to the last but 1 bin
387  if (phi >= SLphis.at(i))
388  return (int)i;
389  // phi outside bin range
390  return -1;
391 }

References mps_fire::i, phi, and SLphis.

Referenced by select().

◆ getRecord()

CastorShowerEvent CastorShowerLibrary::getRecord ( int  type,
int  record 
)
protected

Definition at line 229 of file CastorShowerLibrary.cc.

229  {
231  //
232  // Retrieve event # "record" from the library and stores it
233  // into vector<CastorShowerHit> showerHit;
234  //
235  // Based on HFShowerLibrary::getRecord
236  //
237  // Modified 02/02/09 by W. Carvalho
238  //
240 
241 #ifdef EDM_ML_DEBUG
242  LogDebug("CastorShower") << "CastorShowerLibrary::getRecord: ";
243 #endif
244  int nrc = record;
245  CastorShowerEvent retValue;
246  CastorShowerEvent* showerEvent = &retValue;
247  if (type > 0) {
248  hadBranch->SetAddress(&showerEvent);
249  hadBranch->GetEntry(nrc);
250  } else {
251  emBranch->SetAddress(&showerEvent);
252  emBranch->GetEntry(nrc);
253  }
254 
255 #ifdef EDM_ML_DEBUG
256  int nHit = showerEvent->getNhit();
257  LogDebug("CastorShower") << "CastorShowerLibrary::getRecord: Record " << record << " of type " << type << " with "
258  << nHit << " CastorShowerHits";
259 
260 #endif
261  return retValue;
262 }

References emBranch, CastorShowerEvent::getNhit(), hadBranch, LogDebug, and AlCaHarvesting_cff::record.

Referenced by select().

◆ getShowerHits()

CastorShowerEvent CastorShowerLibrary::getShowerHits ( const G4Step *  aStep,
bool &  ok 
)

Definition at line 191 of file CastorShowerLibrary.cc.

191  {
192  G4StepPoint* preStepPoint = aStep->GetPreStepPoint();
193  G4Track* track = aStep->GetTrack();
194 
195  const G4ThreeVector& hitPoint = preStepPoint->GetPosition();
196 
198  hit.Clear();
199 
200  ok = false;
203  return hit;
204  }
205  ok = true;
206 
207  double pin = preStepPoint->GetTotalEnergy();
208  double zint = hitPoint.z();
209  double R = sqrt(hitPoint.x() * hitPoint.x() + hitPoint.y() * hitPoint.y());
210  double theta = atan2(R, std::abs(zint));
211  double phiin = atan2(hitPoint.y(), hitPoint.x());
212  double etain = -std::log(std::tan((CLHEP::pi - theta) * 0.5));
213 
214  // Replace "interpolation/extrapolation" by new method "select" that just randomly
215  // selects a record from the appropriate energy bin and fills its content to
216  // "showerEvent" instance of class CastorShowerEvent
217 
218  if (isEM) {
219  hit = select(0, pin, etain, phiin);
220  } else {
221  hit = select(1, pin, etain, phiin);
222  }
223 
224  return hit;
225 }

References funct::abs(), G4TrackToParticleID::isGammaElectronPositron(), G4TrackToParticleID::isStableHadronIon(), dqm-mbProfile::log, convertSQLiteXML::ok, pi, dttmaxenums::R, select(), mathSSE::sqrt(), funct::tan(), theta(), and HLT_FULL_cff::track.

Referenced by CastorSD::getFromLibrary().

◆ initFile()

void CastorShowerLibrary::initFile ( edm::ParameterSet const &  p)
protected

Definition at line 59 of file CastorShowerLibrary.cc.

59  {
61  //
62  // Init TFile and associated TBranch's of CASTOR Root file
63  // holding library events
64  //
66 
67  //
68  // Read PSet for Castor shower library
69  //
70 
71  edm::ParameterSet m_CS = p.getParameter<edm::ParameterSet>("CastorShowerLibrary");
72  edm::FileInPath fp = m_CS.getParameter<edm::FileInPath>("FileName");
73  std::string pTreeName = fp.fullPath();
74  std::string branchEvInfo = m_CS.getUntrackedParameter<std::string>("BranchEvt");
75  std::string branchEM = m_CS.getUntrackedParameter<std::string>("BranchEM");
76  std::string branchHAD = m_CS.getUntrackedParameter<std::string>("BranchHAD");
77  verbose = m_CS.getUntrackedParameter<bool>("Verbosity", false);
78 
79  // Open TFile
80  if (pTreeName.find('.') == 0)
81  pTreeName.erase(0, 2);
82  const char* nTree = pTreeName.c_str();
83  hf = TFile::Open(nTree);
84 
85  // Check that TFile has been successfully opened
86  if (!hf->IsOpen()) {
87  edm::LogError("CastorShower") << "CastorShowerLibrary: opening " << nTree << " failed";
88  throw cms::Exception("Unknown", "CastorShowerLibrary") << "Opening of " << pTreeName << " fails\n";
89  } else {
90  edm::LogVerbatim("CastorShower") << "CastorShowerLibrary: opening " << nTree << " successfully";
91  }
92 
93  // Check for the TBranch holding EventVerbatim in "Events" TTree
94  TTree* event = hf->Get<TTree>("CastorCherenkovPhotons");
95  if (event) {
96  auto evtInfo = event->GetBranch(branchEvInfo.c_str());
97  if (evtInfo) {
98  loadEventInfo(evtInfo);
99  } else {
100  edm::LogError("CastorShower") << "CastorShowerLibrary: " << branchEvInfo.c_str()
101  << " Branch does not exit in Event";
102  throw cms::Exception("Unknown", "CastorShowerLibrary") << "Event information absent\n";
103  }
104  } else {
105  edm::LogError("CastorShower") << "CastorShowerLibrary: Events Tree does not exist";
106  throw cms::Exception("Unknown", "CastorShowerLibrary") << "Events tree absent\n";
107  }
108 
109  // Get EM and HAD Branchs
110  emBranch = event->GetBranch(branchEM.c_str());
111  if (verbose)
112  emBranch->Print();
113  hadBranch = event->GetBranch(branchHAD.c_str());
114  if (verbose)
115  hadBranch->Print();
116  edm::LogVerbatim("CastorShower") << "CastorShowerLibrary: Branch " << branchEM << " has " << emBranch->GetEntries()
117  << " entries and Branch " << branchHAD << " has " << hadBranch->GetEntries()
118  << " entries";
119 }

References emBranch, Exception, personalPlayback::fp, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hadBranch, hf, loadEventInfo(), AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, and verbose.

Referenced by CastorShowerLibrary().

◆ loadEventInfo()

void CastorShowerLibrary::loadEventInfo ( TBranch *  branch)
protected

Definition at line 123 of file CastorShowerLibrary.cc.

123  {
125  //
126  // Get EventInfo from the "TBranch* branch" of Root file
127  // holding library events
128  //
129  // Based on HFShowerLibrary::loadEventInfo
130  //
132 
133  CastorShowerLibraryInfo tempInfo;
134  auto* eventInfo = &tempInfo;
135  branch->SetAddress(&eventInfo);
136  branch->GetEntry(0);
137  // Initialize shower library general parameters
138 
139  totEvents = eventInfo->Energy.getNEvts();
140  nBinsE = eventInfo->Energy.getNBins();
141  nEvtPerBinE = eventInfo->Energy.getNEvtPerBin();
142  SLenergies = eventInfo->Energy.getBin();
143  nBinsEta = eventInfo->Eta.getNBins();
144  nEvtPerBinEta = eventInfo->Eta.getNEvtPerBin();
145  SLetas = eventInfo->Eta.getBin();
146  nBinsPhi = eventInfo->Phi.getNBins();
147  nEvtPerBinPhi = eventInfo->Phi.getNEvtPerBin();
148  SLphis = eventInfo->Phi.getBin();
149 
150  // Convert from GeV to MeV
151  for (unsigned int i = 0; i < SLenergies.size(); i++) {
152  SLenergies[i] *= CLHEP::GeV;
153  }
154 
155  edm::LogVerbatim("CastorShower") << " CastorShowerLibrary::loadEventInfo : "
156  << "\n \n Total number of events : " << totEvents
157  << "\n Number of bins (E) : " << nBinsE
158  << "\n Number of events/bin (E) : " << nEvtPerBinE
159  << "\n Number of bins (Eta) : " << nBinsEta
160  << "\n Number of events/bin (Eta) : " << nEvtPerBinEta
161  << "\n Number of bins (Phi) : " << nBinsPhi
162  << "\n Number of events/bin (Phi) : " << nEvtPerBinPhi << "\n";
163 
164  std::stringstream ss1;
165  ss1 << "CastorShowerLibrary: energies in GeV:\n";
166  for (unsigned int i = 0; i < nBinsE; ++i) {
167  if (i > 0 && i / 10 * 10 == i) {
168  ss1 << "\n";
169  }
170  ss1 << " " << SLenergies[i] / CLHEP::GeV;
171  }
172  ss1 << "\nCastorShowerLibrary: etas:\n";
173  for (unsigned int i = 0; i < nBinsEta; ++i) {
174  if (i > 0 && i / 10 * 10 == i) {
175  ss1 << "\n";
176  }
177  ss1 << " " << SLetas[i];
178  }
179  ss1 << "\nCastorShowerLibrary: phis:\n";
180  for (unsigned int i = 0; i < nBinsPhi; ++i) {
181  if (i > 0 && i / 10 * 10 == i) {
182  ss1 << "\n";
183  }
184  ss1 << " " << SLphis[i];
185  }
186  edm::LogVerbatim("CastorShower") << ss1.str();
187 }

References MicroEventContent_cff::branch, dumpTauVariables_cfi::eventInfo, GeV, mps_fire::i, nBinsE, nBinsEta, nBinsPhi, nEvtPerBinE, nEvtPerBinEta, nEvtPerBinPhi, SLenergies, SLetas, SLphis, and totEvents.

Referenced by initFile().

◆ select()

CastorShowerEvent CastorShowerLibrary::select ( int  type,
double  pin,
double  etain = 0,
double  phiin = 9 
)
protected

Definition at line 266 of file CastorShowerLibrary.cc.

266  {
268  //
269  // Selects an event from the library based on
270  //
271  // type: 0 --> em
272  // >0 --> had
273  // pin : momentum
274  // etain: eta (if not given, disregard the eta binning
275  // phiin: phi (if not given, disregard the phi binning
276  //
277  // Created 30/01/09 by W. Carvalho
278  //
280 
281  int irec; // to hold record number
282  double r = G4UniformRand(); // to randomly select within an energy bin (r=[0,1])
283 
284  // Randomly select a record from the right energy bin in the library,
285  // based on track momentum (pin)
286 
287  int ienergy = FindEnergyBin(pin);
288  int ieta = FindEtaBin(etain);
289 #ifdef EDM_ML_DEBUG
290  if (verbose)
291  edm::LogVerbatim("CastorShower") << " ienergy = " << ienergy;
292  if (verbose)
293  edm::LogVerbatim("CastorShower") << " ieta = " << ieta;
294 #endif
295 
296  int iphi;
297  const double phiMin = 0.;
298  const double phiMax = M_PI / 4.; // 45 * (pi/180) rad
299  if (phiin < phiMin)
300  phiin = phiin + M_PI;
301  if (phiin >= phiMin && phiin < phiMax) {
302  iphi = FindPhiBin(phiin);
303  } else {
304  double remainder = fmod(phiin, phiMax);
305  phiin = phiMin + remainder;
306  iphi = FindPhiBin(phiin);
307  }
308 #ifdef EDM_ML_DEBUG
309  if (verbose)
310  edm::LogVerbatim("CastorShower") << " iphi = " << iphi;
311 #endif
312  if (ienergy == -1)
313  ienergy = 0; // if pin < first bin, choose an event in the first one
314  if (ieta == -1)
315  ieta = 0; // idem for eta
316  if (iphi != -1)
317  irec = int(nEvtPerBinE * ienergy + nEvtPerBinEta * ieta + nEvtPerBinPhi * (iphi + r));
318  else
319  irec = int(nEvtPerBinE * (ienergy + r));
320 
321 #ifdef EDM_ML_DEBUG
322  edm::LogVerbatim("CastorShower") << "CastorShowerLibrary:: Select record " << irec << " of type " << type;
323 #endif
324 
325  // Retrieve record number "irec" from the library
326  return getRecord(type, irec);
327 }

References FindEnergyBin(), FindEtaBin(), FindPhiBin(), getRecord(), LEDCalibrationChannels::ieta, createfilelist::int, LEDCalibrationChannels::iphi, M_PI, nEvtPerBinE, nEvtPerBinEta, nEvtPerBinPhi, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, alignCSCRings::r, and verbose.

Referenced by getShowerHits().

Member Data Documentation

◆ emBranch

TBranch* CastorShowerLibrary::emBranch
private

Definition at line 48 of file CastorShowerLibrary.h.

Referenced by getRecord(), and initFile().

◆ evtPerBin

unsigned int CastorShowerLibrary::evtPerBin
private

Definition at line 51 of file CastorShowerLibrary.h.

◆ hadBranch

TBranch * CastorShowerLibrary::hadBranch
private

Definition at line 48 of file CastorShowerLibrary.h.

Referenced by getRecord(), and initFile().

◆ hf

TFile* CastorShowerLibrary::hf
private

Definition at line 47 of file CastorShowerLibrary.h.

Referenced by initFile(), and ~CastorShowerLibrary().

◆ nBinsE

unsigned int CastorShowerLibrary::nBinsE
private

Definition at line 56 of file CastorShowerLibrary.h.

Referenced by loadEventInfo().

◆ nBinsEta

unsigned int CastorShowerLibrary::nBinsEta
private

Definition at line 56 of file CastorShowerLibrary.h.

Referenced by loadEventInfo().

◆ nBinsPhi

unsigned int CastorShowerLibrary::nBinsPhi
private

Definition at line 56 of file CastorShowerLibrary.h.

Referenced by loadEventInfo().

◆ nEvtPerBinE

unsigned int CastorShowerLibrary::nEvtPerBinE
private

Definition at line 57 of file CastorShowerLibrary.h.

Referenced by loadEventInfo(), and select().

◆ nEvtPerBinEta

unsigned int CastorShowerLibrary::nEvtPerBinEta
private

Definition at line 57 of file CastorShowerLibrary.h.

Referenced by loadEventInfo(), and select().

◆ nEvtPerBinPhi

unsigned int CastorShowerLibrary::nEvtPerBinPhi
private

Definition at line 57 of file CastorShowerLibrary.h.

Referenced by loadEventInfo(), and select().

◆ nMomBin

unsigned int CastorShowerLibrary::nMomBin
private

Definition at line 51 of file CastorShowerLibrary.h.

◆ pmom

std::vector<double> CastorShowerLibrary::pmom
private

Definition at line 53 of file CastorShowerLibrary.h.

◆ SLenergies

std::vector<double> CastorShowerLibrary::SLenergies
private

Definition at line 58 of file CastorShowerLibrary.h.

Referenced by FindEnergyBin(), and loadEventInfo().

◆ SLetas

std::vector<double> CastorShowerLibrary::SLetas
private

Definition at line 59 of file CastorShowerLibrary.h.

Referenced by FindEtaBin(), and loadEventInfo().

◆ SLphis

std::vector<double> CastorShowerLibrary::SLphis
private

Definition at line 60 of file CastorShowerLibrary.h.

Referenced by FindPhiBin(), and loadEventInfo().

◆ totEvents

unsigned int CastorShowerLibrary::totEvents
private

Definition at line 51 of file CastorShowerLibrary.h.

Referenced by loadEventInfo().

◆ verbose

bool CastorShowerLibrary::verbose
private

Definition at line 50 of file CastorShowerLibrary.h.

Referenced by initFile(), and select().

CastorShowerLibrary::SLphis
std::vector< double > SLphis
Definition: CastorShowerLibrary.h:60
CastorShowerLibrary::nBinsEta
unsigned int nBinsEta
Definition: CastorShowerLibrary.h:56
mps_fire.i
i
Definition: mps_fire.py:428
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11724
CastorShowerLibrary::nMomBin
unsigned int nMomBin
Definition: CastorShowerLibrary.h:51
CastorShowerLibrary::initFile
void initFile(edm::ParameterSet const &)
Definition: CastorShowerLibrary.cc:59
CastorShowerEvent::getNhit
unsigned int getNhit()
Definition: CastorShowerEvent.h:50
MicroEventContent_cff.branch
branch
Definition: MicroEventContent_cff.py:174
CastorShowerLibrary::getRecord
CastorShowerEvent getRecord(int, int)
Definition: CastorShowerLibrary.cc:229
CastorShowerLibrary::SLetas
std::vector< double > SLetas
Definition: CastorShowerLibrary.h:59
CastorShowerLibrary::FindPhiBin
int FindPhiBin(double)
Definition: CastorShowerLibrary.cc:373
CastorShowerLibrary::loadEventInfo
void loadEventInfo(TBranch *)
Definition: CastorShowerLibrary.cc:123
personalPlayback.fp
fp
Definition: personalPlayback.py:523
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
CastorShowerLibrary::FindEnergyBin
int FindEnergyBin(double)
Definition: CastorShowerLibrary.cc:331
G4TrackToParticleID::isGammaElectronPositron
static bool isGammaElectronPositron(int pdgCode)
Definition: G4TrackToParticleID.cc:17
CastorShowerLibrary::hf
TFile * hf
Definition: CastorShowerLibrary.h:47
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
CastorShowerLibrary::FindEtaBin
int FindEtaBin(double)
Definition: CastorShowerLibrary.cc:353
CastorShowerLibrary::nEvtPerBinPhi
unsigned int nEvtPerBinPhi
Definition: CastorShowerLibrary.h:57
CastorShowerLibrary::nEvtPerBinE
unsigned int nEvtPerBinE
Definition: CastorShowerLibrary.h:57
edm::FileInPath
Definition: FileInPath.h:61
CastorShowerLibraryInfo
Definition: CastorShowerLibraryInfo.h:41
CastorShowerLibrary::select
CastorShowerEvent select(int, double, double=0, double=9)
Definition: CastorShowerLibrary.cc:266
PVValHelper::eta
Definition: PVValidationHelpers.h:70
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
AlignmentTrackSelector_cfi.phiMin
phiMin
Definition: AlignmentTrackSelector_cfi.py:18
CastorShowerLibrary::totEvents
unsigned int totEvents
Definition: CastorShowerLibrary.h:51
AlignmentTrackSelector_cfi.phiMax
phiMax
Definition: AlignmentTrackSelector_cfi.py:17
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
CastorShowerLibrary::emBranch
TBranch * emBranch
Definition: CastorShowerLibrary.h:48
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
CastorShowerLibrary::evtPerBin
unsigned int evtPerBin
Definition: CastorShowerLibrary.h:51
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CastorShowerEvent
Definition: CastorShowerEvent.h:15
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
GeV
const double GeV
Definition: MathUtil.h:16
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
CastorShowerLibrary::verbose
bool verbose
Definition: CastorShowerLibrary.h:50
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
createfilelist.int
int
Definition: createfilelist.py:10
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CastorShowerLibrary::nBinsPhi
unsigned int nBinsPhi
Definition: CastorShowerLibrary.h:56
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDAxes::phi
dumpTauVariables_cfi.eventInfo
eventInfo
add run, event number and lumi section
Definition: dumpTauVariables_cfi.py:12
CastorShowerLibrary::nEvtPerBinEta
unsigned int nEvtPerBinEta
Definition: CastorShowerLibrary.h:57
CastorShowerLibrary::nBinsE
unsigned int nBinsE
Definition: CastorShowerLibrary.h:56
G4TrackToParticleID::isStableHadronIon
static bool isStableHadronIon(const G4Track *)
Definition: G4TrackToParticleID.cc:40
CastorShowerLibrary::SLenergies
std::vector< double > SLenergies
Definition: CastorShowerLibrary.h:58
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
Exception
Definition: hltDiff.cc:245
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
pi
const Double_t pi
Definition: trackSplitPlot.h:36
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
CastorShowerLibrary::hadBranch
TBranch * hadBranch
Definition: CastorShowerLibrary.h:48
event
Definition: event.py:1
dttmaxenums::R
Definition: DTTMax.h:29
hit
Definition: SiStripHitEffFromCalibTree.cc:88