CMS 3D CMS Logo

HLTInclusiveVBFClient.cc
Go to the documentation of this file.
1 /*
2  * \author N. Srimanobhas
3  */
4 
6 
7 using namespace std;
8 using namespace edm;
9 
11  //
12  dbe_ = Service<DQMStore>().operator->();
13 
14  //
15  if (!dbe_) {
16  edm::LogError("HLTInclusiveVBFClient")
17  << "unable to get DQMStore service, upshot is no client histograms will be made";
18  }
19 
20  //
21  debug_ = false;
22  verbose_ = false;
23 
24  //
25  processname_ = iConfig.getParameter<std::string>("processname");
26 
27  //
28  hltTag_ = iConfig.getParameter<std::string>("hltTag");
29  if (debug_)
30  std::cout << hltTag_ << std::endl;
31 
32  //
33  dirName_ = iConfig.getParameter<std::string>("DQMDirName");
34  if (dbe_)
36 }
37 
39 
41 
43 
45  runClient_();
46 }
47 
49 
51  if (!dbe_)
52  return; //we dont have the DQMStore so we cant do anything
54 
55  LogDebug("HLTInclusiveVBFClient") << "runClient" << std::endl;
56  if (debug_)
57  std::cout << "runClient" << std::endl;
58 }
HLTInclusiveVBFClient::endRun
void endRun(const edm::Run &run, const edm::EventSetup &c) override
Definition: HLTInclusiveVBFClient.cc:48
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HLTInclusiveVBFClient::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: HLTInclusiveVBFClient.cc:42
HLTInclusiveVBFClient::processname_
std::string processname_
Definition: HLTInclusiveVBFClient.h:51
HLTInclusiveVBFClient::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
Definition: HLTInclusiveVBFClient.cc:40
visDQMUpload.context
context
Definition: visDQMUpload.py:37
HLTInclusiveVBFClient::dirName_
std::string dirName_
Definition: HLTInclusiveVBFClient.h:49
HLTInclusiveVBFClient::hltTag_
std::string hltTag_
Definition: HLTInclusiveVBFClient.h:50
HLTInclusiveVBFClient.h
dqm::implementation::DQMStore::setCurrentFolder
void setCurrentFolder(std::string const &fullpath) override
Definition: DQMStore.h:569
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
edm::ParameterSet
Definition: ParameterSet.h:47
HLTInclusiveVBFClient::verbose_
bool verbose_
Definition: HLTInclusiveVBFClient.h:47
edm::Service
Definition: Service.h:30
iEvent
int iEvent
Definition: GenABIO.cc:224
HLTInclusiveVBFClient::HLTInclusiveVBFClient
HLTInclusiveVBFClient(const edm::ParameterSet &)
Definition: HLTInclusiveVBFClient.cc:10
edm::EventSetup
Definition: EventSetup.h:58
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
HLTInclusiveVBFClient::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
Definition: HLTInclusiveVBFClient.cc:44
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HLTInclusiveVBFClient::runClient_
virtual void runClient_()
Definition: HLTInclusiveVBFClient.cc:50
std
Definition: JetResolutionObject.h:76
HLTInclusiveVBFClient::debug_
bool debug_
Definition: HLTInclusiveVBFClient.h:46
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HLTInclusiveVBFClient::dbe_
DQMStore * dbe_
Definition: HLTInclusiveVBFClient.h:42
edm::Event
Definition: Event.h:73
HLTInclusiveVBFClient::~HLTInclusiveVBFClient
~HLTInclusiveVBFClient() override