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 14 of file PndSdsStrip.h.

Constructor & Destructor Documentation

◆ PndSdsStrip() [1/2]

PndSdsStrip::PndSdsStrip ( )
inline

Definition at line 16 of file PndSdsStrip.h.

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

◆ PndSdsStrip() [2/2]

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

Definition at line 18 of file PndSdsStrip.h.

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

Member Function Documentation

◆ GetCharge()

Double_t PndSdsStrip::GetCharge ( ) const
inline

Definition at line 24 of file PndSdsStrip.h.

24 { return fCharge; }

◆ GetIndex()

Int_t PndSdsStrip::GetIndex ( ) const
inline

Definition at line 23 of file PndSdsStrip.h.

23 { return fNumber; }

◆ SetCharge()

void PndSdsStrip::SetCharge ( Double_t  charge)
inline

Definition at line 21 of file PndSdsStrip.h.

21 { fCharge = charge; }

◆ SetIndex()

void PndSdsStrip::SetIndex ( Int_t  nr)
inline

Definition at line 20 of file PndSdsStrip.h.

20 { fNumber = nr; }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 26 of file PndSdsStrip.h.

27  {
28  out << " Strip Nr.: " << strip.GetIndex() << " "
29  << " Charge: " << strip.GetCharge();
30  return out;
31  }
Double_t GetCharge() const
Definition: PndSdsStrip.h:24
Int_t GetIndex() const
Definition: PndSdsStrip.h:23

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