PandaRoot
PndSttTube Class Reference

#include <PndSttTube.h>

Inheritance diagram for PndSttTube:

Public Member Functions

 PndSttTube ()
 
 PndSttTube (PndSttTube &tube)
 
 ~PndSttTube ()
 
 PndSttTube (PndSttTubeParameters *parms, Double_t x, Double_t y, Double_t z, Double_t r11, Double_t r12, Double_t r13, Double_t r21, Double_t r22, Double_t r23, Double_t r31, Double_t r32, Double_t r33, Double_t radin, Double_t radout)
 
PndSttTube & operator= (const PndSttTube &o)
 
TVector3 GetPosition ()
 
TMatrixT< Double_t > GetRotationMatrix ()
 
Double_t GetRadIn ()
 
Double_t GetRadOut ()
 
Double_t GetHalfLength ()
 
TVector3 GetWireDirection ()
 
PndSttTubeParameters * GetTubeParameters ()
 
Int_t GetTubeID ()
 
void SetSectorID (int id)
 
void SetLayerID (int id)
 
int GetLayerID ()
 
int GetSectorID ()
 
void SetNeighborings (TArrayI neighborings)
 
TArrayI GetNeighborings ()
 
Int_t GetNeighboring (int i)
 
Double_t GetDistance (PndSttTube *tube)
 
Bool_t IsNeighboring (int tubeID)
 
void SetSectorLimitFlag (Int_t flag)
 
void SetLayerLimitFlag (Bool_t flag=kTRUE)
 
bool IsLayerLimit ()
 
int IsSectorLimit ()
 
bool IsParallel ()
 
bool IsSkew ()
 

Detailed Description

Definition at line 11 of file PndSttTube.h.

Constructor & Destructor Documentation

◆ PndSttTube() [1/3]

PndSttTube::PndSttTube ( )

Default constructor

◆ PndSttTube() [2/3]

PndSttTube::PndSttTube ( PndSttTube &  tube)

◆ ~PndSttTube()

PndSttTube::~PndSttTube ( )

◆ PndSttTube() [3/3]

PndSttTube::PndSttTube ( PndSttTubeParameters *  parms,
Double_t  x,
Double_t  y,
Double_t  z,
Double_t  r11,
Double_t  r12,
Double_t  r13,
Double_t  r21,
Double_t  r22,
Double_t  r23,
Double_t  r31,
Double_t  r32,
Double_t  r33,
Double_t  radin,
Double_t  radout 
)

Member Function Documentation

◆ GetDistance()

Double_t PndSttTube::GetDistance ( PndSttTube *  tube)

Referenced by operator=().

◆ GetHalfLength()

Double_t PndSttTube::GetHalfLength ( )

Referenced by operator=().

◆ GetLayerID()

int PndSttTube::GetLayerID ( )

Referenced by operator=().

◆ GetNeighboring()

Int_t PndSttTube::GetNeighboring ( int  i)

Referenced by operator=().

◆ GetNeighborings()

TArrayI PndSttTube::GetNeighborings ( )

Referenced by operator=().

◆ GetPosition()

TVector3 PndSttTube::GetPosition ( )

Referenced by operator=().

◆ GetRadIn()

Double_t PndSttTube::GetRadIn ( )

Referenced by operator=().

◆ GetRadOut()

Double_t PndSttTube::GetRadOut ( )

Referenced by operator=().

◆ GetRotationMatrix()

TMatrixT<Double_t> PndSttTube::GetRotationMatrix ( )

Referenced by operator=().

◆ GetSectorID()

int PndSttTube::GetSectorID ( )

Referenced by operator=().

◆ GetTubeID()

Int_t PndSttTube::GetTubeID ( )

Referenced by operator=().

◆ GetTubeParameters()

PndSttTubeParameters* PndSttTube::GetTubeParameters ( )

Referenced by operator=().

◆ GetWireDirection()

TVector3 PndSttTube::GetWireDirection ( )

Referenced by IsParallel(), IsSkew(), and operator=().

◆ IsLayerLimit()

bool PndSttTube::IsLayerLimit ( )
inline

Definition at line 57 of file PndSttTube.h.

57 { return fLayerLimit; }

◆ IsNeighboring()

Bool_t PndSttTube::IsNeighboring ( int  tubeID)

Referenced by operator=().

◆ IsParallel()

bool PndSttTube::IsParallel ( )
inline

Definition at line 60 of file PndSttTube.h.

References GetWireDirection().

60 { return (GetWireDirection().Z() == 1); }
TVector3 GetWireDirection()

◆ IsSectorLimit()

int PndSttTube::IsSectorLimit ( )
inline

Definition at line 58 of file PndSttTube.h.

58 { return fSectorLimit; }

◆ IsSkew()

bool PndSttTube::IsSkew ( )
inline

Definition at line 62 of file PndSttTube.h.

References GetWireDirection().

62 { return !(GetWireDirection().Z() == 1); }
TVector3 GetWireDirection()

◆ operator=()

PndSttTube& PndSttTube::operator= ( const PndSttTube &  o)
inline

Definition at line 22 of file PndSttTube.h.

References GetDistance(), GetHalfLength(), GetLayerID(), GetNeighboring(), GetNeighborings(), GetPosition(), GetRadIn(), GetRadOut(), GetRotationMatrix(), GetSectorID(), GetTubeID(), GetTubeParameters(), GetWireDirection(), i, IsNeighboring(), SetLayerID(), SetNeighborings(), and SetSectorID().

23  {
24  fTubeParms = o.fTubeParms;
25  fCenPosition = o.fCenPosition;
26  fRotationMatrix = o.fRotationMatrix;
27  fRadIn = o.fRadIn;
28  fRadOut = o.fRadOut;
29  fSectorID = o.fSectorID;
30  fLayerID = o.fLayerID;
31  fNeighborings = o.fNeighborings;
32  fLayerLimit = o.fLayerLimit;
33  fSectorLimit = o.fSectorLimit;
34  return *this;
35  };

◆ SetLayerID()

void PndSttTube::SetLayerID ( int  id)

Referenced by operator=().

◆ SetLayerLimitFlag()

void PndSttTube::SetLayerLimitFlag ( Bool_t  flag = kTRUE)
inline

Definition at line 56 of file PndSttTube.h.

56 { fLayerLimit = flag; }

◆ SetNeighborings()

void PndSttTube::SetNeighborings ( TArrayI  neighborings)

Referenced by operator=().

◆ SetSectorID()

void PndSttTube::SetSectorID ( int  id)

Referenced by operator=().

◆ SetSectorLimitFlag()

void PndSttTube::SetSectorLimitFlag ( Int_t  flag)
inline

Definition at line 55 of file PndSttTube.h.

55 { fSectorLimit = flag; }

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