CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
HcalPulseShapes Class Reference

#include <HcalPulseShapes.h>

Public Types

typedef HcalPulseShape Shape
 

Public Member Functions

void beginRun (edm::EventSetup const &es)
 
const ShapedefaultShape (const HcalDetId &detId) const
 in case of conditions problems More...
 
void endRun ()
 
const ShapegetShape (int shapeType) const
 
const ShapehbShape () const
 
 HcalPulseShapes ()
 
const ShapeheShape () const
 
const ShapehfShape () const
 
const ShapehoShape (bool sipm=false) const
 
const Shapeshape (const HcalDetId &detId) const
 automatically figures out which shape to return More...
 
const ShapeshapeForReco (const HcalDetId &detId) const
 
 ~HcalPulseShapes ()
 

Private Types

typedef std::map< int, const
Shape * > 
ShapeMap
 

Private Member Functions

void computeHFShape ()
 
void computeHPDShape (float, float, float, float, float, float, float, float, Shape &)
 
void computeSiPMShape ()
 

Private Attributes

Shape hfShape_
 
Shape hpdBV30Shape_v2
 
Shape hpdBV30ShapeMC_v2
 
Shape hpdShape_
 
Shape hpdShape_v2
 
Shape hpdShape_v3
 
Shape hpdShapeMC_v2
 
Shape hpdShapeMC_v3
 
Shape siPMShape_
 
HcalMCParamstheMCParams
 
HcalRecoParamstheRecoParams
 
ShapeMap theShapes
 
const HcalTopologytheTopology
 

Detailed Description

Author
J. Mans - Minnesota

Definition at line 18 of file HcalPulseShapes.h.

Member Typedef Documentation

Definition at line 20 of file HcalPulseShapes.h.

typedef std::map<int, const Shape *> HcalPulseShapes::ShapeMap
private

Definition at line 51 of file HcalPulseShapes.h.

Constructor & Destructor Documentation

HcalPulseShapes::HcalPulseShapes ( )

Definition at line 21 of file HcalPulseShapes.cc.

HcalPulseShapes::~HcalPulseShapes ( )

Definition at line 104 of file HcalPulseShapes.cc.

Member Function Documentation

void HcalPulseShapes::beginRun ( edm::EventSetup const &  es)

Definition at line 111 of file HcalPulseShapes.cc.

Referenced by HcalPulseContainmentManager::beginRun().

void HcalPulseShapes::computeHFShape ( )
private

Definition at line 257 of file HcalPulseShapes.cc.

void HcalPulseShapes::computeHPDShape ( float  ts1,
float  ts2,
float  ts3,
float  thpd,
float  tpre,
float  wd1,
float  wd2,
float  wd3,
Shape tmphpdShape_ 
)
private

Definition at line 147 of file HcalPulseShapes.cc.

void HcalPulseShapes::computeSiPMShape ( )
private

Definition at line 287 of file HcalPulseShapes.cc.

const HcalPulseShapes::Shape & HcalPulseShapes::defaultShape ( const HcalDetId detId) const

in case of conditions problems

Definition at line 520 of file HcalPulseShapes.cc.

void HcalPulseShapes::endRun ( )

Definition at line 133 of file HcalPulseShapes.cc.

Referenced by HcalPulseContainmentManager::endRun().

const HcalPulseShapes::Shape & HcalPulseShapes::getShape ( int  shapeType) const

Definition at line 444 of file HcalPulseShapes.cc.

Referenced by HcalShape::setShape().

const Shape& HcalPulseShapes::hbShape ( ) const
inline

Definition at line 27 of file HcalPulseShapes.h.

References hpdShape_.

27 { return hpdShape_; }
const Shape& HcalPulseShapes::heShape ( ) const
inline

Definition at line 28 of file HcalPulseShapes.h.

References hpdShape_.

28 { return hpdShape_; }
const Shape& HcalPulseShapes::hfShape ( ) const
inline

Definition at line 29 of file HcalPulseShapes.h.

References hfShape_.

29 { return hfShape_; }
const Shape& HcalPulseShapes::hoShape ( bool  sipm = false) const
inline

Definition at line 30 of file HcalPulseShapes.h.

References hpdShape_, and siPMShape_.

30 { return sipm ? siPMShape_ : hpdShape_; }
const HcalPulseShapes::Shape & HcalPulseShapes::shape ( const HcalDetId detId) const

automatically figures out which shape to return

Definition at line 461 of file HcalPulseShapes.cc.

const HcalPulseShapes::Shape & HcalPulseShapes::shapeForReco ( const HcalDetId detId) const

Definition at line 490 of file HcalPulseShapes.cc.

Referenced by HcalPulseContainmentManager::get().

Member Data Documentation

Shape HcalPulseShapes::hfShape_
private

Definition at line 44 of file HcalPulseShapes.h.

Referenced by hfShape().

Shape HcalPulseShapes::hpdBV30Shape_v2
private

Definition at line 47 of file HcalPulseShapes.h.

Shape HcalPulseShapes::hpdBV30ShapeMC_v2
private

Definition at line 47 of file HcalPulseShapes.h.

Shape HcalPulseShapes::hpdShape_
private

Definition at line 44 of file HcalPulseShapes.h.

Referenced by hbShape(), heShape(), and hoShape().

Shape HcalPulseShapes::hpdShape_v2
private

Definition at line 45 of file HcalPulseShapes.h.

Shape HcalPulseShapes::hpdShape_v3
private

Definition at line 46 of file HcalPulseShapes.h.

Shape HcalPulseShapes::hpdShapeMC_v2
private

Definition at line 45 of file HcalPulseShapes.h.

Shape HcalPulseShapes::hpdShapeMC_v3
private

Definition at line 46 of file HcalPulseShapes.h.

Shape HcalPulseShapes::siPMShape_
private

Definition at line 44 of file HcalPulseShapes.h.

Referenced by hoShape().

HcalMCParams* HcalPulseShapes::theMCParams
private

Definition at line 48 of file HcalPulseShapes.h.

HcalRecoParams* HcalPulseShapes::theRecoParams
private

Definition at line 50 of file HcalPulseShapes.h.

ShapeMap HcalPulseShapes::theShapes
private

Definition at line 52 of file HcalPulseShapes.h.

const HcalTopology* HcalPulseShapes::theTopology
private

Definition at line 49 of file HcalPulseShapes.h.