L1Trigger
L1THGCal
interface
HGCalTriggerBackendProcessor.h
Go to the documentation of this file.
1
#ifndef __L1Trigger_L1THGCal_HGCalTriggerBackendProcessor_h__
2
#define __L1Trigger_L1THGCal_HGCalTriggerBackendProcessor_h__
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
6
#include "
FWCore/Framework/interface/Event.h
"
7
8
#include "
DataFormats/L1THGCal/interface/HGCFETriggerDigi.h
"
9
#include "
DataFormats/L1THGCal/interface/HGCFETriggerDigiDefs.h
"
10
11
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h
"
12
13
#include "
L1Trigger/L1THGCal/interface/HGCalTriggerBackendAlgorithmBase.h
"
14
15
#include <vector>
16
#include <memory>
17
18
/*******
19
*
20
* class: HGCalTriggerBackendProcessor
21
* author: L.Gray (FNAL)
22
* date: 12 August, 2015
23
*
24
* This class contains a list of backend algorithms
25
* that are run in the sequence defined in python (order of pset vector).
26
* This is mostly a wrapper class that manages calling the algorithms.
27
*
28
*******/
29
30
class
HGCalTriggerBackendProcessor
{
31
public
:
32
typedef
std::unique_ptr<HGCalTriggerBackendAlgorithmBase>
algo_ptr
;
33
34
HGCalTriggerBackendProcessor
(
const
edm::ParameterSet
& conf,
edm::ConsumesCollector
&&
cc
);
35
36
void
setGeometry
(
const
HGCalTriggerGeometryBase
*
const
geom
);
37
38
void
setProduces
(
edm::stream::EDProducer<>
&
prod
)
const
;
39
40
void
run
(
const
l1t::HGCFETriggerDigiCollection
& coll,
const
edm::EventSetup
& es,
edm::Event
&
e
);
41
42
void
putInEvent
(
edm::Event
& evt);
43
44
void
reset
();
45
46
private
:
47
std::vector<algo_ptr>
algorithms_
;
48
};
49
50
#endif
HGCalTriggerGeometryBase
Definition:
HGCalTriggerGeometryBase.h:19
HGCFETriggerDigiDefs.h
HGCalTriggerBackendProcessor::setProduces
void setProduces(edm::stream::EDProducer<> &prod) const
Definition:
HGCalTriggerBackendProcessor.cc:17
HGCalTriggerBackendProcessor
Definition:
HGCalTriggerBackendProcessor.h:29
EDProducer.h
edm::SortedCollection
Definition:
SortedCollection.h:49
HGCalTriggerBackendProcessor::setGeometry
void setGeometry(const HGCalTriggerGeometryBase *const geom)
Definition:
HGCalTriggerBackendProcessor.cc:11
HGCalTriggerBackendProcessor::algorithms_
std::vector< algo_ptr > algorithms_
Definition:
HGCalTriggerBackendProcessor.h:55
HGCalTriggerGeometryBase.h
HGCFETriggerDigi.h
dumpMFGeometry_cfg.prod
prod
Definition:
dumpMFGeometry_cfg.py:24
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HGCalTriggerBackendProcessor::algo_ptr
std::unique_ptr< HGCalTriggerBackendAlgorithmBase > algo_ptr
Definition:
HGCalTriggerBackendProcessor.h:40
HGCalTriggerBackendProcessor::reset
void reset()
Definition:
HGCalTriggerBackendProcessor.cc:37
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::stream::EDProducer<>
HGCalTriggerBackendAlgorithmBase.h
edm::EventSetup
Definition:
EventSetup.h:57
cc
HGCalTriggerBackendProcessor::putInEvent
void putInEvent(edm::Event &evt)
Definition:
HGCalTriggerBackendProcessor.cc:31
ParameterSet.h
edm::Event
Definition:
Event.h:73
HGCalTriggerBackendProcessor::run
void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &e)
Definition:
HGCalTriggerBackendProcessor.cc:23
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
HGCalTriggerBackendProcessor::HGCalTriggerBackendProcessor
HGCalTriggerBackendProcessor(const edm::ParameterSet &conf, edm::ConsumesCollector &&cc)
Definition:
HGCalTriggerBackendProcessor.cc:3
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16