Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
L1TMuonOverlap
interface
OMTFinput.h
Go to the documentation of this file.
1
#ifndef OMTF_OMTFinput_H
2
#define OMTF_OMTFinput_H
3
4
#include <vector>
5
#include <ostream>
6
#include <bitset>
7
8
class
XMLConfigReader
;
9
10
class
OMTFinput
{
11
12
public
:
13
14
typedef
std::vector<int>
vector1D
;
15
typedef
std::vector<vector1D>
vector2D
;
16
17
OMTFinput
();
18
21
bool
addLayerHit
(
unsigned
int
iLayer,
22
unsigned
int
iInput,
23
int
iPhi,
int
iEta);
24
26
void
clear
();
27
29
void
readData
(
XMLConfigReader
*aReader,
30
unsigned
int
iEvent
=0,
31
unsigned
int
iProcessor=0);
32
34
void
shiftMyPhi
(
int
phiShift);
35
38
void
mergeData
(
OMTFinput
*aInput);
39
40
const
OMTFinput::vector1D
&
getLayerData
(
unsigned
int
iLayer,
bool
giveEta=
false
)
const
;
41
42
std::bitset<128>
getRefHits
(
unsigned
int
iProcessor)
const
;
43
44
friend
std::ostream &
operator <<
(std::ostream &
out
,
const
OMTFinput
& aInput);
45
46
private
:
47
51
vector2D
measurementsPhi
;
52
56
vector2D
measurementsEta
;
57
59
mutable
vector1D
refHitsEta
;
60
61
};
62
63
64
#endif
OMTFinput::clear
void clear()
Reset vectors with data.
Definition:
OMTFinput.cc:95
OMTFinput::measurementsEta
vector2D measurementsEta
Definition:
OMTFinput.h:56
OMTFinput::shiftMyPhi
void shiftMyPhi(int phiShift)
Apply shift to all data.
Definition:
OMTFinput.cc:105
OMTFinput::OMTFinput
OMTFinput()
Definition:
OMTFinput.cc:11
OMTFinput::operator<<
friend std::ostream & operator<<(std::ostream &out, const OMTFinput &aInput)
Definition:
OMTFinput.cc:127
OMTFinput::vector1D
std::vector< int > vector1D
Definition:
OMTFinput.h:14
OMTFinput::vector2D
std::vector< vector1D > vector2D
Definition:
OMTFinput.h:15
OMTFinput::getLayerData
const OMTFinput::vector1D & getLayerData(unsigned int iLayer, bool giveEta=false) const
Definition:
OMTFinput.cc:18
OMTFinput::refHitsEta
vector1D refHitsEta
RefHitsEta.
Definition:
OMTFinput.h:59
iEvent
int iEvent
Definition:
GenABIO.cc:230
XMLConfigReader
Definition:
XMLConfigReader.h:25
OMTFinput::getRefHits
std::bitset< 128 > getRefHits(unsigned int iProcessor) const
Definition:
OMTFinput.cc:26
OMTFinput::mergeData
void mergeData(OMTFinput *aInput)
Definition:
OMTFinput.cc:75
GenerateHcalLaserBadRunList.out
tuple out
Definition:
GenerateHcalLaserBadRunList.py:91
OMTFinput
Definition:
OMTFinput.h:10
OMTFinput::addLayerHit
bool addLayerHit(unsigned int iLayer, unsigned int iInput, int iPhi, int iEta)
Definition:
OMTFinput.cc:45
OMTFinput::readData
void readData(XMLConfigReader *aReader, unsigned int iEvent=0, unsigned int iProcessor=0)
Read data from a XML file.
Definition:
OMTFinput.cc:65
OMTFinput::measurementsPhi
vector2D measurementsPhi
Definition:
OMTFinput.h:51
Generated for CMSSW Reference Manual by
1.8.5