#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 28 of file CastorLedAnalysis.h.
|
private |
Definition at line 56 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 ecalGpuTask_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 hcalRecHitTable_cff::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(), and HcalDetId::zside().
|
private |
Definition at line 592 of file CastorLedAnalysis.cc.
References gpuClustering::adc, dqmdumpme::first, mps_fire::i, createfilelist::int, dqmdumpme::k, and CastorDataFrame::size().
void CastorLedAnalysis::LedDone | ( | ) |
Definition at line 496 of file CastorLedAnalysis.cc.
References gather_cfg::cout, and ecalGpuTask_cfi::sample.
void CastorLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 450 of file CastorLedAnalysis.cc.
References ecalGpuTask_cfi::sample.
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(), nano_mu_digi_cff::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 ecalGpuTask_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 108 of file CastorLedAnalysis.h.
|
private |
Definition at line 106 of file CastorLedAnalysis.h.
Definition at line 104 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::ALLLEDS |
Definition at line 99 of file CastorLedAnalysis.h.
struct { ... } CastorLedAnalysis::castorHists |
TH1F* CastorLedAnalysis::CHI2 |
Definition at line 102 of file CastorLedAnalysis.h.
|
private |
Definition at line 111 of file CastorLedAnalysis.h.
|
private |
Definition at line 113 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::LEDMEAN |
Definition at line 101 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::LEDRMS |
Definition at line 100 of file CastorLedAnalysis.h.
Definition at line 98 of file CastorLedAnalysis.h.
|
private |
Definition at line 105 of file CastorLedAnalysis.h.
|
private |
Definition at line 95 of file CastorLedAnalysis.h.
|
private |
Definition at line 80 of file CastorLedAnalysis.h.
|
private |
Definition at line 62 of file CastorLedAnalysis.h.
|
private |
Definition at line 92 of file CastorLedAnalysis.h.
|
private |
Definition at line 82 of file CastorLedAnalysis.h.
|
private |
Definition at line 76 of file CastorLedAnalysis.h.
|
private |
Definition at line 81 of file CastorLedAnalysis.h.
|
private |
Definition at line 75 of file CastorLedAnalysis.h.
|
private |
Definition at line 72 of file CastorLedAnalysis.h.
|
private |
Definition at line 73 of file CastorLedAnalysis.h.
|
private |
Definition at line 74 of file CastorLedAnalysis.h.
|
private |
Definition at line 77 of file CastorLedAnalysis.h.
|
private |
Definition at line 96 of file CastorLedAnalysis.h.
|
private |
Definition at line 94 of file CastorLedAnalysis.h.
|
private |
Definition at line 79 of file CastorLedAnalysis.h.
|
private |
Definition at line 83 of file CastorLedAnalysis.h.
|
private |
Definition at line 112 of file CastorLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 114 of file CastorLedAnalysis.h.
Referenced by crabFunctions.CrabTask::handleNoState(), and crabFunctions.CrabTask::update().