Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
HcalRecHit
interface
HBHERecHit.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALRECHIT_HBHERECHIT_H
2
#define DATAFORMATS_HCALRECHIT_HBHERECHIT_H 1
3
4
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
5
#include "
DataFormats/CaloRecHit/interface/CaloRecHit.h
"
6
7
12
class
HBHERecHit
:
public
CaloRecHit
{
13
public
:
14
typedef
HcalDetId
key_type
;
15
16
HBHERecHit
();
17
//HBHERecHit(const HcalDetId& id, float energy, float time);
18
HBHERecHit
(
const
HcalDetId
&
id
,
float
amplitude,
float
timeRising,
float
timeFalling
=0);
19
21
float
timeFalling
()
const
{
return
timeFalling_
; }
23
HcalDetId
id
()
const
{
return
HcalDetId
(
detid
()); }
24
25
inline
void
setRawEnergy
(
const
float
en) {
rawEnergy_
= en;}
26
inline
float
eraw
()
const
{
return
rawEnergy_
;}
27
28
inline
void
setAuxHBHE
(
const
uint32_t
aux
) {
auxHBHE_
=
aux
;}
29
inline
uint32_t
auxHBHE
()
const
{
return
auxHBHE_
;}
30
31
private
:
32
float
timeFalling_
;
33
float
rawEnergy_
;
34
uint32_t
auxHBHE_
;
35
};
36
37
std::ostream&
operator<<
(std::ostream&
s
,
const
HBHERecHit
&
hit
);
38
39
40
#endif
CaloRecHit::aux
uint32_t aux() const
Definition:
CaloRecHit.h:26
CaloRecHit::detid
const DetId & detid() const
Definition:
CaloRecHit.h:20
HBHERecHit::id
HcalDetId id() const
get the id
Definition:
HBHERecHit.h:23
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
HBHERecHit
Definition:
HBHERecHit.h:12
CaloRecHit
Definition:
CaloRecHit.h:12
HcalDetId
Definition:
HcalDetId.h:16
HcalDetId.h
HBHERecHit::key_type
HcalDetId key_type
Definition:
HBHERecHit.h:14
HBHERecHit::timeFalling_
float timeFalling_
Definition:
HBHERecHit.h:32
HBHERecHit::setAuxHBHE
void setAuxHBHE(const uint32_t aux)
Definition:
HBHERecHit.h:28
HBHERecHit::timeFalling
float timeFalling() const
get the hit falling time
Definition:
HBHERecHit.h:21
HBHERecHit::auxHBHE_
uint32_t auxHBHE_
Definition:
HBHERecHit.h:34
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
HBHERecHit::auxHBHE
uint32_t auxHBHE() const
Definition:
HBHERecHit.h:29
hit
Definition:
SiStripHitEffFromCalibTree.cc:79
HBHERecHit::HBHERecHit
HBHERecHit()
Definition:
HBHERecHit.cc:4
CaloRecHit.h
HBHERecHit::eraw
float eraw() const
Definition:
HBHERecHit.h:26
HBHERecHit::setRawEnergy
void setRawEnergy(const float en)
Definition:
HBHERecHit.h:25
HBHERecHit::rawEnergy_
float rawEnergy_
Definition:
HBHERecHit.h:33
Generated for CMSSW Reference Manual by
1.8.5