#include <CastorLedAnalysis.h>
Classes | |
struct | CALIBBUNCH |
Public Member Functions | |
CastorLedAnalysis (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | LedDone () |
void | LedSampleAnalysis () |
void | LedSetup (const std::string &m_outputFileROOT) |
void | processLedEvent (const CastorDigiCollection &castor, const CastorDbService &cond) |
~CastorLedAnalysis () | |
Destructor. More... | |
Private Types | |
typedef std::pair< TH1F *, std::pair< std::map< int, std::vector< double > >, std::vector< TH1F * > > > | LEDBUNCH |
Private Member Functions | |
float | BinsizeCorr (float time) |
void | GetLedConst (std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT) |
void | LedCastorHists (const HcalDetId &detid, const CastorDataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const CastorDbService &cond) |
void | LedTrendings (std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT) |
void | SetupLEDHists (int id, const HcalDetId detid, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT) |
Private Attributes | |
std::map< HcalCalibDetId, CALIBBUNCH >::iterator | _meca |
std::map< HcalDetId, std::map< int, float > >::iterator | _meee |
std::map< HcalDetId, std::map< int, LEDBUNCH > >::iterator | _meol |
struct { | |
TH1F * ALLLEDS | |
TH1F * CHI2 | |
TH1F * LEDMEAN | |
TH1F * LEDRMS | |
std::map< HcalDetId, std::map< int, LEDBUNCH > > LEDTRENDS | |
} | castorHists |
int | evt |
int | evt_curr |
std::map< HcalDetId, std::map< int, float > > | m_AllPedVals |
const CastorQIECoder * | m_coder |
int | m_endTS |
TFile * | m_file |
int | m_fitflag |
int | m_hiSaveflag |
std::ofstream | m_logFile |
int | m_nevtsample |
std::ofstream | m_outFile |
std::string | m_outputFileROOT |
std::string | m_outputFileText |
std::string | m_outputFileX |
std::ofstream | m_outputFileXML |
const CastorPedestal * | m_ped |
const CastorQIEShape * | m_shape |
int | m_startTS |
bool | m_usecalib |
int | sample |
std::vector< bool > | state |
Definition at line 30 of file CastorLedAnalysis.h.
|
private |
Definition at line 58 of file CastorLedAnalysis.h.
CastorLedAnalysis::CastorLedAnalysis | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 16 of file CastorLedAnalysis.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), dqmdumpme::k, convertSQLitetoXML_cfg::output, DeadROC_duringRun::runNum, and simplePhotonAnalyzer_cfi::sample.
CastorLedAnalysis::~CastorLedAnalysis | ( | ) |
Destructor.
All done, clean up!!
Definition at line 137 of file CastorLedAnalysis.cc.
References mps_fire::i.
|
private |
Definition at line 669 of file CastorLedAnalysis.cc.
References mps_fire::i, createfilelist::int, and ntuplemaker::time.
|
private |
Definition at line 160 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), mps_fire::i, HcalDetId::ietaAbs(), HcalDetId::iphi(), dqmiolumiharvest::j, convertSQLitetoXML_cfg::output, DetId::rawId(), mathSSE::sqrt(), HcalDetId::subdet(), tools::TF1, and HcalDetId::zside().
|
private |
Definition at line 592 of file CastorLedAnalysis.cc.
References ecalLiteDTU::adc(), dqmdumpme::first, mps_fire::i, createfilelist::int, dqmdumpme::k, CastorDataFrame::size(), and tools::TF1.
void CastorLedAnalysis::LedDone | ( | ) |
Definition at line 496 of file CastorLedAnalysis.cc.
References gather_cfg::cout, and simplePhotonAnalyzer_cfi::sample.
void CastorLedAnalysis::LedSampleAnalysis | ( | ) |
void CastorLedAnalysis::LedSetup | ( | const std::string & | m_outputFileROOT | ) |
Definition at line 152 of file CastorLedAnalysis.cc.
|
private |
Definition at line 464 of file CastorLedAnalysis.cc.
References trigObjTnPSource_cfi::bins, HcalDetId::depth(), dqmMemoryStats::float, HcalDetId::ieta(), HcalDetId::iphi(), dqmiolumiharvest::j, and Skims_PA_cff::name.
void CastorLedAnalysis::processLedEvent | ( | const CastorDigiCollection & | castor, |
const CastorDbService & | cond | ||
) |
Definition at line 522 of file CastorLedAnalysis.cc.
References castorDigitizer_cfi::castor, mps_fire::i, CastorDataFrame::id(), dqmiolumiharvest::j, and simplePhotonAnalyzer_cfi::sample.
|
private |
Definition at line 550 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), mps_fire::i, HcalDetId::ieta(), edm::eventsetup::heterocontainer::insert(), HcalDetId::iphi(), and Skims_PA_cff::name.
|
private |
Definition at line 110 of file CastorLedAnalysis.h.
|
private |
Definition at line 108 of file CastorLedAnalysis.h.
Definition at line 106 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::ALLLEDS |
Definition at line 101 of file CastorLedAnalysis.h.
struct { ... } CastorLedAnalysis::castorHists |
TH1F* CastorLedAnalysis::CHI2 |
Definition at line 104 of file CastorLedAnalysis.h.
|
private |
Definition at line 113 of file CastorLedAnalysis.h.
|
private |
Definition at line 115 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::LEDMEAN |
Definition at line 103 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::LEDRMS |
Definition at line 102 of file CastorLedAnalysis.h.
Definition at line 100 of file CastorLedAnalysis.h.
|
private |
Definition at line 107 of file CastorLedAnalysis.h.
|
private |
Definition at line 97 of file CastorLedAnalysis.h.
|
private |
Definition at line 82 of file CastorLedAnalysis.h.
|
private |
Definition at line 64 of file CastorLedAnalysis.h.
|
private |
Definition at line 94 of file CastorLedAnalysis.h.
|
private |
Definition at line 84 of file CastorLedAnalysis.h.
|
private |
Definition at line 78 of file CastorLedAnalysis.h.
|
private |
Definition at line 83 of file CastorLedAnalysis.h.
|
private |
Definition at line 77 of file CastorLedAnalysis.h.
|
private |
Definition at line 74 of file CastorLedAnalysis.h.
|
private |
Definition at line 75 of file CastorLedAnalysis.h.
|
private |
Definition at line 76 of file CastorLedAnalysis.h.
|
private |
Definition at line 79 of file CastorLedAnalysis.h.
|
private |
Definition at line 98 of file CastorLedAnalysis.h.
|
private |
Definition at line 96 of file CastorLedAnalysis.h.
|
private |
Definition at line 81 of file CastorLedAnalysis.h.
|
private |
Definition at line 85 of file CastorLedAnalysis.h.
|
private |
Definition at line 114 of file CastorLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 116 of file CastorLedAnalysis.h.
Referenced by crabFunctions.CrabTask::handleNoState(), and crabFunctions.CrabTask::update().