CMS 3D CMS Logo

Public Types | Public Member Functions

CastorRecHit Class Reference

#include <CastorRecHit.h>

Inheritance diagram for CastorRecHit:
CaloRecHit

List of all members.

Public Types

typedef HcalCastorDetId key_type

Public Member Functions

 CastorRecHit ()
 CastorRecHit (const HcalCastorDetId &id, float energy, float time)
HcalCastorDetId id () const
 get the id

Detailed Description

Definition at line 8 of file CastorRecHit.h.


Member Typedef Documentation

Definition at line 10 of file CastorRecHit.h.


Constructor & Destructor Documentation

CastorRecHit::CastorRecHit ( )

Definition at line 4 of file CastorRecHit.cc.

                           : CaloRecHit() {
}
CastorRecHit::CastorRecHit ( const HcalCastorDetId id,
float  energy,
float  time 
)

Definition at line 7 of file CastorRecHit.cc.

                                                                              :
  CaloRecHit(id,energy,time) {
}

Member Function Documentation

HcalCastorDetId CastorRecHit::id ( void  ) const [inline]

get the id

Definition at line 15 of file CastorRecHit.h.

References CaloRecHit::detid().

Referenced by operator<<(), and CastorCellProducer::produce().

{ return HcalCastorDetId(detid()); }