Validation
HcalHits
interface
HcalSimHitsClient.h
Go to the documentation of this file.
1
#ifndef ValidationHcalSimHitsClient_H
2
#define ValidationHcalSimHitsClient_H
3
4
// -*- C++ -*-
5
//
6
//
7
/*
8
Description: This is a SImHit CLient code
9
*/
10
11
//
12
// Originally create by: Bhawna Gomber
13
//
14
//
15
16
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
17
#include "
DQMServices/Core/interface/DQMStore.h
"
18
#include "
DataFormats/Common/interface/Handle.h
"
19
#include "
DataFormats/Math/interface/LorentzVector.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/Framework/interface/EventSetup.h
"
22
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
FWCore/ServiceRegistry/interface/Service.h
"
25
#include "
Geometry/HcalCommonData/interface/HcalDDDRecConstants.h
"
26
#include <memory>
27
#include <unistd.h>
28
29
#include <fstream>
30
#include <iostream>
31
#include <vector>
32
33
class
HcalSimHitsClient
:
public
DQMEDHarvester
{
34
private
:
35
int
SimHitsEndjob
(
const
std::vector<MonitorElement *> &hcalMEs);
36
std::vector<std::string>
getHistogramTypes
();
37
38
std::string
dirName_
;
39
bool
verbose_
;
40
static
const
int
nTime
= 4;
41
static
const
int
nType1
= 4;
42
const
HcalDDDRecConstants
*
hcons
;
43
int
maxDepthHB_
,
maxDepthHE_
,
maxDepthHO_
,
maxDepthHF_
;
44
45
public
:
46
explicit
HcalSimHitsClient
(
const
edm::ParameterSet
&);
47
~HcalSimHitsClient
()
override
;
48
49
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
c
)
override
;
50
virtual
void
runClient_
(
DQMStore::IBooker
&,
DQMStore::IGetter
&);
51
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
52
};
53
54
#endif
DQMEDHarvester.h
Handle.h
MessageLogger.h
edm::Run
Definition:
Run.h:45
DQMStore.h
HcalSimHitsClient::nType1
static const int nType1
Definition:
HcalSimHitsClient.h:41
HcalSimHitsClient::getHistogramTypes
std::vector< std::string > getHistogramTypes()
Definition:
HcalSimHitsClient.cc:171
HcalSimHitsClient
Definition:
HcalSimHitsClient.h:33
HcalSimHitsClient::dirName_
std::string dirName_
Definition:
HcalSimHitsClient.h:38
HcalSimHitsClient::maxDepthHO_
int maxDepthHO_
Definition:
HcalSimHitsClient.h:43
HcalSimHitsClient::SimHitsEndjob
int SimHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
HcalSimHitsClient.cc:67
Service.h
HcalSimHitsClient::~HcalSimHitsClient
~HcalSimHitsClient() override
Definition:
HcalSimHitsClient.cc:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalSimHitsClient::runClient_
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
Definition:
HcalSimHitsClient.cc:35
edm::ParameterSet
Definition:
ParameterSet.h:36
HcalSimHitsClient::maxDepthHB_
int maxDepthHB_
Definition:
HcalSimHitsClient.h:43
Event.h
HcalSimHitsClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
HcalSimHitsClient.cc:33
HcalSimHitsClient::nTime
static const int nTime
Definition:
HcalSimHitsClient.h:40
LorentzVector.h
HcalSimHitsClient::maxDepthHE_
int maxDepthHE_
Definition:
HcalSimHitsClient.h:43
HcalSimHitsClient::hcons
const HcalDDDRecConstants * hcons
Definition:
HcalSimHitsClient.h:42
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
dqm::implementation::IGetter
Definition:
DQMStore.h:484
HcalDDDRecConstants.h
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
HcalSimHitsClient::verbose_
bool verbose_
Definition:
HcalSimHitsClient.h:39
HcalDDDRecConstants
Definition:
HcalDDDRecConstants.h:23
ParameterSet.h
HcalSimHitsClient::maxDepthHF_
int maxDepthHF_
Definition:
HcalSimHitsClient.h:43
HcalSimHitsClient::HcalSimHitsClient
HcalSimHitsClient(const edm::ParameterSet &)
Definition:
HcalSimHitsClient.cc:13
HcalSimHitsClient::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &c) override
Definition:
HcalSimHitsClient.cc:20
Generated for CMSSW Reference Manual by
1.8.16