RecoLocalCalo
HcalRecProducers
src
HBHEIsolatedNoiseReflagger.h
Go to the documentation of this file.
1
#ifndef __HBHE_ISOLATED_NOISE_REFLAGGER_H__
2
#define __HBHE_ISOLATED_NOISE_REFLAGGER_H__
3
4
/*
5
Description: "Reflags" HB/HE hits based on their ECAL, HCAL, and tracking isolation.
6
7
Original Author: John Paul Chou (Brown University)
8
Thursday, September 2, 2010
9
*/
10
#include <memory>
11
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
#include "
CondFormats/HcalObjects/interface/HcalFrontEndMap.h
"
16
#include "
RecoLocalCalo/HcalRecAlgos/interface/HBHEIsolatedNoiseAlgos.h
"
17
18
class
HBHEIsolatedNoiseReflagger
:
public
edm::stream::EDProducer
<> {
19
public
:
20
explicit
HBHEIsolatedNoiseReflagger
(
const
edm::ParameterSet
&);
21
~HBHEIsolatedNoiseReflagger
()
override
;
22
23
private
:
24
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
25
26
void
DumpHBHEHitMap
(std::vector<HBHEHitMap>&
i
)
const
;
27
28
// parameters
29
edm::EDGetTokenT<HBHERecHitCollection>
tok_hbhe_
;
30
edm::EDGetTokenT<EcalRecHitCollection>
tok_EB_
;
31
edm::EDGetTokenT<EcalRecHitCollection>
tok_EE_
;
32
edm::EDGetTokenT<std::vector<reco::TrackExtrapolation>
>
tok_trackExt_
;
33
const
HcalFrontEndMap
*
hfemap
;
34
35
double
LooseHcalIsol_
;
36
double
LooseEcalIsol_
;
37
double
LooseTrackIsol_
;
38
double
TightHcalIsol_
;
39
double
TightEcalIsol_
;
40
double
TightTrackIsol_
;
41
42
double
LooseRBXEne1_
,
LooseRBXEne2_
;
43
int
LooseRBXHits1_
,
LooseRBXHits2_
;
44
double
TightRBXEne1_
,
TightRBXEne2_
;
45
int
TightRBXHits1_
,
TightRBXHits2_
;
46
double
LooseHPDEne1_
,
LooseHPDEne2_
;
47
int
LooseHPDHits1_
,
LooseHPDHits2_
;
48
double
TightHPDEne1_
,
TightHPDEne2_
;
49
int
TightHPDHits1_
,
TightHPDHits2_
;
50
double
LooseDiHitEne_
;
51
double
TightDiHitEne_
;
52
double
LooseMonoHitEne_
;
53
double
TightMonoHitEne_
;
54
55
double
RBXEneThreshold_
;
56
57
bool
debug_
;
58
59
// object validator
60
ObjectValidator
objvalidator_
;
61
};
62
63
#endif
HBHEIsolatedNoiseAlgos.h
mps_fire.i
i
Definition:
mps_fire.py:355
HBHEIsolatedNoiseReflagger::TightRBXHits1_
int TightRBXHits1_
Definition:
HBHEIsolatedNoiseReflagger.h:45
HBHEIsolatedNoiseReflagger
Definition:
HBHEIsolatedNoiseReflagger.h:18
HBHEIsolatedNoiseReflagger::TightDiHitEne_
double TightDiHitEne_
Definition:
HBHEIsolatedNoiseReflagger.h:51
HBHEIsolatedNoiseReflagger::TightHPDHits1_
int TightHPDHits1_
Definition:
HBHEIsolatedNoiseReflagger.h:49
HBHEIsolatedNoiseReflagger::LooseHPDEne1_
double LooseHPDEne1_
Definition:
HBHEIsolatedNoiseReflagger.h:46
edm::EDGetTokenT
Definition:
EDGetToken.h:33
HBHEIsolatedNoiseReflagger::RBXEneThreshold_
double RBXEneThreshold_
Definition:
HBHEIsolatedNoiseReflagger.h:55
HBHEIsolatedNoiseReflagger::LooseRBXHits1_
int LooseRBXHits1_
Definition:
HBHEIsolatedNoiseReflagger.h:43
ObjectValidator
Definition:
HBHEIsolatedNoiseAlgos.h:69
HBHEIsolatedNoiseReflagger::TightRBXEne2_
double TightRBXEne2_
Definition:
HBHEIsolatedNoiseReflagger.h:44
EDProducer.h
HBHEIsolatedNoiseReflagger::TightTrackIsol_
double TightTrackIsol_
Definition:
HBHEIsolatedNoiseReflagger.h:40
HBHEIsolatedNoiseReflagger::TightMonoHitEne_
double TightMonoHitEne_
Definition:
HBHEIsolatedNoiseReflagger.h:53
HBHEIsolatedNoiseReflagger::hfemap
const HcalFrontEndMap * hfemap
Definition:
HBHEIsolatedNoiseReflagger.h:33
HBHEIsolatedNoiseReflagger::tok_EE_
edm::EDGetTokenT< EcalRecHitCollection > tok_EE_
Definition:
HBHEIsolatedNoiseReflagger.h:31
MakerMacros.h
HBHEIsolatedNoiseReflagger::LooseEcalIsol_
double LooseEcalIsol_
Definition:
HBHEIsolatedNoiseReflagger.h:36
HBHEIsolatedNoiseReflagger::TightHcalIsol_
double TightHcalIsol_
Definition:
HBHEIsolatedNoiseReflagger.h:38
HBHEIsolatedNoiseReflagger::LooseRBXHits2_
int LooseRBXHits2_
Definition:
HBHEIsolatedNoiseReflagger.h:43
HBHEIsolatedNoiseReflagger::~HBHEIsolatedNoiseReflagger
~HBHEIsolatedNoiseReflagger() override
Definition:
HBHEIsolatedNoiseReflagger.cc:70
HBHEIsolatedNoiseReflagger::TightHPDEne2_
double TightHPDEne2_
Definition:
HBHEIsolatedNoiseReflagger.h:48
HBHEIsolatedNoiseReflagger::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
HBHEIsolatedNoiseReflagger.cc:72
HBHEIsolatedNoiseReflagger::LooseHPDHits1_
int LooseHPDHits1_
Definition:
HBHEIsolatedNoiseReflagger.h:47
HcalFrontEndMap.h
HBHEIsolatedNoiseReflagger::TightRBXHits2_
int TightRBXHits2_
Definition:
HBHEIsolatedNoiseReflagger.h:45
edm::ParameterSet
Definition:
ParameterSet.h:36
HBHEIsolatedNoiseReflagger::LooseHcalIsol_
double LooseHcalIsol_
Definition:
HBHEIsolatedNoiseReflagger.h:35
HBHEIsolatedNoiseReflagger::HBHEIsolatedNoiseReflagger
HBHEIsolatedNoiseReflagger(const edm::ParameterSet &)
Definition:
HBHEIsolatedNoiseReflagger.cc:24
HBHEIsolatedNoiseReflagger::tok_EB_
edm::EDGetTokenT< EcalRecHitCollection > tok_EB_
Definition:
HBHEIsolatedNoiseReflagger.h:30
HBHEIsolatedNoiseReflagger::tok_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition:
HBHEIsolatedNoiseReflagger.h:29
edm::stream::EDProducer
Definition:
EDProducer.h:38
HBHEIsolatedNoiseReflagger::TightRBXEne1_
double TightRBXEne1_
Definition:
HBHEIsolatedNoiseReflagger.h:44
edm::EventSetup
Definition:
EventSetup.h:57
HBHEIsolatedNoiseReflagger::LooseHPDEne2_
double LooseHPDEne2_
Definition:
HBHEIsolatedNoiseReflagger.h:46
HBHEIsolatedNoiseReflagger::TightHPDHits2_
int TightHPDHits2_
Definition:
HBHEIsolatedNoiseReflagger.h:49
HBHEIsolatedNoiseReflagger::DumpHBHEHitMap
void DumpHBHEHitMap(std::vector< HBHEHitMap > &i) const
Definition:
HBHEIsolatedNoiseReflagger.cc:260
HBHEIsolatedNoiseReflagger::LooseTrackIsol_
double LooseTrackIsol_
Definition:
HBHEIsolatedNoiseReflagger.h:37
HBHEIsolatedNoiseReflagger::TightEcalIsol_
double TightEcalIsol_
Definition:
HBHEIsolatedNoiseReflagger.h:39
HBHEIsolatedNoiseReflagger::tok_trackExt_
edm::EDGetTokenT< std::vector< reco::TrackExtrapolation > > tok_trackExt_
Definition:
HBHEIsolatedNoiseReflagger.h:32
HBHEIsolatedNoiseReflagger::LooseMonoHitEne_
double LooseMonoHitEne_
Definition:
HBHEIsolatedNoiseReflagger.h:52
Frameworkfwd.h
HcalFrontEndMap
Definition:
HcalFrontEndMap.h:23
HBHEIsolatedNoiseReflagger::LooseRBXEne1_
double LooseRBXEne1_
Definition:
HBHEIsolatedNoiseReflagger.h:42
HBHEIsolatedNoiseReflagger::LooseDiHitEne_
double LooseDiHitEne_
Definition:
HBHEIsolatedNoiseReflagger.h:50
HBHEIsolatedNoiseReflagger::debug_
bool debug_
Definition:
HBHEIsolatedNoiseReflagger.h:57
HBHEIsolatedNoiseReflagger::TightHPDEne1_
double TightHPDEne1_
Definition:
HBHEIsolatedNoiseReflagger.h:48
HBHEIsolatedNoiseReflagger::objvalidator_
ObjectValidator objvalidator_
Definition:
HBHEIsolatedNoiseReflagger.h:60
edm::Event
Definition:
Event.h:73
HBHEIsolatedNoiseReflagger::LooseRBXEne2_
double LooseRBXEne2_
Definition:
HBHEIsolatedNoiseReflagger.h:42
HBHEIsolatedNoiseReflagger::LooseHPDHits2_
int LooseHPDHits2_
Definition:
HBHEIsolatedNoiseReflagger.h:47
Generated for CMSSW Reference Manual by
1.8.16