Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
8
class
CastorRecHit
:
public
CaloRecHit
{
9
public
:
10
typedef
HcalCastorDetId
key_type
;
11
12
CastorRecHit
();
13
CastorRecHit
(
const
HcalCastorDetId
&
id
,
float
energy
,
float
time
);
15
HcalCastorDetId
id
()
const
{
return
HcalCastorDetId
(
detid
()); }
16
};
17
18
std::ostream&
operator<<
(std::ostream&
s
,
const
CastorRecHit
&
hit
);
19
20
#endif
21
CastorRecHit::CastorRecHit
CastorRecHit()
Definition:
CastorRecHit.cc:4
CaloRecHit::detid
const DetId & detid() const
Definition:
CaloRecHit.h:21
CastorRecHit
Definition:
CastorRecHit.h:8
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CaloRecHit::time
float time() const
Definition:
CaloRecHit.h:20
CastorRecHit::id
HcalCastorDetId id() const
get the id
Definition:
CastorRecHit.h:15
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
CaloRecHit
Definition:
CaloRecHit.h:14
CaloRecHit::energy
float energy() const
Definition:
CaloRecHit.h:19
CastorRecHit::key_type
HcalCastorDetId key_type
Definition:
CastorRecHit.h:10
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
HcalCastorDetId.h
CaloRecHit.h
asciidump.s
string s
Definition:
asciidump.py:422
Generated for CMSSW Reference Manual by
1.8.5