Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
L1Trigger
L1TMuonOverlapPhase1
interface
MuonStubsInput.h
Go to the documentation of this file.
1
/*
2
* MuonStubsInput.h
3
*
4
* Created on: Jan 31, 2019
5
* Author: Karol Bunkowski kbunkow@cern.ch
6
*/
7
8
#ifndef L1T_OmtfP1_MUONSTUBSINPUT_H_
9
#define L1T_OmtfP1_MUONSTUBSINPUT_H_
10
11
#include "
L1Trigger/L1TMuonOverlapPhase1/interface/ProcConfigurationBase.h
"
12
#include "
L1Trigger/L1TMuonOverlapPhase1/interface/MuonStub.h
"
13
#include <ostream>
14
15
class
MuonStubsInput
{
16
public
:
17
MuonStubsInput
(
const
ProcConfigurationBase
*
config
);
18
19
virtual
~MuonStubsInput
() {}
20
21
virtual
void
addStub
(
unsigned
int
iLayer,
const
MuonStubPtr
& stub) {
22
muonStubsInLayers
.at(iLayer).emplace_back(stub);
23
}
24
25
virtual
MuonStubPtrs2D
&
getMuonStubs
() {
return
muonStubsInLayers
; }
26
27
virtual
const
MuonStubPtrs2D
&
getMuonStubs
()
const
{
return
muonStubsInLayers
; }
28
29
//gives stub phiHw or phiBHw - depending which layer is requested
30
//if there is no stub at input iInput - return MuonStub::EMTPY_PHI
31
virtual
int
getPhiHw
(
unsigned
int
iLayer,
unsigned
int
iInput)
const
;
32
33
friend
std::ostream&
operator<<
(std::ostream&
out
,
const
MuonStubsInput
& stubsInput);
34
35
protected
:
36
const
ProcConfigurationBase
* config =
nullptr
;
37
38
//indexing: muonStubsInLayers[iLayer][iStub]
39
MuonStubPtrs2D
muonStubsInLayers
;
40
};
41
42
#endif
/* L1T_OmtfP1_MUONSTUBSINPUT_H_ */
MuonStubsInput::getMuonStubs
virtual const MuonStubPtrs2D & getMuonStubs() const
Definition:
MuonStubsInput.h:27
MuonStubsInput
Definition:
MuonStubsInput.h:15
ProcConfigurationBase
Definition:
ProcConfigurationBase.h:12
MuonStubsInput::~MuonStubsInput
virtual ~MuonStubsInput()
Definition:
MuonStubsInput.h:19
MuonStubsInput::getMuonStubs
virtual MuonStubPtrs2D & getMuonStubs()
Definition:
MuonStubsInput.h:25
MuonStubsInput::addStub
virtual void addStub(unsigned int iLayer, const MuonStubPtr &stub)
Definition:
MuonStubsInput.h:21
MuonStubsInput::getPhiHw
virtual int getPhiHw(unsigned int iLayer, unsigned int iInput) const
Definition:
MuonStubsInput.cc:26
MuonStub.h
MuonStubPtrs2D
std::vector< MuonStubPtrs1D > MuonStubPtrs2D
Definition:
MuonStub.h:67
MuonStubPtr
std::shared_ptr< MuonStub > MuonStubPtr
Definition:
MuonStub.h:65
MuonStubsInput::config
const ProcConfigurationBase * config
Definition:
MuonStubsInput.h:36
MuonStubsInput::MuonStubsInput
MuonStubsInput(const ProcConfigurationBase *config)
Definition:
MuonStubsInput.cc:11
MuonStubsInput::operator<<
friend std::ostream & operator<<(std::ostream &out, const MuonStubsInput &stubsInput)
Definition:
MuonStubsInput.cc:14
ProcConfigurationBase.h
MuonStubsInput::muonStubsInLayers
MuonStubPtrs2D muonStubsInLayers
Definition:
MuonStubsInput.h:39
submitPVResolutionJobs.out
string out
Definition:
submitPVResolutionJobs.py:118
Generated for CMSSW Reference Manual by
1.8.5