FairRoot/PandaRoot
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
PndSttSkewedHit Class Reference

#include <PndSttSkewedHit.h>

Inheritance diagram for PndSttSkewedHit:

Public Member Functions

 PndSttSkewedHit ()
 
 PndSttSkewedHit (Int_t detID, Int_t tubeID1, Int_t tubeID2, Int_t mcindex, TVector3 &pos, TVector3 &dpos)
 
virtual ~PndSttSkewedHit ()
 
virtual void Print (const Option_t *opt=0) const
 
void Clear ()
 
void SetTubeIDs (Int_t tubeid1, Int_t tubeid2)
 
std::pair< Int_t, Int_t > GetTubeIDs () const
 

Protected Member Functions

 ClassDef (PndSttSkewedHit, 1)
 

Protected Attributes

std::pair< Int_t, Int_t > fTubeIDs
 

Friends

std::ostreamoperator<< (std::ostream &out, PndSttSkewedHit &digi)
 

Detailed Description

CbmStsMapsHit Class for MAPS detector hit

Author
Michael Deveaux m.dev.nosp@m.eaux.nosp@m.@gsi..nosp@m.de Acknowledgements to M. Al-Turany, D. Bertini, G. Gaycken Version beta 0.1 (02.02.2005) Slight modifications by V. Friese to match coding conventions

Meaning of RefIndex: Index of corresponding MCPoint -1 if fake or background hit

Meaning of Flag: 0 = Hit ok -1 : Hit lost due to detection inefficiency

Definition at line 23 of file PndSttSkewedHit.h.

Constructor & Destructor Documentation

PndSttSkewedHit::PndSttSkewedHit ( )

Default constructor

Definition at line 18 of file PndSttSkewedHit.cxx.

18  :
19  FairHit(),
20  fTubeIDs()
21 {
22 }
std::pair< Int_t, Int_t > fTubeIDs
PndSttSkewedHit::PndSttSkewedHit ( Int_t  detID,
Int_t  tubeID1,
Int_t  tubeID2,
Int_t  mcindex,
TVector3 &  pos,
TVector3 &  dpos 
)

Standard constructor

Parameters
detIDDetector unique volume ID
tubeID1Unique tube ID
mcindexIndex of corresponding MCPoint

Definition at line 25 of file PndSttSkewedHit.cxx.

References SetTubeIDs().

25  : FairHit(detID, pos, dpos, mcindex), fTubeIDs()
26 {
27  SetTubeIDs(tubeID1, tubeID2);
28 
29 }
TVector3 pos
std::pair< Int_t, Int_t > fTubeIDs
void SetTubeIDs(Int_t tubeid1, Int_t tubeid2)
PndSttSkewedHit::~PndSttSkewedHit ( )
virtual

Destructor

Definition at line 33 of file PndSttSkewedHit.cxx.

34 {
35 }

Member Function Documentation

PndSttSkewedHit::ClassDef ( PndSttSkewedHit  ,
 
)
protected
void PndSttSkewedHit::Clear ( void  )
inline

Public method Clear Resets the isochrone and it's error to 0

Definition at line 53 of file PndSttSkewedHit.h.

References SetTubeIDs().

53  {
54  SetTubeIDs(-1,-1);
55  }
void SetTubeIDs(Int_t tubeid1, Int_t tubeid2)
std::pair<Int_t,Int_t> PndSttSkewedHit::GetTubeIDs ( ) const
inline

Definition at line 62 of file PndSttSkewedHit.h.

References fTubeIDs.

Referenced by PndSttCellTrackFinderData::AddHits().

62 { return fTubeIDs; }
std::pair< Int_t, Int_t > fTubeIDs
virtual void PndSttSkewedHit::Print ( const Option_t *  opt = 0) const
inlinevirtual

Output to screen (not yet implemented)

Definition at line 47 of file PndSttSkewedHit.h.

47 {std::cout<<" opt="<<opt<<std::endl;return;}
void PndSttSkewedHit::SetTubeIDs ( Int_t  tubeid1,
Int_t  tubeid2 
)
inline

Accessors

Definition at line 61 of file PndSttSkewedHit.h.

References fTubeIDs.

Referenced by Clear(), and PndSttSkewedHit().

61 { fTubeIDs = std::make_pair<int, int>((int)tubeid1, (int)tubeid2); }
std::pair< Int_t, Int_t > fTubeIDs

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream out,
PndSttSkewedHit digi 
)
friend

Definition at line 65 of file PndSttSkewedHit.h.

65  {
66  out << "PndSttSkewedHit in Tubes: " << digi.GetTubeIDs().first << "/" << digi.GetTubeIDs().second << std::endl;
67  return out;
68  }
TFile * out
Definition: reco_muo.C:20
std::pair< Int_t, Int_t > GetTubeIDs() const

Member Data Documentation

std::pair<Int_t, Int_t> PndSttSkewedHit::fTubeIDs
protected

tube id

Definition at line 74 of file PndSttSkewedHit.h.

Referenced by GetTubeIDs(), and SetTubeIDs().


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