#include <L1TDTTPGClient.h>
|
| L1TDTTPGClient (const edm::ParameterSet &ps) |
| Constructor. More...
|
|
virtual | ~L1TDTTPGClient () |
| Destructor. More...
|
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
virtual | ~EDAnalyzer () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
|
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
| Fake Analyze. More...
|
|
void | beginJob (void) |
| BeginJob. More...
|
|
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
|
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
| BeginRun. More...
|
|
void | endJob () |
| Endjob. More...
|
|
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
| DQM Client Diagnostic. More...
|
|
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
| EndRun. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
Definition at line 21 of file L1TDTTPGClient.h.
L1TDTTPGClient::~L1TDTTPGClient |
( |
| ) |
|
|
virtual |
Fake Analyze.
Implements edm::EDAnalyzer.
Definition at line 120 of file L1TDTTPGClient.cc.
126 string nName =
"DT_TPG_phi_best_map_corr";
127 string dName =
"DT_TPG_phi_best_map";
129 dName =
"DT_TPG_phi_map";
130 nName =
"DT_TPG_phi_map_2nd";
132 nName =
"DT_TPG_phi_map_bx-1";
134 nName =
"DT_TPG_phi_map_bx0";
136 nName =
"DT_TPG_phi_map_bx+1";
139 nName =
"DT_TPG_theta_best_map_h";
140 dName =
"DT_TPG_theta_best_map";
142 dName =
"DT_TPG_theta_map";
143 nName =
"DT_TPG_theta_map_bx-1";
145 nName =
"DT_TPG_theta_map_bx0";
147 nName =
"DT_TPG_theta_map_bx+1";
int prescaleEvt_
units of lumi sections
void makeRatioHisto(MonitorElement *ratioME, std::string &nName, std::string &dName)
MonitorElement * dttpgphmapcorrf
prescale on number of events
MonitorElement * dttpgphmapbxf[3]
MonitorElement * dttpgthmapbxf[3]
MonitorElement * dttpgthmaphf
MonitorElement * dttpgphmap2ndf
void L1TDTTPGClient::beginJob |
( |
void |
| ) |
|
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 60 of file L1TDTTPGClient.cc.
References dbe_, and cppFunctionSkipper::operator.
62 LogInfo(
"TriggerDQM")<<
"[TriggerDQM]: Begin Job";
72 "Fraction of correlated best triggers per station",20,1,21,12,0,12);
74 "Fraction of second tracks per station",20,1,21,12,0,12);
76 "Fraction of triggers per station (BX=-1)",20,1,21,12,0,12);
78 "Fraction of triggers per station (BX=0)",20,1,21,12,0,12);
80 "Fraction of triggers per station (BX=1)",20,1,21,12,0,12);
88 "Fraction of H quality best triggers per station",15,1,16,12,0,12);
90 "Fraction of triggers per station (BX=-1)",15,1,16,12,0,12);
92 "Fraction of triggers per station (BX=0)",15,1,16,12,0,12);
94 "Fraction of triggers per station (BX=1)",15,1,16,12,0,12);
void setMapThLabel(MonitorElement *me)
MonitorElement * dttpgphmapcorrf
prescale on number of events
MonitorElement * dttpgphmapbxf[3]
MonitorElement * dttpgthmapbxf[3]
MonitorElement * dttpgthmaphf
void setMapPhLabel(MonitorElement *me)
MonitorElement * dttpgphmap2ndf
void L1TDTTPGClient::endJob |
( |
void |
| ) |
|
|
protectedvirtual |
TH1F * L1TDTTPGClient::get1DHisto |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
TProfile * L1TDTTPGClient::get1DProfile |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
TH2F * L1TDTTPGClient::get2DHisto |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
TProfile2D * L1TDTTPGClient::get2DProfile |
( |
std::string |
meName, |
|
|
DQMStore * |
dbi |
|
) |
| |
|
private |
void L1TDTTPGClient::initialize |
( |
| ) |
|
|
private |
void L1TDTTPGClient::makeRatioHisto |
( |
MonitorElement * |
ratioME, |
|
|
std::string & |
nName, |
|
|
std::string & |
dName |
|
) |
| |
|
private |
Definition at line 161 of file L1TDTTPGClient.cc.
References dbe_, cuy::denominator, MonitorElement::getName(), MonitorElement::getTH2F(), and cuy::numerator.
170 if (numerator && denominator) {
172 TH2F * ratio = ratioME->
getTH2F();
174 ratio->Divide(numerator,denominator);
177 LogInfo(
"TriggerDQM") <<
"[TriggerDQM]: ratio histo named \"" << ratioME->
getName() <<
"\" not found!" << endl;
182 LogInfo(
"TriggerDQM") <<
"[TriggerDQM]: numerator histo \"" << nName <<
"\" not found!" << endl;
184 LogInfo(
"TriggerDQM") <<
"[TriggerDQM]: denominator histo \"" << dName <<
"\" not found!" << endl;
const std::string & getName(void) const
get name of ME
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
TH2F * getTH2F(void) const
Definition at line 248 of file L1TDTTPGClient.cc.
References i, MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().
252 for(
int i=0;
i<5;
i++){
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition at line 261 of file L1TDTTPGClient.cc.
References i, MonitorElement::setAxisTitle(), and MonitorElement::setBinLabel().
265 for(
int i=0;
i<5;
i++){
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
int L1TDTTPGClient::counterEvt_ |
|
private |
int L1TDTTPGClient::counterLS_ |
|
private |
std::string L1TDTTPGClient::input_dir_ |
|
private |
std::string L1TDTTPGClient::monitorName_ |
|
private |
std::string L1TDTTPGClient::output_dir_ |
|
private |
int L1TDTTPGClient::prescaleEvt_ |
|
private |
int L1TDTTPGClient::prescaleLS_ |
|
private |