test
CMS 3D CMS Logo

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

#include <HDigiFP420.h>

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.

9  : strip_(0), adc_(0) {
10 }
short adc_
Definition: HDigiFP420.h:40
short strip_
Definition: HDigiFP420.h:39
HDigiFP420::HDigiFP420 ( int  strip,
int  adc 
)
inline

Definition at line 12 of file HDigiFP420.h.

12  : strip_(strip), adc_(adc) {
13 }
short adc_
Definition: HDigiFP420.h:40
int strip() const
Definition: HDigiFP420.h:20
int adc() const
Definition: HDigiFP420.h:21
short strip_
Definition: HDigiFP420.h:39
HDigiFP420::HDigiFP420 ( short  strip,
short  adc 
)
inline

Definition at line 14 of file HDigiFP420.h.

14  : strip_(strip), adc_(adc) {
15 // numStripsY = 200; // Y plane number of strips:200*0.050=10mm (zside=1) H
16 // numStripsX = 400; // X plane number of strips:400*0.050=20mm (zside=2) V
17 }
short adc_
Definition: HDigiFP420.h:40
int strip() const
Definition: HDigiFP420.h:20
int adc() const
Definition: HDigiFP420.h:21
short strip_
Definition: HDigiFP420.h:39

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().

21 {return adc_;}
short adc_
Definition: HDigiFP420.h:40
int HDigiFP420::channel ( ) const
inline

Definition at line 22 of file HDigiFP420.h.

References strip().

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

22 {return strip();}
int strip() const
Definition: HDigiFP420.h:20
int HDigiFP420::strip ( ) const
inline

Definition at line 20 of file HDigiFP420.h.

References strip_.

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

20 {return strip_;}
short strip_
Definition: HDigiFP420.h:39
int HDigiFP420::stripH ( ) const
inline

Definition at line 29 of file HDigiFP420.h.

References numStripsY, strip_, and stripHW().

29 {return (strip_-stripHW()*numStripsY) ;}
static const int numStripsY
Definition: HDigiFP420.h:35
short strip_
Definition: HDigiFP420.h:39
int stripHW() const
Definition: HDigiFP420.h:28
int HDigiFP420::stripHW ( ) const
inline

Definition at line 28 of file HDigiFP420.h.

References numStripsY, and strip_.

Referenced by stripH().

28 {return (strip_/numStripsY) ;}
static const int numStripsY
Definition: HDigiFP420.h:35
short strip_
Definition: HDigiFP420.h:39
int HDigiFP420::stripV ( ) const
inline

Definition at line 26 of file HDigiFP420.h.

References numStripsX, strip_, and stripVW().

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

26 {return (strip_-stripVW()*numStripsX);}
int stripVW() const
Definition: HDigiFP420.h:24
static const int numStripsX
Definition: HDigiFP420.h:36
short strip_
Definition: HDigiFP420.h:39
int HDigiFP420::stripVW ( ) const
inline

Definition at line 24 of file HDigiFP420.h.

References numStripsX, and strip_.

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

24 {return (strip_/numStripsX);}
static const int numStripsX
Definition: HDigiFP420.h:36
short strip_
Definition: HDigiFP420.h:39

Member Data Documentation

short HDigiFP420::adc_
private

Definition at line 40 of file HDigiFP420.h.

Referenced by adc().

const int HDigiFP420::numStripsX = 160
staticprivate

Definition at line 36 of file HDigiFP420.h.

Referenced by stripV(), and stripVW().

const int HDigiFP420::numStripsY = 144
staticprivate

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().