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 Attributes
ClusterFP420 Class Reference

#include <ClusterFP420.h>

Public Types

typedef std::vector
< HDigiFP420 >::const_iterator 
HDigiFP420Iter
 
typedef std::pair
< HDigiFP420Iter,
HDigiFP420Iter
HDigiFP420Range
 

Public Member Functions

const std::vector< short > & amplitudes () const
 
float barycenter () const
 
float barycenterW () const
 
float barycerror () const
 
float barycerrorW () const
 
 ClusterFP420 ()
 
 ClusterFP420 (unsigned int, unsigned int, const HDigiFP420Range &, float &, float &)
 
short firstStrip () const
 
unsigned int globalId () const
 

Private Attributes

std::vector< short > amplitudes_
 
float barycenter_
 
float barycenterW_
 
float barycerror_
 
float barycerrorW_
 
unsigned int detId_
 
short firstStrip_
 

Detailed Description

Definition at line 7 of file ClusterFP420.h.

Member Typedef Documentation

typedef std::vector<HDigiFP420>::const_iterator ClusterFP420::HDigiFP420Iter

Definition at line 10 of file ClusterFP420.h.

Definition at line 11 of file ClusterFP420.h.

Constructor & Destructor Documentation

ClusterFP420::ClusterFP420 ( )
inline

Definition at line 14 of file ClusterFP420.h.

14 : detId_(0) {}
unsigned int detId_
Definition: ClusterFP420.h:39
ClusterFP420::ClusterFP420 ( unsigned int  detid,
unsigned int  xytype,
const HDigiFP420Range range,
float &  cog,
float &  err 
)

The barycenter of the cluster, not corrected for Lorentz shift; it can means that should not be used as position estimate for tracking.

Definition at line 23 of file ClusterFP420.cc.

Member Function Documentation

const std::vector<short>& ClusterFP420::amplitudes ( ) const
inline

Definition at line 29 of file ClusterFP420.h.

References amplitudes_.

29 {return amplitudes_;}
std::vector< short > amplitudes_
Definition: ClusterFP420.h:42
float ClusterFP420::barycenter ( ) const
inline

Definition at line 31 of file ClusterFP420.h.

References barycenter_.

31 {return barycenter_;}
float barycenter_
Definition: ClusterFP420.h:43
float ClusterFP420::barycenterW ( ) const
inline

Definition at line 34 of file ClusterFP420.h.

References barycenterW_.

34 {return barycenterW_;}
float barycenterW_
Definition: ClusterFP420.h:45
float ClusterFP420::barycerror ( ) const
inline

Definition at line 32 of file ClusterFP420.h.

References barycerror_.

32 {return barycerror_;}
float barycerror_
Definition: ClusterFP420.h:44
float ClusterFP420::barycerrorW ( ) const
inline

Definition at line 35 of file ClusterFP420.h.

References barycerrorW_.

35 {return barycerrorW_;}
float barycerrorW_
Definition: ClusterFP420.h:46
short ClusterFP420::firstStrip ( ) const
inline

Definition at line 21 of file ClusterFP420.h.

References firstStrip_.

Referenced by operator<().

21 {return firstStrip_;}
short firstStrip_
Definition: ClusterFP420.h:41
unsigned int ClusterFP420::globalId ( ) const
inline

Definition at line 24 of file ClusterFP420.h.

References detId_.

Referenced by operator<().

24 {return detId_;}
unsigned int detId_
Definition: ClusterFP420.h:39

Member Data Documentation

std::vector<short> ClusterFP420::amplitudes_
private

Definition at line 42 of file ClusterFP420.h.

Referenced by amplitudes().

float ClusterFP420::barycenter_
private

Definition at line 43 of file ClusterFP420.h.

Referenced by barycenter().

float ClusterFP420::barycenterW_
private

Definition at line 45 of file ClusterFP420.h.

Referenced by barycenterW().

float ClusterFP420::barycerror_
private

Definition at line 44 of file ClusterFP420.h.

Referenced by barycerror().

float ClusterFP420::barycerrorW_
private

Definition at line 46 of file ClusterFP420.h.

Referenced by barycerrorW().

unsigned int ClusterFP420::detId_
private

Definition at line 39 of file ClusterFP420.h.

Referenced by globalId().

short ClusterFP420::firstStrip_
private

Definition at line 41 of file ClusterFP420.h.

Referenced by firstStrip().