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

#include <PndHypStrip.h>

Public Member Functions

 PndHypStrip ()
 
 PndHypStrip (Int_t nr, Double_t charge)
 
void SetIndex (Int_t nr)
 
void SetCharge (Double_t charge)
 
int GetIndex () const
 
double GetCharge () const
 

Private Attributes

Int_t fnumber
 
Double_t fcharge
 

Friends

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

Detailed Description

Definition at line 10 of file PndHypStrip.h.

Constructor & Destructor Documentation

PndHypStrip::PndHypStrip ( )
inline

Definition at line 13 of file PndHypStrip.h.

13  :
14  fnumber(-1),
15  fcharge(-1.0)
16 // _fe = -1;
17  {}
Int_t fnumber
Definition: PndHypStrip.h:58
Double_t fcharge
Definition: PndHypStrip.h:59
PndHypStrip::PndHypStrip ( Int_t  nr,
Double_t  charge 
)
inline

Definition at line 20 of file PndHypStrip.h.

20  :
21 // _detName = detName;
22 // _fe = fe;
23  fnumber(nr),
24  fcharge(charge)
25 // _index = 0;
26 // _detID = 0;
27 // _trackID = 0;
28  {
29  }
Int_t fnumber
Definition: PndHypStrip.h:58
Double_t fcharge
Definition: PndHypStrip.h:59

Member Function Documentation

double PndHypStrip::GetCharge ( ) const
inline

Definition at line 38 of file PndHypStrip.h.

References fcharge.

38 {return fcharge;}
Double_t fcharge
Definition: PndHypStrip.h:59
int PndHypStrip::GetIndex ( ) const
inline

Definition at line 37 of file PndHypStrip.h.

References fnumber.

37 {return fnumber;}
Int_t fnumber
Definition: PndHypStrip.h:58
void PndHypStrip::SetCharge ( Double_t  charge)
inline

Definition at line 32 of file PndHypStrip.h.

References fcharge.

32 {fcharge = charge;}
Double_t fcharge
Definition: PndHypStrip.h:59
void PndHypStrip::SetIndex ( Int_t  nr)
inline

Definition at line 31 of file PndHypStrip.h.

References fnumber.

31 {fnumber = nr;}
Int_t fnumber
Definition: PndHypStrip.h:58

Friends And Related Function Documentation

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

Definition at line 42 of file PndHypStrip.h.

43  {
44  /*
45  out << "Detector: " << strip.GetDetName() << " FE: " <<
46  strip.GetFE() << " Strip Nr.: " << strip.GetChannel() << " "
47  << " Charge: " << strip.GetCharge();
48  */
49  out << " Strip Nr.: " << strip.GetIndex() << " "
50  << " Charge: " << strip.GetCharge();
51 
52  return out;
53  }
TFile * out
Definition: reco_muo.C:20
double GetCharge() const
Definition: PndHypStrip.h:38
int GetIndex() const
Definition: PndHypStrip.h:37

Member Data Documentation

Double_t PndHypStrip::fcharge
private

Definition at line 59 of file PndHypStrip.h.

Referenced by GetCharge(), and SetCharge().

Int_t PndHypStrip::fnumber
private

Definition at line 58 of file PndHypStrip.h.

Referenced by GetIndex(), and SetIndex().


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