Main Page
Namespaces
Classes
Package Documentation
DataFormats
HcalRecHit
interface
ZDCRecHit.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALRECHIT_ZDCRECHIT_H
2
#define DATAFORMATS_HCALRECHIT_ZDCRECHIT_H 1
3
4
#include "
DataFormats/HcalDetId/interface/HcalZDCDetId.h
"
5
#include "
DataFormats/CaloRecHit/interface/CaloRecHit.h
"
6
7
12
class
ZDCRecHit
:
public
CaloRecHit
{
13
public
:
14
typedef
HcalZDCDetId
key_type
;
15
16
ZDCRecHit
();
17
ZDCRecHit
(
const
HcalZDCDetId
&
id
,
float
energy
,
float
time
,
float
lowGainEnergy
);
19
HcalZDCDetId
id
()
const
{
return
HcalZDCDetId
(
detid
()); }
20
// follow EcalRecHit method of adding variable flagBits_ to CaloRecHit
21
float
lowGainEnergy
()
const
{
return
lowGainEnergy_
;};
22
private
:
23
float
lowGainEnergy_
;
24
};
25
26
std::ostream&
operator<<
(std::ostream&
s
,
const
ZDCRecHit
&
hit
);
27
28
#endif
CaloRecHit::energy
constexpr float energy() const
Definition:
CaloRecHit.h:31
ZDCRecHit::lowGainEnergy_
float lowGainEnergy_
Definition:
ZDCRecHit.h:21
CaloRecHit::detid
constexpr const DetId & detid() const
Definition:
CaloRecHit.h:35
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
ZDCRecHit::ZDCRecHit
ZDCRecHit()
Definition:
ZDCRecHit.cc:4
CaloRecHit
Definition:
CaloRecHit.h:24
HcalZDCDetId
Definition:
HcalZDCDetId.h:16
CaloRecHit::time
constexpr float time() const
Definition:
CaloRecHit.h:33
ZDCRecHit::lowGainEnergy
float lowGainEnergy() const
Definition:
ZDCRecHit.h:21
operator<<
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition:
ZDCRecHit.cc:13
HcalZDCDetId.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
ZDCRecHit::key_type
HcalZDCDetId key_type
Definition:
ZDCRecHit.h:14
CaloRecHit.h
ZDCRecHit::id
HcalZDCDetId id() const
get the id
Definition:
ZDCRecHit.h:19
ZDCRecHit
Definition:
ZDCRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.11