CbmRoot
Loading...
Searching...
No Matches
CbmTofCell Class Reference

#include <CbmTofCell.h>

Inheritance diagram for CbmTofCell:
[legend]
Collaboration diagram for CbmTofCell:
[legend]

Public Member Functions

 CbmTofCell ()
 
 CbmTofCell (Int_t detId, Double_t x, Double_t y, Double_t z, Double_t sizex, Double_t sizey)
 
virtual ~CbmTofCell ()
 
Int_t GetDetectorId () const
 
Double_t GetX () const
 
Double_t GetY () const
 
Double_t GetZ () const
 
Double_t GetSizex () const
 
Double_t GetSizey () const
 
void Print (Option_t *="") const
 

Private Member Functions

 ClassDef (CbmTofCell, 1)
 

Private Attributes

Int_t fDetectorId
 
Double_t fX
 
Double_t fY
 
Double_t fZ
 
Double_t fSizex
 
Double_t fSizey
 

Detailed Description

Definition at line 12 of file CbmTofCell.h.

Constructor & Destructor Documentation

◆ CbmTofCell() [1/2]

CbmTofCell::CbmTofCell ( )

Default constructor

Definition at line 13 of file CbmTofCell.cxx.

References fDetectorId, fSizex, fSizey, fX, fY, and fZ.

Referenced by ClassDef().

◆ CbmTofCell() [2/2]

CbmTofCell::CbmTofCell ( Int_t detId,
Double_t x,
Double_t y,
Double_t z,
Double_t sizex,
Double_t sizey )

Standard constructor

Parameters
detIdUnique detector identifier
x0cell centre x coordinate in global c.s [cm]
y0cell centre y coordinate in global c.s [cm]
z0cell centre z coordinate in global c.s [cm]
sizexcell size in x [cm]
sizeycell size in y [cm]

Definition at line 15 of file CbmTofCell.cxx.

References fDetectorId, fSizex, fSizey, fX, fY, fZ, x, and y.

◆ ~CbmTofCell()

CbmTofCell::~CbmTofCell ( )
virtual

Destructor

Definition at line 26 of file CbmTofCell.cxx.

Member Function Documentation

◆ ClassDef()

CbmTofCell::ClassDef ( CbmTofCell ,
1  )
private

------------— private functions -------------------—

References CbmTofCell().

◆ GetDetectorId()

Int_t CbmTofCell::GetDetectorId ( ) const
inline

Accessors

Definition at line 34 of file CbmTofCell.h.

References fDetectorId.

Referenced by CbmTofCreateDigiPar::FillDigiPar().

◆ GetSizex()

◆ GetSizey()

◆ GetX()

◆ GetY()

◆ GetZ()

◆ Print()

void CbmTofCell::Print ( Option_t * = "") const

Definition at line 142 of file CbmTofCell.cxx.

References fDetectorId, fSizex, fSizey, fX, fY, and fZ.

Member Data Documentation

◆ fDetectorId

Int_t CbmTofCell::fDetectorId
private

----------— Data members -----------------------—

Definition at line 47 of file CbmTofCell.h.

Referenced by CbmTofCell(), CbmTofCell(), GetDetectorId(), and Print().

◆ fSizex

Double_t CbmTofCell::fSizex
private

Definition at line 51 of file CbmTofCell.h.

Referenced by CbmTofCell(), CbmTofCell(), GetSizex(), and Print().

◆ fSizey

Double_t CbmTofCell::fSizey
private

Definition at line 52 of file CbmTofCell.h.

Referenced by CbmTofCell(), CbmTofCell(), GetSizey(), and Print().

◆ fX

Double_t CbmTofCell::fX
private

Definition at line 48 of file CbmTofCell.h.

Referenced by CbmTofCell(), CbmTofCell(), GetX(), and Print().

◆ fY

Double_t CbmTofCell::fY
private

Definition at line 49 of file CbmTofCell.h.

Referenced by CbmTofCell(), CbmTofCell(), GetY(), and Print().

◆ fZ

Double_t CbmTofCell::fZ
private

Definition at line 50 of file CbmTofCell.h.

Referenced by CbmTofCell(), CbmTofCell(), GetZ(), and Print().


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