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() [1/3]

HDigiFP420::HDigiFP420 ( )
inline

Definition at line 8 of file HDigiFP420.h.

8 : strip_(0), adc_(0) {}

◆ HDigiFP420() [2/3]

HDigiFP420::HDigiFP420 ( int  strip,
int  adc 
)
inline

Definition at line 10 of file HDigiFP420.h.

10 : strip_(strip), adc_(adc) {}

◆ HDigiFP420() [3/3]

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  }

Member Function Documentation

◆ adc()

int HDigiFP420::adc ( ) const
inline

Definition at line 18 of file HDigiFP420.h.

18 { return adc_; }

References adc_.

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

◆ channel()

int HDigiFP420::channel ( ) const
inline

Definition at line 19 of file HDigiFP420.h.

19 { return strip(); }

References strip().

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

◆ strip()

int HDigiFP420::strip ( ) const
inline

Definition at line 17 of file HDigiFP420.h.

17 { return strip_; }

References strip_.

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

◆ stripH()

int HDigiFP420::stripH ( ) const
inline

Definition at line 26 of file HDigiFP420.h.

26 { return (strip_ - stripHW() * numStripsY); }

References numStripsY, strip_, and stripHW().

◆ stripHW()

int HDigiFP420::stripHW ( ) const
inline

Definition at line 25 of file HDigiFP420.h.

25 { return (strip_ / numStripsY); }

References numStripsY, and strip_.

Referenced by stripH().

◆ stripV()

int HDigiFP420::stripV ( ) const
inline

Definition at line 23 of file HDigiFP420.h.

23 { return (strip_ - stripVW() * numStripsX); }

References numStripsX, strip_, and stripVW().

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

◆ stripVW()

int HDigiFP420::stripVW ( ) const
inline

Definition at line 21 of file HDigiFP420.h.

21 { return (strip_ / numStripsX); }

References numStripsX, and strip_.

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

Member Data Documentation

◆ adc_

short HDigiFP420::adc_
private

Definition at line 37 of file HDigiFP420.h.

Referenced by adc().

◆ numStripsX

const int HDigiFP420::numStripsX = 160
staticprivate

Definition at line 33 of file HDigiFP420.h.

Referenced by stripV(), and stripVW().

◆ numStripsY

const int HDigiFP420::numStripsY = 144
staticprivate

Definition at line 32 of file HDigiFP420.h.

Referenced by stripH(), and stripHW().

◆ strip_

short HDigiFP420::strip_
private

Definition at line 36 of file HDigiFP420.h.

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

HDigiFP420::numStripsY
static const int numStripsY
Definition: HDigiFP420.h:32
HDigiFP420::stripHW
int stripHW() const
Definition: HDigiFP420.h:25
HDigiFP420::stripVW
int stripVW() const
Definition: HDigiFP420.h:21
HDigiFP420::strip_
short strip_
Definition: HDigiFP420.h:36
HDigiFP420::adc_
short adc_
Definition: HDigiFP420.h:37
HDigiFP420::numStripsX
static const int numStripsX
Definition: HDigiFP420.h:33
HDigiFP420::adc
int adc() const
Definition: HDigiFP420.h:18
HDigiFP420::strip
int strip() const
Definition: HDigiFP420.h:17