SimCalorimetry
EcalTrigPrimProducers
plugins
EcalTPInputAnalyzer.h
Go to the documentation of this file.
1
#ifndef EcalTPInputAnalyzer_h
2
#define EcalTPInputAnalyzer_h
3
// -*- C++ -*-
4
//
5
// Class: EcalTPInutAnalyzer
6
//
12
//
13
// Original Author: Ursula Berthon
14
// Created: Thu Jul 4 11:38:38 CEST 2005
15
//
16
//
17
18
// system include files
19
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
20
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
21
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/Framework/interface/MakerMacros.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/ServiceRegistry/interface/Service.h
"
26
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
27
28
#include <TH1I.h>
29
#include <string>
30
#include <vector>
31
32
//
33
// class declaration
34
//
35
36
class
EcalTPInputAnalyzer
:
public
edm::one::EDAnalyzer
<edm::one::SharedResources> {
37
public
:
38
explicit
EcalTPInputAnalyzer
(
const
edm::ParameterSet
&);
39
~EcalTPInputAnalyzer
()
override
=
default
;
40
41
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
42
43
private
:
44
// for histos of nr of hits
45
std::vector<std::string>
ecal_parts_
;
46
TH1I *
ecal_et_
[2];
47
TH1I *
ecal_tt_
[2];
48
TH1I *
ecal_fgvb_
[2];
49
TH1I *
histEndc
, *
histBar
;
50
51
const
std::string
producer_
;
52
const
std::string
ebLabel_
;
53
const
std::string
eeLabel_
;
54
const
edm::EDGetTokenT<EBDigiCollection>
ebToken_
;
55
const
edm::EDGetTokenT<EEDigiCollection>
eeToken_
;
56
};
57
#endif
EcalTPInputAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
EcalTPInputAnalyzer.cc:57
EcalTPInputAnalyzer::ecal_tt_
TH1I * ecal_tt_[2]
Definition:
EcalTPInputAnalyzer.h:47
Event.h
EcalTPInputAnalyzer::eeLabel_
const std::string eeLabel_
Definition:
EcalTPInputAnalyzer.h:53
EcalTPInputAnalyzer::ebToken_
const edm::EDGetTokenT< EBDigiCollection > ebToken_
Definition:
EcalTPInputAnalyzer.h:54
EcalTPInputAnalyzer::histBar
TH1I * histBar
Definition:
EcalTPInputAnalyzer.h:49
edm::EDGetTokenT< EBDigiCollection >
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TFileService.h
ParameterSet.h
Service.h
EcalDigiCollections.h
edm::EventSetup
Definition:
EventSetup.h:59
EcalTPInputAnalyzer::ecal_et_
TH1I * ecal_et_[2]
Definition:
EcalTPInputAnalyzer.h:46
EcalTPInputAnalyzer::histEndc
TH1I * histEndc
Definition:
EcalTPInputAnalyzer.h:49
EcalTPInputAnalyzer::ecal_parts_
std::vector< std::string > ecal_parts_
Definition:
EcalTPInputAnalyzer.h:45
EcalTPInputAnalyzer::ecal_fgvb_
TH1I * ecal_fgvb_[2]
Definition:
EcalTPInputAnalyzer.h:48
EcalTPInputAnalyzer::producer_
const std::string producer_
Definition:
EcalTPInputAnalyzer.h:51
EcalTPInputAnalyzer::~EcalTPInputAnalyzer
~EcalTPInputAnalyzer() override=default
EDAnalyzer.h
EcalTPInputAnalyzer
Definition:
EcalTPInputAnalyzer.h:36
EcalTPInputAnalyzer::ebLabel_
const std::string ebLabel_
Definition:
EcalTPInputAnalyzer.h:52
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
EcalTPInputAnalyzer::eeToken_
const edm::EDGetTokenT< EEDigiCollection > eeToken_
Definition:
EcalTPInputAnalyzer.h:55
MakerMacros.h
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
EcalTPInputAnalyzer::EcalTPInputAnalyzer
EcalTPInputAnalyzer(const edm::ParameterSet &)
Definition:
EcalTPInputAnalyzer.cc:28
Generated for CMSSW Reference Manual by
1.8.14