Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
14
class
ZDCRecHit
:
public
CaloRecHit
{
15
public
:
16
typedef
HcalZDCDetId
key_type
;
17
18
ZDCRecHit
();
19
ZDCRecHit
(
const
HcalZDCDetId
&
id
,
float
energy
,
float
time
,
float
lowGainEnergy
);
21
HcalZDCDetId
id
()
const
{
return
HcalZDCDetId
(
detid
()); }
22
// follow EcalRecHit method of adding variable flagBits_ to CaloRecHit
23
float
lowGainEnergy
()
const
{
return
lowGainEnergy_
;};
24
private
:
25
float
lowGainEnergy_
;
26
};
27
28
std::ostream&
operator<<
(std::ostream&
s
,
const
ZDCRecHit
&
hit
);
29
30
#endif
ZDCRecHit::lowGainEnergy_
float lowGainEnergy_
Definition:
ZDCRecHit.h:23
CaloRecHit::detid
const DetId & detid() const
Definition:
CaloRecHit.h:22
ZDCRecHit::ZDCRecHit
ZDCRecHit()
Definition:
ZDCRecHit.cc:4
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CaloRecHit::time
float time() const
Definition:
CaloRecHit.h:21
CaloRecHit
Definition:
CaloRecHit.h:14
CaloRecHit::energy
float energy() const
Definition:
CaloRecHit.h:19
HcalZDCDetId
Definition:
HcalZDCDetId.h:18
ZDCRecHit::lowGainEnergy
float lowGainEnergy() const
Definition:
ZDCRecHit.h:23
HcalZDCDetId.h
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
ZDCRecHit::key_type
HcalZDCDetId key_type
Definition:
ZDCRecHit.h:16
CaloRecHit.h
ZDCRecHit::id
HcalZDCDetId id() const
get the id
Definition:
ZDCRecHit.h:21
ZDCRecHit
Definition:
ZDCRecHit.h:14
Generated for CMSSW Reference Manual by
1.8.5