Main Page
Namespaces
Classes
Package Documentation
DataFormats
HcalRecHit
interface
HcalCalibRecHit.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALRECHIT_HcalCalibRECHIT_H
2
#define DATAFORMATS_HCALRECHIT_HcalCalibRECHIT_H 1
3
4
#include "
DataFormats/HcalDetId/interface/HcalCalibDetId.h
"
5
10
class
HcalCalibRecHit
{
11
public
:
12
typedef
HcalCalibDetId
key_type
;
13
14
HcalCalibRecHit
();
15
HcalCalibRecHit
(
const
HcalCalibDetId
&
id
,
float
amplitude
,
float
time
);
17
float
amplitude
()
const
{
return
amplitude_
; }
19
float
time
()
const
{
return
time_
; }
21
HcalCalibDetId
id
()
const
{
return
id_
; }
22
private
:
23
HcalCalibDetId
id_
;
24
float
amplitude_
,
time_
;
25
};
26
27
std::ostream&
operator<<
(std::ostream&
s
,
const
HcalCalibRecHit
&
hit
);
28
29
#endif
HcalCalibDetId.h
HcalCalibRecHit::time_
float time_
Definition:
HcalCalibRecHit.h:24
HcalCalibRecHit::amplitude
float amplitude() const
get the amplitude (generally fC, but can vary)
Definition:
HcalCalibRecHit.h:17
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
HcalCalibRecHit::id_
HcalCalibDetId id_
Definition:
HcalCalibRecHit.h:23
HcalCalibRecHit::amplitude_
float amplitude_
Definition:
HcalCalibRecHit.h:24
operator<<
std::ostream & operator<<(std::ostream &s, const HcalCalibRecHit &hit)
Definition:
HcalCalibRecHit.cc:11
HcalCalibRecHit::HcalCalibRecHit
HcalCalibRecHit()
Definition:
HcalCalibRecHit.cc:4
HcalCalibRecHit
Definition:
HcalCalibRecHit.h:10
HcalCalibDetId
Definition:
HcalCalibDetId.h:35
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
HcalCalibRecHit::time
float time() const
get the hit time (if available)
Definition:
HcalCalibRecHit.h:19
HcalCalibRecHit::id
HcalCalibDetId id() const
get the id
Definition:
HcalCalibRecHit.h:21
HcalCalibRecHit::key_type
HcalCalibDetId key_type
Definition:
HcalCalibRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.11