src
L1Trigger
DTTriggerPhase2
interface
LateralityProvider.h
Go to the documentation of this file.
1
#ifndef Phase2L1Trigger_DTTrigger_LateralityProvider_h
2
#define Phase2L1Trigger_DTTrigger_LateralityProvider_h
3
4
#include "
FWCore/Utilities/interface/ESGetToken.h
"
5
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
6
#include "
FWCore/Framework/interface/FrameworkfwdMostUsed.h
"
7
#include "
FWCore/Framework/interface/Event.h
"
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EventSetup.h
"
10
#include "
FWCore/Framework/interface/Run.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
13
14
#include "
L1Trigger/DTTriggerPhase2/interface/MuonPath.h
"
15
#include "
L1Trigger/DTTriggerPhase2/interface/constants.h
"
16
17
#include <iostream>
18
#include <fstream>
19
20
// ===============================================================================
21
// Previous definitions and declarations
22
// ===============================================================================
23
24
// ===============================================================================
25
// Class declarations
26
// ===============================================================================
27
28
using
latcomb
= std::vector<short>;
29
using
lat_vector
= std::vector<latcomb>;
30
31
class
LateralityProvider
{
32
public
:
33
// Constructors and destructor
34
LateralityProvider
(
const
edm::ParameterSet
&
pset
,
edm::ConsumesCollector
& iC);
35
virtual
~LateralityProvider
();
36
37
// Main methods
38
virtual
void
initialise
(
const
edm::EventSetup
& iEventSetup);
39
virtual
void
run
(
edm::Event
&
iEvent
,
40
const
edm::EventSetup
& iEventSetup,
41
MuonPathPtrs
& inMpath,
42
std::vector<lat_vector>& lateralities) = 0;
43
44
virtual
void
finish
();
45
46
// Other public methods
47
48
// Public attributes
49
lat_vector
LAT_VECTOR_NULL
= {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}};
50
51
private
:
52
// Private methods
53
54
// Private attributes
55
const
bool
debug_
;
56
};
57
58
#endif
MessageLogger.h
LateralityProvider::finish
virtual void finish()
Definition:
LateralityProvider.cc:19
Event.h
MuonPathPtrs
std::vector< MuonPathPtr > MuonPathPtrs
Definition:
MuonPath.h:132
EventSetup.h
LateralityProvider::LAT_VECTOR_NULL
lat_vector LAT_VECTOR_NULL
Definition:
LateralityProvider.h:49
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Frameworkfwd.h
latcomb
std::vector< short > latcomb
Definition:
LateralityProvider.h:28
ParameterSet.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
LateralityProvider::LateralityProvider
LateralityProvider(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
Definition:
LateralityProvider.cc:9
FrameworkfwdMostUsed.h
constants.h
edm::EventSetup
Definition:
EventSetup.h:56
Run.h
MuonPath.h
LateralityProvider::initialise
virtual void initialise(const edm::EventSetup &iEventSetup)
Definition:
LateralityProvider.cc:17
lat_vector
std::vector< latcomb > lat_vector
Definition:
LateralityProvider.h:29
LateralityProvider::~LateralityProvider
virtual ~LateralityProvider()
Definition:
LateralityProvider.cc:12
LateralityProvider::debug_
const bool debug_
Definition:
LateralityProvider.h:55
LateralityProvider::run
virtual void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector< lat_vector > &lateralities)=0
Definition:
LateralityProvider.cc:21
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
LateralityProvider
Definition:
LateralityProvider.h:31
ESGetToken.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14