#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(), gen::k, convertSQLitetoXML_cfg::output, 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, and createfilelist::int.
|
private |
Definition at line 160 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), mps_fire::i, HcalDetId::ietaAbs(), HcalDetId::iphi(), convertSQLitetoXML_cfg::output, DetId::rawId(), mathSSE::sqrt(), HcalDetId::subdet(), and HcalDetId::zside().
|
private |
Definition at line 592 of file CastorLedAnalysis.cc.
References ecalMGPA::adc(), plotBeamSpotDB::first, CastorDbService::getCastorCoder(), CastorDbService::getCastorShape(), CastorDbService::getPedestal(), mps_fire::i, createfilelist::int, gen::k, and CastorDataFrame::size().
void CastorLedAnalysis::LedDone | ( | ) |
Definition at line 496 of file CastorLedAnalysis.cc.
References gather_cfg::cout, and simplePhotonAnalyzer_cfi::sample.
void CastorLedAnalysis::LedSampleAnalysis | ( | ) |
Definition at line 450 of file CastorLedAnalysis.cc.
References simplePhotonAnalyzer_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 create_public_pileup_plots::bins, HcalDetId::depth(), objects.autophobj::float, HcalDetId::ieta(), HcalDetId::iphi(), and dataset::name.
void CastorLedAnalysis::processLedEvent | ( | const CastorDigiCollection & | castor, |
const CastorDbService & | cond | ||
) |
Definition at line 522 of file CastorLedAnalysis.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), mps_fire::i, CastorDataFrame::id(), simplePhotonAnalyzer_cfi::sample, and edm::SortedCollection< T, SORT >::size().
|
private |
Definition at line 550 of file CastorLedAnalysis.cc.
References HcalDetId::depth(), mps_fire::i, HcalDetId::ieta(), edm::eventsetup::heterocontainer::insert(), HcalDetId::iphi(), and dataset::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().