Main Page
Namespaces
Classes
Package Documentation
CVS Directory
WorkBook
Offline Guide
Release schedule
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimCalorimetry
EcalZeroSuppressionAlgos
interface
EcalZeroSuppressor.h
Go to the documentation of this file.
1
#ifndef EcalZeroSuppressionAlgos_EcalZeroSuppressor_h
2
#define EcalZeroSuppressionAlgos_EcalZeroSuppressor_h
3
4
/*
5
* \file EcalZeroSuppressor.h
6
*
7
* $Date: 2011/05/20 17:17:34 $
8
* $Revision: 1.5 $
9
* \author F. Cossutti
10
*
11
*/
12
13
#include "
FWCore/Framework/interface/EDProducer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
19
20
#include "
CondFormats/DataRecord/interface/EcalPedestalsRcd.h
"
21
#include "
CondFormats/EcalObjects/interface/EcalPedestals.h
"
22
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
23
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
24
#include "
DataFormats/EcalDetId/interface/EcalSubdetector.h
"
25
26
#include "
SimCalorimetry/EcalZeroSuppressionAlgos/interface/TrivialAmplitudeAlgo.h
"
27
28
#include <vector>
29
30
template
<
class
C>
class
EcalZeroSuppressor
31
{
32
public
:
33
34
virtual
~EcalZeroSuppressor
(){};
35
36
// the threshold has to be expressed in number of noise sigmas for ADC counts in the highest gain
37
38
// bool accept(const C& frame, const double & threshold);
39
bool
accept
(
const
C
& frame,
const
double
&
threshold
);
40
42
void
setPedestals
(
const
EcalPedestals
* pedestals) {
thePedestals
= pedestals;}
43
44
private
:
45
46
const
EcalPedestals
*
thePedestals
;
47
48
void
findGain12Pedestal
(
const
DetId
& detId,
49
double
& pedestal,
double
&
width
);
50
51
TrivialAmplitudeAlgo<C>
theEnergy_
;
52
53
};
54
55
#include "EcalZeroSuppressor.icc"
56
#endif
EcalSubdetector.h
EcalZeroSuppressor::theEnergy_
TrivialAmplitudeAlgo< C > theEnergy_
Definition:
EcalZeroSuppressor.h:51
MessageLogger.h
create_public_lumi_plots.width
int width
Definition:
create_public_lumi_plots.py:1026
EcalPedestals.h
Event.h
EventSetup.h
EcalZeroSuppressor::setPedestals
void setPedestals(const EcalPedestals *pedestals)
can be fetched every event from the EventSetup
Definition:
EcalZeroSuppressor.h:42
funct::C
C
Definition:
Factorize.h:141
EcalPedestalsRcd.h
ParameterSet.h
EcalZeroSuppressor::accept
bool accept(const C &frame, const double &threshold)
EcalZeroSuppressor::~EcalZeroSuppressor
virtual ~EcalZeroSuppressor()
Definition:
EcalZeroSuppressor.h:34
TrivialAmplitudeAlgo
Definition:
TrivialAmplitudeAlgo.h:27
CaloSubdetectorGeometry.h
EcalZeroSuppressor
Definition:
EcalZeroSuppressor.h:30
ESHandle.h
dtDQMClient_cfg.threshold
tuple threshold
Definition:
dtDQMClient_cfg.py:16
EcalDigiCollections.h
EDProducer.h
DetId
Definition:
DetId.h:20
TrivialAmplitudeAlgo.h
EcalZeroSuppressor::findGain12Pedestal
void findGain12Pedestal(const DetId &detId, double &pedestal, double &width)
EcalCondObjectContainer
Definition:
EcalCondObjectContainer.h:9
EcalZeroSuppressor::thePedestals
const EcalPedestals * thePedestals
Definition:
EcalZeroSuppressor.h:46
Generated for CMSSW Reference Manual by
1.8.5