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 "
Geometry/Records/interface/HcalRecNumberingRecord.h
"
27
#include <memory>
28
#include <unistd.h>
29
30
#include <fstream>
31
#include <iostream>
32
#include <vector>
33
34
class
HcalSimHitsClient
:
public
DQMEDHarvester
{
35
private
:
36
int
SimHitsEndjob
(
const
std::vector<MonitorElement *> &hcalMEs);
37
std::vector<std::string>
getHistogramTypes
();
38
39
std::string
dirName_
;
40
bool
verbose_
;
41
edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord>
tok_HRNDC_
;
42
static
const
int
nTime
= 4;
43
static
const
int
nType1
= 4;
44
const
HcalDDDRecConstants
*
hcons
;
45
int
maxDepthHB_
,
maxDepthHE_
,
maxDepthHO_
,
maxDepthHF_
;
46
47
public
:
48
explicit
HcalSimHitsClient
(
const
edm::ParameterSet
&);
49
~HcalSimHitsClient
()
override
;
50
51
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
&
c
)
override
;
52
virtual
void
runClient_
(
DQMStore::IBooker
&,
DQMStore::IGetter
&);
53
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
54
};
55
56
#endif
DQMEDHarvester.h
Handle.h
MessageLogger.h
edm::Run
Definition:
Run.h:45
DQMStore.h
HcalRecNumberingRecord.h
HcalSimHitsClient::nType1
static const int nType1
Definition:
HcalSimHitsClient.h:43
HcalSimHitsClient::getHistogramTypes
std::vector< std::string > getHistogramTypes()
Definition:
HcalSimHitsClient.cc:169
HcalSimHitsClient
Definition:
HcalSimHitsClient.h:34
HcalSimHitsClient::dirName_
std::string dirName_
Definition:
HcalSimHitsClient.h:39
HcalSimHitsClient::tok_HRNDC_
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > tok_HRNDC_
Definition:
HcalSimHitsClient.h:41
HcalSimHitsClient::maxDepthHO_
int maxDepthHO_
Definition:
HcalSimHitsClient.h:45
HcalSimHitsClient::SimHitsEndjob
int SimHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
HcalSimHitsClient.cc:65
Service.h
HcalSimHitsClient::~HcalSimHitsClient
~HcalSimHitsClient() override
Definition:
HcalSimHitsClient.cc:17
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalSimHitsClient::runClient_
virtual void runClient_(DQMStore::IBooker &, DQMStore::IGetter &)
Definition:
HcalSimHitsClient.cc:33
edm::ParameterSet
Definition:
ParameterSet.h:47
HcalSimHitsClient::maxDepthHB_
int maxDepthHB_
Definition:
HcalSimHitsClient.h:45
Event.h
HcalSimHitsClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
HcalSimHitsClient.cc:31
HcalSimHitsClient::nTime
static const int nTime
Definition:
HcalSimHitsClient.h:42
LorentzVector.h
HcalSimHitsClient::maxDepthHE_
int maxDepthHE_
Definition:
HcalSimHitsClient.h:45
HcalSimHitsClient::hcons
const HcalDDDRecConstants * hcons
Definition:
HcalSimHitsClient.h:44
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord >
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:40
HcalDDDRecConstants
Definition:
HcalDDDRecConstants.h:23
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
HcalSimHitsClient::maxDepthHF_
int maxDepthHF_
Definition:
HcalSimHitsClient.h:45
HcalSimHitsClient::HcalSimHitsClient
HcalSimHitsClient(const edm::ParameterSet &)
Definition:
HcalSimHitsClient.cc:11
HcalSimHitsClient::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &c) override
Definition:
HcalSimHitsClient.cc:19
Generated for CMSSW Reference Manual by
1.8.16