CaloOnlineTools
EcalTools
plugins
EcalPnGraphs.h
Go to the documentation of this file.
1
#ifndef ECALPNGRAPHS_h
2
#define ECALPNGRAPHS_h
3
4
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
5
#include <
FWCore/Framework/interface/Event.h
>
6
#include <
FWCore/Framework/interface/MakerMacros.h
>
7
#include <
DataFormats/EcalDigi/interface/EcalDigiCollections.h
>
8
#include <
DataFormats/EcalDetId/interface/EcalDetIdCollections.h
>
9
10
#include <
DataFormats/EcalDigi/interface/EcalTriggerPrimitiveDigi.h
>
11
#include <
DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h
>
12
13
#include "
CaloOnlineTools/EcalTools/interface/EcalFedMap.h
"
14
#include <iostream>
15
#include <vector>
16
17
#include "TFile.h"
18
#include "TGraph.h"
19
20
class
EcalPnGraphs
:
public
edm::EDAnalyzer
{
21
public
:
22
EcalPnGraphs
(
const
edm::ParameterSet
& ps);
23
~EcalPnGraphs
()
override
;
24
25
private
:
26
void
analyze
(
const
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
27
void
beginJob
()
override
;
28
void
endJob
()
override
;
29
30
// void pnGraphs (edm::Handle<EcalPnDiodeDigiCollection> PNs );
31
32
std::string
intToString
(
int
num
);
33
34
EcalFedMap
*
fedMap
;
35
36
protected
:
37
// std::string ebDigiCollection_;
38
//std::string eeDigiCollection_;
39
std::string
digiProducer_
;
40
41
std::vector<int>
feds_
;
42
std::vector<std::string>
ebs_
;
43
44
int
verbosity
;
45
int
eventCounter
;
46
47
// std::vector<int ieb_id;
48
int
first_Pn
;
49
50
bool
inputIsOk
;
51
52
std::string
fileName
;
53
54
std::vector<int>
listChannels
;
55
std::vector<int>
listAllChannels
;
56
std::vector<int>
listPns
;
57
std::vector<int>
listAllPns
;
58
59
int
numPn
;
60
61
int
abscissa
[50];
62
int
ordinate
[50];
63
64
std::vector<TGraph>
graphs
;
65
66
TFile*
root_file
;
67
};
68
69
#endif
EcalPnGraphs::numPn
int numPn
Definition:
EcalPnGraphs.h:59
EcalPnGraphs::intToString
std::string intToString(int num)
Definition:
EcalPnGraphs.cc:197
EcalPnGraphs::feds_
std::vector< int > feds_
Definition:
EcalPnGraphs.h:41
EcalPnGraphs::eventCounter
int eventCounter
Definition:
EcalPnGraphs.h:45
EcalPnGraphs
Definition:
EcalPnGraphs.h:20
EcalPnGraphs::root_file
TFile * root_file
Definition:
EcalPnGraphs.h:66
EcalPnGraphs::listChannels
std::vector< int > listChannels
Definition:
EcalPnGraphs.h:54
EcalDetIdCollections.h
EcalPnGraphs::listAllChannels
std::vector< int > listAllChannels
Definition:
EcalPnGraphs.h:55
EcalPnGraphs::fileName
std::string fileName
Definition:
EcalPnGraphs.h:52
EcalPnGraphs::verbosity
int verbosity
Definition:
EcalPnGraphs.h:44
EDAnalyzer.h
EcalTriggerPrimitiveDigi.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
MakerMacros.h
EcalPnGraphs::ordinate
int ordinate[50]
Definition:
EcalPnGraphs.h:62
EcalPnGraphs::fedMap
EcalFedMap * fedMap
Definition:
EcalPnGraphs.h:34
EcalDigiCollections.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalPnGraphs::ebs_
std::vector< std::string > ebs_
Definition:
EcalPnGraphs.h:42
edm::ParameterSet
Definition:
ParameterSet.h:47
EcalPnGraphs::listAllPns
std::vector< int > listAllPns
Definition:
EcalPnGraphs.h:57
Event.h
EcalFedMap.h
EcalPnGraphs::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition:
EcalPnGraphs.cc:126
edm::EventSetup
Definition:
EventSetup.h:58
EcalPnGraphs::first_Pn
int first_Pn
Definition:
EcalPnGraphs.h:48
EcalPnGraphs::listPns
std::vector< int > listPns
Definition:
EcalPnGraphs.h:56
EgammaValidation_cff.num
num
Definition:
EgammaValidation_cff.py:34
EcalPnGraphs::beginJob
void beginJob() override
Definition:
EcalPnGraphs.cc:120
EcalTriggerPrimitiveSample.h
EcalFedMap
Definition:
EcalFedMap.h:7
EcalPnGraphs::endJob
void endJob() override
Definition:
EcalPnGraphs.cc:209
EcalPnGraphs::digiProducer_
std::string digiProducer_
Definition:
EcalPnGraphs.h:39
EcalPnGraphs::graphs
std::vector< TGraph > graphs
Definition:
EcalPnGraphs.h:64
EcalPnGraphs::EcalPnGraphs
EcalPnGraphs(const edm::ParameterSet &ps)
Definition:
EcalPnGraphs.cc:30
EcalPnGraphs::~EcalPnGraphs
~EcalPnGraphs() override
Definition:
EcalPnGraphs.cc:114
EcalPnGraphs::inputIsOk
bool inputIsOk
Definition:
EcalPnGraphs.h:50
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition:
Event.h:73
EcalPnGraphs::abscissa
int abscissa[50]
Definition:
EcalPnGraphs.h:61
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16