DataFormats
HcalRecHit
interface
CastorRecHit.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALRECHIT_CASTORRECHIT_H
2
#define DATAFORMATS_HCALRECHIT_CASTORRECHIT_H 1
3
4
#include "
DataFormats/HcalDetId/interface/HcalCastorDetId.h
"
5
#include "
DataFormats/CaloRecHit/interface/CaloRecHit.h
"
6
7
class
CastorRecHit
:
public
CaloRecHit
{
8
public
:
9
typedef
HcalCastorDetId
key_type
;
10
11
CastorRecHit
();
12
CastorRecHit
(
const
HcalCastorDetId
&
id
,
float
energy
,
float
time
);
14
HcalCastorDetId
id
()
const
{
return
HcalCastorDetId
(
detid
()); }
15
};
16
17
std::ostream&
operator<<
(std::ostream&
s
,
const
CastorRecHit
&
hit
);
18
19
#endif
CaloRecHit::energy
constexpr float energy() const
Definition:
CaloRecHit.h:29
CaloRecHit
Definition:
CaloRecHit.h:23
CaloRecHit::detid
constexpr const DetId & detid() const
Definition:
CaloRecHit.h:33
CaloRecHit.h
CastorRecHit::key_type
HcalCastorDetId key_type
Definition:
CastorRecHit.h:9
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
CastorRecHit
Definition:
CastorRecHit.h:7
CastorRecHit::id
HcalCastorDetId id() const
get the id
Definition:
CastorRecHit.h:14
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
CaloRecHit::time
constexpr float time() const
Definition:
CaloRecHit.h:31
CastorRecHit::CastorRecHit
CastorRecHit()
Definition:
CastorRecHit.cc:3
HcalCastorDetId.h
operator<<
std::ostream & operator<<(std::ostream &s, const CastorRecHit &hit)
Definition:
CastorRecHit.cc:7
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16