CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HLTInclusiveVBFClient Class Reference

#include <HLTInclusiveVBFClient.h>

Inheritance diagram for HLTInclusiveVBFClient:
edm::EDAnalyzer

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
virtual void beginRun (const edm::Run &run, const edm::EventSetup &c)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
virtual void endRun (const edm::Run &run, const edm::EventSetup &c)
 
 HLTInclusiveVBFClient (const edm::ParameterSet &)
 
virtual void runClient_ ()
 
virtual ~HLTInclusiveVBFClient ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Attributes

edm::ParameterSet conf_
 
DQMStoredbe_
 
bool debug_
 
std::string dirName_
 
std::string hltTag_
 
std::string processname_
 
bool verbose_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Definition at line 40 of file HLTInclusiveVBFClient.h.

Constructor & Destructor Documentation

HLTInclusiveVBFClient::HLTInclusiveVBFClient ( const edm::ParameterSet iConfig)
explicit

Definition at line 13 of file HLTInclusiveVBFClient.cc.

References gather_cfg::cout, dbe_, debug_, dirName_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hltTag_, cppFunctionSkipper::operator, processname_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), and verbose_.

13  :conf_(iConfig) {
14 
15  //
17 
18  //
19  if (!dbe_){
20  edm::LogError("HLTInclusiveVBFClient") << "unable to get DQMStore service, upshot is no client histograms will be made";
21  }
22 
23  //
24  if(iConfig.getUntrackedParameter<bool>("DQMStore", false)) {
25  if(dbe_) dbe_->setVerbose(0);
26  }
27 
28  //
29  debug_ = false;
30  verbose_ = false;
31 
32  //
33  processname_ = iConfig.getParameter<std::string>("processname");
34 
35  //
36  hltTag_ = iConfig.getParameter<std::string>("hltTag");
37  if (debug_) std::cout << hltTag_ << std::endl;
38 
39  //
40  dirName_=iConfig.getParameter<std::string>("DQMDirName");
42 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void setVerbose(unsigned level)
Definition: DQMStore.cc:393
tuple cout
Definition: gather_cfg.py:121
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
HLTInclusiveVBFClient::~HLTInclusiveVBFClient ( )
virtual

Definition at line 45 of file HLTInclusiveVBFClient.cc.

45  {
46 
47 }

Member Function Documentation

void HLTInclusiveVBFClient::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 65 of file HLTInclusiveVBFClient.cc.

65  {
66 
67 }
void HLTInclusiveVBFClient::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 50 of file HLTInclusiveVBFClient.cc.

50  {
51 
52 }
void HLTInclusiveVBFClient::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 60 of file HLTInclusiveVBFClient.cc.

60  {
61 
62 }
void HLTInclusiveVBFClient::beginRun ( const edm::Run run,
const edm::EventSetup c 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 55 of file HLTInclusiveVBFClient.cc.

55  {
56 
57 }
void HLTInclusiveVBFClient::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 79 of file HLTInclusiveVBFClient.cc.

79  {
80 
81 }
void HLTInclusiveVBFClient::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 70 of file HLTInclusiveVBFClient.cc.

References runClient_().

70  {
71  runClient_();
72 }
void HLTInclusiveVBFClient::endRun ( const edm::Run run,
const edm::EventSetup c 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 75 of file HLTInclusiveVBFClient.cc.

75  {
76 }
void HLTInclusiveVBFClient::runClient_ ( )
virtual

Definition at line 83 of file HLTInclusiveVBFClient.cc.

References gather_cfg::cout, dbe_, debug_, dirName_, LogDebug, and DQMStore::setCurrentFolder().

Referenced by endLuminosityBlock().

83  {
84 
85  if(!dbe_) return; //we dont have the DQMStore so we cant do anything
87 
88  LogDebug("HLTInclusiveVBFClient") << "runClient" << std::endl;
89  if (debug_) std::cout << "runClient" << std::endl;
90 
91 }
#define LogDebug(id)
tuple cout
Definition: gather_cfg.py:121
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429

Member Data Documentation

edm::ParameterSet HLTInclusiveVBFClient::conf_
private

Definition at line 45 of file HLTInclusiveVBFClient.h.

DQMStore* HLTInclusiveVBFClient::dbe_
private

Definition at line 43 of file HLTInclusiveVBFClient.h.

Referenced by HLTInclusiveVBFClient(), and runClient_().

bool HLTInclusiveVBFClient::debug_
private

Definition at line 47 of file HLTInclusiveVBFClient.h.

Referenced by HLTInclusiveVBFClient(), and runClient_().

std::string HLTInclusiveVBFClient::dirName_
private

Definition at line 50 of file HLTInclusiveVBFClient.h.

Referenced by HLTInclusiveVBFClient(), and runClient_().

std::string HLTInclusiveVBFClient::hltTag_
private

Definition at line 51 of file HLTInclusiveVBFClient.h.

Referenced by HLTInclusiveVBFClient().

std::string HLTInclusiveVBFClient::processname_
private

Definition at line 52 of file HLTInclusiveVBFClient.h.

Referenced by HLTInclusiveVBFClient().

bool HLTInclusiveVBFClient::verbose_
private

Definition at line 48 of file HLTInclusiveVBFClient.h.

Referenced by HLTInclusiveVBFClient().