Validation
MuonCSCDigis
plugins
MuonCSCDigisHarvestor.cc
Go to the documentation of this file.
1
#ifndef Validation_MuonCSCDigis_MuonCSCDigisHarvestor_h
2
#define Validation_MuonCSCDigis_MuonCSCDigisHarvestor_h
3
4
#include "
FWCore/PluginManager/interface/ModuleDef.h
"
5
#include "
FWCore/Framework/interface/MakerMacros.h
"
6
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
7
#include "
DataFormats/MuonDetId/interface/CSCDetId.h
"
8
#include "
Validation/MuonGEMHits/interface/MuonGEMBaseHarvestor.h
"
9
10
class
MuonCSCDigisHarvestor
:
public
MuonGEMBaseHarvestor
{
11
public
:
13
explicit
MuonCSCDigisHarvestor
(
const
edm::ParameterSet
&);
15
~MuonCSCDigisHarvestor
()
override
{}
16
17
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
18
19
private
:
20
};
21
22
MuonCSCDigisHarvestor::MuonCSCDigisHarvestor
(
const
edm::ParameterSet
&
pset
)
23
:
MuonGEMBaseHarvestor
(
pset
,
"MuonGEMDigisHarvestor"
) {}
24
25
void
MuonCSCDigisHarvestor::dqmEndJob
(
DQMStore::IBooker
& booker,
DQMStore::IGetter
& getter) {
26
std::string
eff_folder =
"MuonCSCDigisV/CSCDigiTask/Stub/Efficiency/"
;
27
std::string
occ_folder =
"MuonCSCDigisV/CSCDigiTask/Stub/Occupancy/"
;
28
29
for
(
int
i
= 1;
i
<= 10; ++
i
) {
30
const
std::string
cn(
CSCDetId::chamberName
(
i
));
31
std::string
d1
= occ_folder +
"ALCTEtaDenom_"
+ cn;
32
std::string
d2 = occ_folder +
"CLCTEtaDenom_"
+ cn;
33
std::string
d3 = occ_folder +
"LCTEtaDenom_"
+ cn;
34
35
std::string
n1 = occ_folder +
"ALCTEtaNum_"
+ cn;
36
std::string
n2 = occ_folder +
"CLCTEtaNum_"
+ cn;
37
std::string
n3 = occ_folder +
"LCTEtaNum_"
+ cn;
38
39
std::string
e1
=
"ALCTEtaEff_"
+ cn;
40
std::string
e2 =
"CLCTEtaEff_"
+ cn;
41
std::string
e3
=
"LCTEtaEff_"
+ cn;
42
43
bookEff1D
(booker, getter, n1,
d1
, eff_folder,
e1
, cn +
" ALCT Efficiency;True Muon |#eta|;Efficiency"
);
44
bookEff1D
(booker, getter, n2, d2, eff_folder, e2, cn +
" CLCT Efficiency;True Muon |#eta|;Efficiency"
);
45
bookEff1D
(booker, getter, n3, d3, eff_folder,
e3
, cn +
" LCT Efficiency;True Muon |#eta|;Efficiency"
);
46
}
47
}
48
49
DEFINE_FWK_MODULE
(
MuonCSCDigisHarvestor
);
50
#endif
mps_fire.i
i
Definition:
mps_fire.py:428
MessageLogger.h
MuonCSCDigisHarvestor
Definition:
MuonCSCDigisHarvestor.cc:10
CSCDetId.h
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
MuonGEMBaseHarvestor.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
MuonCSCDigisHarvestor::~MuonCSCDigisHarvestor
~MuonCSCDigisHarvestor() override
destructor
Definition:
MuonCSCDigisHarvestor.cc:15
StorageManager_cfg.e1
e1
Definition:
StorageManager_cfg.py:16
ModuleDef.h
MuonGEMBaseHarvestor
Definition:
MuonGEMBaseHarvestor.h:14
SiPixelPhase1Clusters_cfi.e3
e3
Definition:
SiPixelPhase1Clusters_cfi.py:9
MuonGEMBaseHarvestor::bookEff1D
void bookEff1D(DQMStore::IBooker &ibooker, DQMStore::IGetter &getter, const TString &passed_path, const TString &total_path, const TString &folder, const TString &eff_name, const TString &eff_title="Efficiency")
Definition:
MuonGEMBaseHarvestor.cc:75
dqm::implementation::IGetter
Definition:
DQMStore.h:484
MuonCSCDigisHarvestor::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
MuonCSCDigisHarvestor.cc:25
CSCDetId::chamberName
std::string chamberName() const
Definition:
CSCDetId.cc:74
MuonCSCDigisHarvestor::MuonCSCDigisHarvestor
MuonCSCDigisHarvestor(const edm::ParameterSet &)
constructor
Definition:
MuonCSCDigisHarvestor.cc:22
dqm::implementation::IBooker
Definition:
DQMStore.h:43
d1
static constexpr float d1
Definition:
L1EGammaCrystalsEmulatorProducer.cc:85
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16