#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 | |
void | getRecord (int, int) |
void | initFile (edm::ParameterSet const &) |
void | loadEventInfo (TBranchObject *) |
void | select (int, double, double=0, double=9) |
Private Attributes | |
TBranchObject * | emBranch |
CastorShowerLibraryInfo * | eventInfo |
TBranchObject * | evtInfo |
unsigned int | evtPerBin |
TBranchObject * | 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 |
CastorShowerEvent * | showerEvent |
std::vector< double > | SLenergies |
std::vector< double > | SLetas |
std::vector< double > | SLphis |
unsigned int | totEvents |
bool | verbose |
Definition at line 27 of file CastorShowerLibrary.h.
CastorShowerLibrary::CastorShowerLibrary | ( | const std::string & | name, |
edm::ParameterSet const & | p | ||
) |
Definition at line 30 of file CastorShowerLibrary.cc.
References initFile(), and AlCaHLTBitMon_ParallelJobs::p.
CastorShowerLibrary::~CastorShowerLibrary | ( | ) |
Definition at line 52 of file CastorShowerLibrary.cc.
References hf.
int CastorShowerLibrary::FindEnergyBin | ( | double | energy | ) |
Definition at line 329 of file CastorShowerLibrary.cc.
References HCALHighEnergyHPDFilter_cfi::energy, mps_fire::i, and SLenergies.
Referenced by select().
int CastorShowerLibrary::FindEtaBin | ( | double | eta | ) |
Definition at line 351 of file CastorShowerLibrary.cc.
References PVValHelper::eta, mps_fire::i, and SLetas.
Referenced by select().
int CastorShowerLibrary::FindPhiBin | ( | double | phi | ) |
Definition at line 371 of file CastorShowerLibrary.cc.
References mps_fire::i, phi, and SLphis.
Referenced by select().
|
protected |
Definition at line 229 of file CastorShowerLibrary.cc.
References emBranch, CastorShowerEvent::getNhit(), hadBranch, LogDebug, GlobalPosition_Frontier_DevDB_cff::record, and showerEvent.
Referenced by select().
CastorShowerEvent CastorShowerLibrary::getShowerHits | ( | const G4Step * | aStep, |
bool & | ok | ||
) |
Definition at line 190 of file CastorShowerLibrary.cc.
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().
|
protected |
Definition at line 59 of file CastorShowerLibrary.cc.
References emBranch, evtInfo, Exception, personalPlayback::fp, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hadBranch, hf, loadEventInfo(), AlCaHLTBitMon_ParallelJobs::p, AlCaHLTBitMon_QueryRunRegistry::string, and verbose.
Referenced by CastorShowerLibrary().
|
protected |
Definition at line 123 of file CastorShowerLibrary.cc.
References MicroEventContent_cff::branch, CastorShowerLibraryInfo::Energy, CastorShowerLibraryInfo::Eta, eventInfo, SLBin::getBin(), SLBin::getNBins(), SLBin::getNEvtPerBin(), SLBin::getNEvts(), GeV, mps_fire::i, nBinsE, nBinsEta, nBinsPhi, nEvtPerBinE, nEvtPerBinEta, nEvtPerBinPhi, CastorShowerLibraryInfo::Phi, SLenergies, SLetas, SLphis, and totEvents.
Referenced by initFile().
|
protected |
Definition at line 264 of file CastorShowerLibrary.cc.
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().
|
private |
Definition at line 49 of file CastorShowerLibrary.h.
Referenced by getRecord(), and initFile().
|
private |
Definition at line 52 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 48 of file CastorShowerLibrary.h.
Referenced by initFile().
|
private |
Definition at line 56 of file CastorShowerLibrary.h.
|
private |
Definition at line 49 of file CastorShowerLibrary.h.
Referenced by getRecord(), and initFile().
|
private |
Definition at line 47 of file CastorShowerLibrary.h.
Referenced by initFile(), and ~CastorShowerLibrary().
|
private |
Definition at line 61 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 61 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 61 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 62 of file CastorShowerLibrary.h.
Referenced by loadEventInfo(), and select().
|
private |
Definition at line 62 of file CastorShowerLibrary.h.
Referenced by loadEventInfo(), and select().
|
private |
Definition at line 62 of file CastorShowerLibrary.h.
Referenced by loadEventInfo(), and select().
|
private |
Definition at line 56 of file CastorShowerLibrary.h.
|
private |
Definition at line 58 of file CastorShowerLibrary.h.
|
private |
Definition at line 53 of file CastorShowerLibrary.h.
Referenced by getRecord().
|
private |
Definition at line 63 of file CastorShowerLibrary.h.
Referenced by FindEnergyBin(), and loadEventInfo().
|
private |
Definition at line 64 of file CastorShowerLibrary.h.
Referenced by FindEtaBin(), and loadEventInfo().
|
private |
Definition at line 65 of file CastorShowerLibrary.h.
Referenced by FindPhiBin(), and loadEventInfo().
|
private |
Definition at line 56 of file CastorShowerLibrary.h.
Referenced by loadEventInfo().
|
private |
Definition at line 55 of file CastorShowerLibrary.h.
Referenced by initFile(), and select().