DataFormats
HcalRecHit
interface
HFRecHit.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALRECHIT_HFRECHIT_H
2
#define DATAFORMATS_HCALRECHIT_HFRECHIT_H 1
3
4
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
5
#include "
DataFormats/CaloRecHit/interface/CaloRecHit.h
"
6
11
class
HFRecHit
:
public
CaloRecHit
{
12
public
:
13
typedef
HcalDetId
key_type
;
14
15
constexpr
HFRecHit
() :
CaloRecHit
(),
timeFalling_
(0.
f
),
auxHF_
(0) {}
16
17
//HFRecHit(const HcalDetId& id, float energy, float time);
19
constexpr
HFRecHit
(
const
HcalDetId
&
id
,
float
en,
float
timeRising,
float
timeFalling
= 0)
20
:
CaloRecHit
(
id
, en, timeRising),
timeFalling_
(
timeFalling
),
auxHF_
(0) {}
21
24
constexpr
float
timeFalling
()
const
{
return
timeFalling_
; }
25
constexpr
void
setTimeFalling
(
float
timeFalling
) {
timeFalling_
=
timeFalling
; }
26
constexpr
HcalDetId
id
()
const
{
return
HcalDetId
(
detid
()); }
27
28
constexpr
void
setAuxHF
(
const
uint32_t u) {
auxHF_
= u; }
29
constexpr uint32_t
getAuxHF
()
const
{
return
auxHF_
; }
30
31
private
:
32
float
timeFalling_
;
33
uint32_t
auxHF_
;
34
};
35
36
std::ostream&
operator<<
(std::ostream&
s
,
const
HFRecHit
&
hit
);
37
38
#endif
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
HFRecHit::id
constexpr HcalDetId id() const
Definition:
HFRecHit.h:26
operator<<
std::ostream & operator<<(std::ostream &s, const HFRecHit &hit)
Definition:
HFRecHit.cc:3
CaloRecHit
Definition:
CaloRecHit.h:23
CaloRecHit::detid
constexpr const DetId & detid() const
Definition:
CaloRecHit.h:33
CaloRecHit.h
HFRecHit::key_type
HcalDetId key_type
Definition:
HFRecHit.h:13
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
HFRecHit
Definition:
HFRecHit.h:11
HFRecHit::timeFalling
constexpr float timeFalling() const
Definition:
HFRecHit.h:24
HFRecHit::HFRecHit
constexpr HFRecHit(const HcalDetId &id, float en, float timeRising, float timeFalling=0)
get the id
Definition:
HFRecHit.h:19
HFRecHit::setTimeFalling
constexpr void setTimeFalling(float timeFalling)
Definition:
HFRecHit.h:25
HFRecHit::HFRecHit
constexpr HFRecHit()
Definition:
HFRecHit.h:15
HcalDetId.h
HFRecHit::setAuxHF
constexpr void setAuxHF(const uint32_t u)
Definition:
HFRecHit.h:28
HFRecHit::auxHF_
uint32_t auxHF_
Definition:
HFRecHit.h:33
HcalDetId
Definition:
HcalDetId.h:12
HFRecHit::getAuxHF
constexpr uint32_t getAuxHF() const
Definition:
HFRecHit.h:29
HFRecHit::timeFalling_
float timeFalling_
Definition:
HFRecHit.h:32
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16