PandaRoot
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
 

Friends

std::ostream & operator<< (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 26 of file PndSdsStrip.h.

Constructor & Destructor Documentation

◆ PndSdsStrip() [1/2]

PndSdsStrip::PndSdsStrip ( )
inline

Definition at line 28 of file PndSdsStrip.h.

28 : fNumber(-1), fCharge(-1.0) {}

◆ PndSdsStrip() [2/2]

PndSdsStrip::PndSdsStrip ( Int_t  nr,
Double_t  charge 
)
inline

Definition at line 30 of file PndSdsStrip.h.

30 : fNumber(nr), fCharge(charge) {}

Member Function Documentation

◆ GetCharge()

Double_t PndSdsStrip::GetCharge ( ) const
inline

Definition at line 36 of file PndSdsStrip.h.

36 { return fCharge; }

◆ GetIndex()

Int_t PndSdsStrip::GetIndex ( ) const
inline

Definition at line 35 of file PndSdsStrip.h.

35 { return fNumber; }

◆ SetCharge()

void PndSdsStrip::SetCharge ( Double_t  charge)
inline

Definition at line 33 of file PndSdsStrip.h.

33 { fCharge = charge; }

◆ SetIndex()

void PndSdsStrip::SetIndex ( Int_t  nr)
inline

Definition at line 32 of file PndSdsStrip.h.

32 { fNumber = nr; }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 38 of file PndSdsStrip.h.

39  {
40  out << " Strip Nr.: " << strip.GetIndex() << " "
41  << " Charge: " << strip.GetCharge();
42  return out;
43  }
Double_t GetCharge() const
Definition: PndSdsStrip.h:36
Int_t GetIndex() const
Definition: PndSdsStrip.h:35

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