CMS 3D CMS Logo

Public Member Functions | Private Attributes | Static Private Attributes

HDigiFP420 Class Reference

#include <HDigiFP420.h>

List of all members.

Public Member Functions

int adc () const
int channel () const
 HDigiFP420 ()
 HDigiFP420 (int strip, int adc)
 HDigiFP420 (short strip, short adc)
int strip () const
int stripH () const
int stripHW () const
int stripV () const
int stripVW () const

Private Attributes

short adc_
short strip_

Static Private Attributes

static const int numStripsX = 160
static const int numStripsY = 144

Detailed Description

Definition at line 4 of file HDigiFP420.h.


Constructor & Destructor Documentation

HDigiFP420::HDigiFP420 ( ) [inline]

Definition at line 9 of file HDigiFP420.h.

               : strip_(0), adc_(0) {
}
HDigiFP420::HDigiFP420 ( int  strip,
int  adc 
) [inline]

Definition at line 12 of file HDigiFP420.h.

                                  : strip_(strip), adc_(adc) {
}
HDigiFP420::HDigiFP420 ( short  strip,
short  adc 
) [inline]

Definition at line 14 of file HDigiFP420.h.

                                        : strip_(strip), adc_(adc) {
//    numStripsY = 200;        // Y plane number of strips:200*0.050=10mm (zside=1) H
//    numStripsX = 400;        // X plane number of strips:400*0.050=20mm (zside=2) V
}

Member Function Documentation

int HDigiFP420::adc ( ) const [inline]

Definition at line 21 of file HDigiFP420.h.

References adc_.

Referenced by AboveSeed::operator()(), and cms::DigitizerFP420::produce().

{return adc_;}
int HDigiFP420::channel ( ) const [inline]

Definition at line 22 of file HDigiFP420.h.

References strip().

Referenced by AboveSeed::operator()(), operator<(), and cms::DigitizerFP420::produce().

{return strip();}
int HDigiFP420::strip ( ) const [inline]

Definition at line 20 of file HDigiFP420.h.

References strip_.

Referenced by channel(), and cms::DigitizerFP420::produce().

{return strip_;}
int HDigiFP420::stripH ( ) const [inline]

Definition at line 29 of file HDigiFP420.h.

References numStripsY, strip_, and stripHW().

{return (strip_-stripHW()*numStripsY) ;}
int HDigiFP420::stripHW ( ) const [inline]

Definition at line 28 of file HDigiFP420.h.

References numStripsY, and strip_.

Referenced by stripH().

{return (strip_/numStripsY) ;}
int HDigiFP420::stripV ( ) const [inline]

Definition at line 26 of file HDigiFP420.h.

References numStripsX, strip_, and stripVW().

Referenced by cms::DigitizerFP420::produce().

{return (strip_-stripVW()*numStripsX);}
int HDigiFP420::stripVW ( ) const [inline]

Definition at line 24 of file HDigiFP420.h.

References numStripsX, and strip_.

Referenced by cms::DigitizerFP420::produce(), and stripV().

{return (strip_/numStripsX);}

Member Data Documentation

short HDigiFP420::adc_ [private]

Definition at line 40 of file HDigiFP420.h.

Referenced by adc().

const int HDigiFP420::numStripsX = 160 [static, private]

Definition at line 36 of file HDigiFP420.h.

Referenced by stripV(), and stripVW().

const int HDigiFP420::numStripsY = 144 [static, private]

Definition at line 35 of file HDigiFP420.h.

Referenced by stripH(), and stripHW().

short HDigiFP420::strip_ [private]

Definition at line 39 of file HDigiFP420.h.

Referenced by strip(), stripH(), stripHW(), stripV(), and stripVW().