Main Page
Namespaces
Classes
Package Documentation
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
7
12
class
HFRecHit
:
public
CaloRecHit
{
13
public
:
14
typedef
HcalDetId
key_type
;
15
16
HFRecHit
();
17
//HFRecHit(const HcalDetId& id, float energy, float time);
19
HFRecHit
(
const
HcalDetId
&
id
,
float
amplitude
,
float
timeRising,
float
timeFalling
=0);
22
float
timeFalling
()
const
{
return
timeFalling_
; }
23
HcalDetId
id
()
const
{
return
HcalDetId
(
detid
()); }
24
25
inline
void
setAuxHF
(
const
uint32_t u) {
auxHF_
= u;}
26
inline
uint32_t
getAuxHF
()
const
{
return
auxHF_
;}
27
28
private
:
29
30
float
timeFalling_
;
31
uint32_t
auxHF_
;
32
};
33
34
std::ostream&
operator<<
(std::ostream&
s
,
const
HFRecHit
&
hit
);
35
36
#endif
CaloRecHit::detid
const DetId & detid() const
Definition:
CaloRecHit.h:21
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
HFRecHit::timeFalling
float timeFalling() const
Definition:
HFRecHit.h:22
HFRecHit::setAuxHF
void setAuxHF(const uint32_t u)
Definition:
HFRecHit.h:25
CustomPhysics_cfi.amplitude
amplitude
Definition:
CustomPhysics_cfi.py:12
HFRecHit::key_type
HcalDetId key_type
Definition:
HFRecHit.h:14
CaloRecHit
Definition:
CaloRecHit.h:12
HcalDetId
Definition:
HcalDetId.h:12
HcalDetId.h
HFRecHit::HFRecHit
HFRecHit()
Definition:
HFRecHit.cc:4
HFRecHit::auxHF_
uint32_t auxHF_
Definition:
HFRecHit.h:31
operator<<
std::ostream & operator<<(std::ostream &s, const HFRecHit &hit)
Definition:
HFRecHit.cc:18
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
HFRecHit::timeFalling_
float timeFalling_
Definition:
HFRecHit.h:30
CaloRecHit.h
HFRecHit::getAuxHF
uint32_t getAuxHF() const
Definition:
HFRecHit.h:26
HFRecHit::id
HcalDetId id() const
Definition:
HFRecHit.h:23
HFRecHit
Definition:
HFRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.11