Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoLocalMuon
CSCRecHitD
src
CSCStripHitData.h
Go to the documentation of this file.
1
#ifndef CSCRecHitD_CSCStripHitData_h
2
#define CSCRecHitD_CSCStripHitData_h
3
14
#include <vector>
15
16
class
CSCStripHitData
17
{
18
public
:
19
20
CSCStripHitData
() :
istrip_
(-1),
tmax_
(-1),
phRaw_
(
nbins_
),
ph_
(
nbins_
){};
21
22
CSCStripHitData
(
int
istrip,
int
tmax
,
const
std::vector<float>&
phRaw
,
const
std::vector<float>&
ph
) :
23
istrip_
(istrip),
tmax_
(tmax),
phRaw_
(phRaw),
ph_
(ph){};
24
25
int
strip
()
const
{
return
istrip_
;}
26
int
tmax
()
const
{
return
tmax_
;}
27
std::vector<float>
const
&
ph
()
const
{
return
ph_
;}
28
std::vector<float>
const
&
phRaw
()
const
{
return
phRaw_
;}
29
31
bool
operator<
(
const
CSCStripHitData
&
data
)
const
{
return
ph_
[1] < data.
ph_
[1]; }
32
33
private
:
34
static
const
int
nbins_
= 4;
//@ Number of ph bins saved
35
int
istrip_
;
36
int
tmax_
;
37
std::vector<float>
phRaw_
;
38
std::vector<float>
ph_
;
39
};
40
41
#endif
42
CSCStripHitData::nbins_
static const int nbins_
Definition:
CSCStripHitData.h:34
CSCStripHitData::CSCStripHitData
CSCStripHitData()
Definition:
CSCStripHitData.h:20
CSCStripHitData::phRaw
std::vector< float > const & phRaw() const
Definition:
CSCStripHitData.h:28
CSCStripHitData::istrip_
int istrip_
Definition:
CSCStripHitData.h:35
CSCStripHitData::ph
std::vector< float > const & ph() const
Definition:
CSCStripHitData.h:27
CSCStripHitData::strip
int strip() const
Definition:
CSCStripHitData.h:25
CSCStripHitData::tmax_
int tmax_
Definition:
CSCStripHitData.h:36
CSCStripHitData::ph_
std::vector< float > ph_
Definition:
CSCStripHitData.h:38
CSCStripHitData
Definition:
CSCStripHitData.h:16
CSCStripHitData::phRaw_
std::vector< float > phRaw_
Definition:
CSCStripHitData.h:37
CSCStripHitData::operator<
bool operator<(const CSCStripHitData &data) const
Order by 2nd ph bin.
Definition:
CSCStripHitData.h:31
CSCStripHitData::CSCStripHitData
CSCStripHitData(int istrip, int tmax, const std::vector< float > &phRaw, const std::vector< float > &ph)
Definition:
CSCStripHitData.h:22
AlCaHLTBitMon_QueryRunRegistry.data
tuple data
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:288
CSCStripHitData::tmax
int tmax() const
Definition:
CSCStripHitData.h:26
Generated for CMSSW Reference Manual by
1.8.5