RecoLocalCalo
EcalRecProducers
plugins
EcalTPSkimmer.h
Go to the documentation of this file.
1
#ifndef RecoLocalCalo_EcalRecProducers_EcalTPSkimmer_hh
2
#define RecoLocalCalo_EcalRecProducers_EcalTPSkimmer_hh
3
11
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/ESHandle.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
17
#include "
DataFormats/EcalDetId/interface/EcalTrigTowerDetId.h
"
18
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
19
20
#include "
Geometry/CaloTopology/interface/EcalTrigTowerConstituentsMap.h
"
21
22
class
EcalTPSkimmer
:
public
edm::stream::EDProducer
<> {
23
public
:
24
explicit
EcalTPSkimmer
(
const
edm::ParameterSet
& ps);
25
~EcalTPSkimmer
()
override
;
26
void
produce
(
edm::Event
& evt,
const
edm::EventSetup
& es)
override
;
27
28
private
:
29
bool
alreadyInserted
(
EcalTrigTowerDetId
ttId
);
30
void
insertTP
(
EcalTrigTowerDetId
ttId
,
edm::Handle<EcalTrigPrimDigiCollection>
&
in
,
EcalTrigPrimDigiCollection
&
out
);
31
32
std::string
tpCollection_
;
33
34
bool
skipModule_
;
35
bool
doBarrel_
;
36
bool
doEndcap_
;
37
38
std::vector<uint32_t>
chStatusToSelectTP_
;
39
edm::ESHandle<EcalTrigTowerConstituentsMap>
ttMap_
;
40
41
std::set<EcalTrigTowerDetId>
insertedTP_
;
42
43
edm::EDGetTokenT<EcalTrigPrimDigiCollection>
tpInputToken_
;
44
45
std::string
tpOutputCollection_
;
46
};
47
48
#endif
ESHandle.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EcalTPSkimmer::tpInputToken_
edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpInputToken_
Definition:
EcalTPSkimmer.h:43
ecaldqm::ttId
unsigned ttId(DetId const &)
Definition:
EcalDQMCommonUtils.cc:101
EDProducer.h
edm::SortedCollection
Definition:
SortedCollection.h:49
EcalTrigTowerDetId
Definition:
EcalTrigTowerDetId.h:14
edm::Handle
Definition:
AssociativeIterator.h:50
EcalTPSkimmer::tpCollection_
std::string tpCollection_
Definition:
EcalTPSkimmer.h:32
EcalTPSkimmer::doBarrel_
bool doBarrel_
Definition:
EcalTPSkimmer.h:35
EcalTPSkimmer::~EcalTPSkimmer
~EcalTPSkimmer() override
Definition:
EcalTPSkimmer.cc:38
EcalDigiCollections.h
edm::ESHandle< EcalTrigTowerConstituentsMap >
EcalTPSkimmer::alreadyInserted
bool alreadyInserted(EcalTrigTowerDetId ttId)
Definition:
EcalTPSkimmer.cc:117
EcalTPSkimmer::insertTP
void insertTP(EcalTrigTowerDetId ttId, edm::Handle< EcalTrigPrimDigiCollection > &in, EcalTrigPrimDigiCollection &out)
Definition:
EcalTPSkimmer.cc:119
EcalTrigTowerDetId.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalTPSkimmer::ttMap_
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
Definition:
EcalTPSkimmer.h:39
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
EcalTPSkimmer::doEndcap_
bool doEndcap_
Definition:
EcalTPSkimmer.h:36
EcalTPSkimmer::tpOutputCollection_
std::string tpOutputCollection_
Definition:
EcalTPSkimmer.h:45
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
EcalTPSkimmer::EcalTPSkimmer
EcalTPSkimmer(const edm::ParameterSet &ps)
Definition:
EcalTPSkimmer.cc:24
EcalTrigTowerConstituentsMap.h
EcalTPSkimmer::chStatusToSelectTP_
std::vector< uint32_t > chStatusToSelectTP_
Definition:
EcalTPSkimmer.h:38
EventSetup.h
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
EcalTPSkimmer::produce
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition:
EcalTPSkimmer.cc:40
ParameterSet.h
EcalTPSkimmer
Definition:
EcalTPSkimmer.h:22
edm::Event
Definition:
Event.h:73
EcalTPSkimmer::insertedTP_
std::set< EcalTrigTowerDetId > insertedTP_
Definition:
EcalTPSkimmer.h:41
EcalTPSkimmer::skipModule_
bool skipModule_
Definition:
EcalTPSkimmer.h:34
Generated for CMSSW Reference Manual by
1.8.16