FairRoot/PandaRoot
Public Member Functions | Private Attributes | Friends | List of all members
PndSdsStrip Class Reference

Class representing strips on wafer-scale. More...

#include <PndSdsStrip.h>

Public Member Functions

 PndSdsStrip ()
 
 PndSdsStrip (Int_t nr, Double_t charge)
 
void SetIndex (Int_t nr)
 
void SetCharge (Double_t charge)
 
Int_t GetIndex () const
 
Double_t GetCharge () const
 

Private Attributes

Int_t fNumber
 
Double_t fCharge
 

Friends

std::ostreamoperator<< (std::ostream &out, const PndSdsStrip &strip)
 

Detailed Description

Class representing strips on wafer-scale.

This is just a thumb representation of strips on a wafer with index and assigned charge. Do not confuse with PndSdsDigiStrip, which represents a digitised frontend-channel.

Definition at line 15 of file PndSdsStrip.h.

Constructor & Destructor Documentation

PndSdsStrip::PndSdsStrip ( )
inline

Definition at line 18 of file PndSdsStrip.h.

18  :
19  fNumber(-1),
20  fCharge(-1.0)
21  { }
Double_t fCharge
Definition: PndSdsStrip.h:43
Int_t fNumber
Definition: PndSdsStrip.h:42
PndSdsStrip::PndSdsStrip ( Int_t  nr,
Double_t  charge 
)
inline

Definition at line 23 of file PndSdsStrip.h.

23  :
24  fNumber(nr),
25  fCharge(charge)
26  {}
Double_t fCharge
Definition: PndSdsStrip.h:43
Int_t fNumber
Definition: PndSdsStrip.h:42

Member Function Documentation

Double_t PndSdsStrip::GetCharge ( ) const
inline

Definition at line 32 of file PndSdsStrip.h.

References fCharge.

32 {return fCharge;}
Double_t fCharge
Definition: PndSdsStrip.h:43
Int_t PndSdsStrip::GetIndex ( ) const
inline

Definition at line 31 of file PndSdsStrip.h.

References fNumber.

Referenced by PndSdsCalcStripDif::GetStrips().

31 {return fNumber;}
Int_t fNumber
Definition: PndSdsStrip.h:42
void PndSdsStrip::SetCharge ( Double_t  charge)
inline

Definition at line 29 of file PndSdsStrip.h.

References fCharge.

29 {fCharge = charge;}
Double_t fCharge
Definition: PndSdsStrip.h:43
void PndSdsStrip::SetIndex ( Int_t  nr)
inline

Definition at line 28 of file PndSdsStrip.h.

References fNumber.

28 {fNumber = nr;}
Int_t fNumber
Definition: PndSdsStrip.h:42

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream out,
const PndSdsStrip strip 
)
friend

Definition at line 34 of file PndSdsStrip.h.

35  {
36  out << " Strip Nr.: " << strip.GetIndex() << " "
37  << " Charge: " << strip.GetCharge();
38  return out;
39  }
TFile * out
Definition: reco_muo.C:20
Double_t GetCharge() const
Definition: PndSdsStrip.h:32
Int_t GetIndex() const
Definition: PndSdsStrip.h:31

Member Data Documentation

Double_t PndSdsStrip::fCharge
private

Definition at line 43 of file PndSdsStrip.h.

Referenced by GetCharge(), and SetCharge().

Int_t PndSdsStrip::fNumber
private

Definition at line 42 of file PndSdsStrip.h.

Referenced by GetIndex(), and SetIndex().


The documentation for this class was generated from the following file: