CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Attributes | Private Attributes

EcalPnDiodeDigi Class Reference

#include <EcalPnDiodeDigi.h>

List of all members.

Public Types

typedef EcalPnDiodeDetId key_type
 For the sorted collection.

Public Member Functions

 EcalPnDiodeDigi ()
 EcalPnDiodeDigi (const EcalPnDiodeDetId &id)
const EcalPnDiodeDetIdid () const
const EcalFEMSampleoperator[] (int i) const
const EcalFEMSamplesample (int i) const
void setSample (int i, const EcalFEMSample &sam)
void setSize (int size)
int size () const

Static Public Attributes

static const int MAXSAMPLES = 50

Private Attributes

std::vector< EcalFEMSampledata_
EcalPnDiodeDetId id_
int size_

Detailed Description

Id:
EcalPnDiodeDigi.h,v 1.3 2007/04/16 12:58:56 meridian Exp

Definition at line 16 of file EcalPnDiodeDigi.h.


Member Typedef Documentation

For the sorted collection.

Definition at line 18 of file EcalPnDiodeDigi.h.


Constructor & Destructor Documentation

EcalPnDiodeDigi::EcalPnDiodeDigi ( )

Definition at line 4 of file EcalPnDiodeDigi.cc.

                                 : size_(0), data_(MAXSAMPLES) {
}
EcalPnDiodeDigi::EcalPnDiodeDigi ( const EcalPnDiodeDetId id) [explicit]

Definition at line 6 of file EcalPnDiodeDigi.cc.

                                                           : id_(id),
                                                                                   size_(0), data_(MAXSAMPLES) {
}

Member Function Documentation

const EcalPnDiodeDetId& EcalPnDiodeDigi::id ( void  ) const [inline]

Definition at line 23 of file EcalPnDiodeDigi.h.

References id_.

Referenced by operator<<().

{ return id_; }
const EcalFEMSample& EcalPnDiodeDigi::operator[] ( int  i) const [inline]

Definition at line 26 of file EcalPnDiodeDigi.h.

References data_, and i.

{ return data_[i]; }
const EcalFEMSample& EcalPnDiodeDigi::sample ( int  i) const [inline]

Definition at line 27 of file EcalPnDiodeDigi.h.

References data_, and i.

Referenced by operator<<().

{ return data_[i]; }
void EcalPnDiodeDigi::setSample ( int  i,
const EcalFEMSample sam 
) [inline]
void EcalPnDiodeDigi::setSize ( int  size)
int EcalPnDiodeDigi::size ( void  ) const [inline]

Definition at line 24 of file EcalPnDiodeDigi.h.

References size_.

Referenced by operator<<(), and setSize().

{ return size_; }

Member Data Documentation

std::vector<EcalFEMSample> EcalPnDiodeDigi::data_ [private]

Definition at line 36 of file EcalPnDiodeDigi.h.

Referenced by operator[](), sample(), and setSample().

Definition at line 34 of file EcalPnDiodeDigi.h.

Referenced by id().

const int EcalPnDiodeDigi::MAXSAMPLES = 50 [static]

Definition at line 32 of file EcalPnDiodeDigi.h.

Referenced by setSize().

int EcalPnDiodeDigi::size_ [private]

Definition at line 35 of file EcalPnDiodeDigi.h.

Referenced by setSize(), and size().