src
Validation
SiPixelPhase1DigisV
interface
SiPixelPhase1DigisV.h
Go to the documentation of this file.
1
#ifndef SiPixelPhase1DigisV_h // Can we use #pragma once?
2
#define SiPixelPhase1DigisV_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelPhase1DigisV
6
// Class : SiPixelPhase1DigisV
7
//
8
9
// Original Author: Marcel Schneider
10
// Additional Authors: Alexander Morton - modifying code for validation use
11
12
// Input data stuff
13
#include "
DataFormats/Common/interface/DetSetVector.h
"
14
#include "
DataFormats/SiPixelDigi/interface/PixelDigi.h
"
15
16
// PixelDQM Framework
17
#include "
DQM/SiPixelPhase1Common/interface/SiPixelPhase1Base.h
"
18
19
class
SiPixelPhase1DigisV
:
public
SiPixelPhase1Base
{
20
// List of quantities to be plotted.
21
enum
{
22
ADC
,
// digi ADC readouts
23
NDIGIS
,
// number of digis per event and module
24
ROW
,
// number of digis per row
25
COLUMN
,
// number of digis per column
26
27
MAX_HIST
// a sentinel that gives the number of quantities (not a plot).
28
};
29
30
public
:
31
explicit
SiPixelPhase1DigisV
(
const
edm::ParameterSet
&conf);
32
33
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
34
35
private
:
36
edm::EDGetTokenT<edm::DetSetVector<PixelDigi>
>
srcToken_
;
37
};
38
39
class
SiPixelPhase1DigisHarvesterV
:
public
SiPixelPhase1Harvester
{
40
enum
{
41
ADC
,
// digi ADC readouts
42
NDIGIS
,
// number of digis per event and module
43
ROW
,
// number of digis per row
44
COLUMN
,
// number of digis per column
45
46
MAX_HIST
47
};
48
49
public
:
50
explicit
SiPixelPhase1DigisHarvesterV
(
const
edm::ParameterSet
&conf);
51
};
52
53
#endif
SiPixelPhase1DigisHarvesterV::NDIGIS
Definition:
SiPixelPhase1DigisV.h:42
SiPixelPhase1DigisV::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiPixelPhase1DigisV.cc:27
SiPixelPhase1DigisV::SiPixelPhase1DigisV
SiPixelPhase1DigisV(const edm::ParameterSet &conf)
Definition:
SiPixelPhase1DigisV.cc:23
SiPixelPhase1DigisHarvesterV::COLUMN
Definition:
SiPixelPhase1DigisV.h:44
SiPixelPhase1DigisV::COLUMN
Definition:
SiPixelPhase1DigisV.h:25
SiPixelPhase1DigisV::NDIGIS
Definition:
SiPixelPhase1DigisV.h:23
PixelDigi.h
edm::EDGetTokenT
Definition:
EDGetToken.h:37
DetSetVector.h
SiPixelPhase1DigisHarvesterV
Definition:
SiPixelPhase1DigisV.h:39
edm::EventSetup
Definition:
EventSetup.h:56
SiPixelPhase1DigisV::srcToken_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > srcToken_
Definition:
SiPixelPhase1DigisV.h:36
SiPixelPhase1Harvester
Definition:
SiPixelPhase1Base.h:76
SiPixelPhase1Base.h
SiPixelPhase1DigisV
Definition:
SiPixelPhase1DigisV.h:19
SiPixelPhase1DigisHarvesterV::ADC
Definition:
SiPixelPhase1DigisV.h:41
SiPixelPhase1DigisV::MAX_HIST
Definition:
SiPixelPhase1DigisV.h:27
SiPixelPhase1Base
Definition:
SiPixelPhase1Base.h:46
SiPixelPhase1DigisV::ROW
Definition:
SiPixelPhase1DigisV.h:24
SiPixelPhase1DigisHarvesterV::MAX_HIST
Definition:
SiPixelPhase1DigisV.h:46
SiPixelPhase1DigisHarvesterV::SiPixelPhase1DigisHarvesterV
SiPixelPhase1DigisHarvesterV(const edm::ParameterSet &conf)
Definition:
SiPixelPhase1DigisHarvesterV.cc:13
edm::ParameterSet
Definition:
ParameterSet.h:48
SiPixelPhase1DigisV::ADC
Definition:
SiPixelPhase1DigisV.h:22
edm::Event
Definition:
Event.h:73
SiPixelPhase1DigisHarvesterV::ROW
Definition:
SiPixelPhase1DigisV.h:43
Generated for CMSSW Reference Manual by
1.8.14