CMS 3D CMS Logo

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 8 of file HDigiFP420.h.

8 : strip_(0), adc_(0) {}
short adc_
Definition: HDigiFP420.h:37
short strip_
Definition: HDigiFP420.h:36
HDigiFP420::HDigiFP420 ( int  strip,
int  adc 
)
inline

Definition at line 10 of file HDigiFP420.h.

10 : strip_(strip), adc_(adc) {}
short adc_
Definition: HDigiFP420.h:37
int strip() const
Definition: HDigiFP420.h:17
int adc() const
Definition: HDigiFP420.h:18
short strip_
Definition: HDigiFP420.h:36
HDigiFP420::HDigiFP420 ( short  strip,
short  adc 
)
inline

Definition at line 11 of file HDigiFP420.h.

11  : strip_(strip), adc_(adc) {
12  // numStripsY = 200; // Y plane number of strips:200*0.050=10mm (zside=1) H
13  // numStripsX = 400; // X plane number of strips:400*0.050=20mm (zside=2) V
14  }
short adc_
Definition: HDigiFP420.h:37
int strip() const
Definition: HDigiFP420.h:17
int adc() const
Definition: HDigiFP420.h:18
short strip_
Definition: HDigiFP420.h:36

Member Function Documentation

int HDigiFP420::adc ( ) const
inline

Definition at line 18 of file HDigiFP420.h.

References adc_.

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

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

Definition at line 19 of file HDigiFP420.h.

References strip().

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

19 { return strip(); }
int strip() const
Definition: HDigiFP420.h:17
int HDigiFP420::strip ( ) const
inline

Definition at line 17 of file HDigiFP420.h.

References strip_.

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

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

Definition at line 26 of file HDigiFP420.h.

References numStripsY, strip_, and stripHW().

26 { return (strip_ - stripHW() * numStripsY); }
static const int numStripsY
Definition: HDigiFP420.h:32
short strip_
Definition: HDigiFP420.h:36
int stripHW() const
Definition: HDigiFP420.h:25
int HDigiFP420::stripHW ( ) const
inline

Definition at line 25 of file HDigiFP420.h.

References numStripsY, and strip_.

Referenced by stripH().

25 { return (strip_ / numStripsY); }
static const int numStripsY
Definition: HDigiFP420.h:32
short strip_
Definition: HDigiFP420.h:36
int HDigiFP420::stripV ( ) const
inline

Definition at line 23 of file HDigiFP420.h.

References numStripsX, strip_, and stripVW().

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

23 { return (strip_ - stripVW() * numStripsX); }
int stripVW() const
Definition: HDigiFP420.h:21
static const int numStripsX
Definition: HDigiFP420.h:33
short strip_
Definition: HDigiFP420.h:36
int HDigiFP420::stripVW ( ) const
inline

Definition at line 21 of file HDigiFP420.h.

References numStripsX, and strip_.

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

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

Member Data Documentation

short HDigiFP420::adc_
private

Definition at line 37 of file HDigiFP420.h.

Referenced by adc().

const int HDigiFP420::numStripsX = 160
staticprivate

Definition at line 33 of file HDigiFP420.h.

Referenced by stripV(), and stripVW().

const int HDigiFP420::numStripsY = 144
staticprivate

Definition at line 32 of file HDigiFP420.h.

Referenced by stripH(), and stripHW().

short HDigiFP420::strip_
private

Definition at line 36 of file HDigiFP420.h.

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