#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 |
char | output [100] |
int | sample |
std::vector< bool > | state |
Definition at line 33 of file CastorLedAnalysis.h.
|
private |
Definition at line 66 of file CastorLedAnalysis.h.
CastorLedAnalysis::CastorLedAnalysis | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 17 of file CastorLedAnalysis.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), relval_2017::k, convertSQLitetoXML_cfg::output, and compare_using_db::sample.
CastorLedAnalysis::~CastorLedAnalysis | ( | ) |
Destructor.
All done, clean up!!
Definition at line 133 of file CastorLedAnalysis.cc.
References i.
|
private |
|
private |
Definition at line 155 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), i, HcalDetId::ietaAbs(), HcalDetId::iphi(), j, convertSQLitetoXML_cfg::output, DetId::rawId(), mathSSE::sqrt(), HcalDetId::subdet(), and HcalDetId::zside().
|
private |
Definition at line 550 of file CastorLedAnalysis.cc.
References ecalMGPA::adc(), plotBeamSpotDB::first, CastorDbService::getCastorCoder(), CastorDbService::getCastorShape(), CastorDbService::getPedestal(), i, relval_2017::k, and CastorDataFrame::size().
void CastorLedAnalysis::LedDone | ( | ) |
Definition at line 460 of file CastorLedAnalysis.cc.
References gather_cfg::cout, and compare_using_db::sample.
void CastorLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 414 of file CastorLedAnalysis.cc.
References compare_using_db::sample.
void CastorLedAnalysis::LedSetup | ( | const std::string & | m_outputFileROOT | ) |
Definition at line 147 of file CastorLedAnalysis.cc.
|
private |
Definition at line 428 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), HcalDetId::ieta(), HcalDetId::iphi(), j, and mergeVDriftHistosByStation::name.
void CastorLedAnalysis::processLedEvent | ( | const CastorDigiCollection & | castor, |
const CastorDbService & | cond | ||
) |
Definition at line 487 of file CastorLedAnalysis.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), i, CastorDataFrame::id(), j, compare_using_db::sample, and edm::SortedCollection< T, SORT >::size().
|
private |
Definition at line 516 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), i, HcalDetId::ieta(), edm::eventsetup::heterocontainer::insert(), HcalDetId::iphi(), and mergeVDriftHistosByStation::name.
|
private |
Definition at line 116 of file CastorLedAnalysis.h.
|
private |
Definition at line 114 of file CastorLedAnalysis.h.
Definition at line 112 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::ALLLEDS |
Definition at line 107 of file CastorLedAnalysis.h.
struct { ... } CastorLedAnalysis::castorHists |
TH1F* CastorLedAnalysis::CHI2 |
Definition at line 110 of file CastorLedAnalysis.h.
|
private |
Definition at line 119 of file CastorLedAnalysis.h.
|
private |
Definition at line 121 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::LEDMEAN |
Definition at line 109 of file CastorLedAnalysis.h.
TH1F* CastorLedAnalysis::LEDRMS |
Definition at line 108 of file CastorLedAnalysis.h.
Definition at line 106 of file CastorLedAnalysis.h.
|
private |
Definition at line 113 of file CastorLedAnalysis.h.
|
private |
Definition at line 103 of file CastorLedAnalysis.h.
|
private |
Definition at line 88 of file CastorLedAnalysis.h.
|
private |
Definition at line 72 of file CastorLedAnalysis.h.
|
private |
Definition at line 100 of file CastorLedAnalysis.h.
|
private |
Definition at line 90 of file CastorLedAnalysis.h.
|
private |
Definition at line 83 of file CastorLedAnalysis.h.
|
private |
Definition at line 89 of file CastorLedAnalysis.h.
|
private |
Definition at line 82 of file CastorLedAnalysis.h.
|
private |
Definition at line 79 of file CastorLedAnalysis.h.
|
private |
Definition at line 80 of file CastorLedAnalysis.h.
|
private |
Definition at line 81 of file CastorLedAnalysis.h.
|
private |
Definition at line 84 of file CastorLedAnalysis.h.
|
private |
Definition at line 104 of file CastorLedAnalysis.h.
|
private |
Definition at line 102 of file CastorLedAnalysis.h.
|
private |
Definition at line 87 of file CastorLedAnalysis.h.
|
private |
Definition at line 91 of file CastorLedAnalysis.h.
|
private |
Definition at line 85 of file CastorLedAnalysis.h.
Referenced by personalPlayback.Playback::do_create_lumi(), and personalPlayback.Playback::do_exec().
|
private |
Definition at line 120 of file CastorLedAnalysis.h.
Referenced by svgfig.Curve::Path().
|
private |
Definition at line 122 of file CastorLedAnalysis.h.