CaloHit Class Reference

Describe calorimeter hit. More...

#include <CaloHit.hh>

Inheritance diagram for CaloHit:

Inheritance graph
[legend]
Collaboration diagram for CaloHit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CaloHit ()
 Constructor.
virtual ~CaloHit ()
 Destructor.
Int_t GetX (void) const
 Getter for position along x axis.
Int_t GetY (void) const
 Getter for position along Y axis.
Int_t GetZ (void) const
 Getter for position along z axis.
UInt_t GetThreshold (void) const
 Getter for hit threshold value.
Int_t GetDeltaT (void) const
void SetX (const Int_t value)
 Setter for position along x axis.
void SetY (const Int_t value)
 Setter for position along Y axis.
void SetZ (const Int_t value)
 Setter for position along Z axis.
void SetLayer (const UInt_t value)
 Setter for layer number.
void SetThreshold (const UInt_t value)
 Setter for hit threshold value.
void SetDeltaT (const Int_t value)
 Setter for deltaT time value.
UInt_t GetLayer (void)
MTChannelSoftId GetSolftId (void)
 Getter for softId. softId give information on Chamber/Dif/Board/Chip for this channel.
void SetSoftId (MTChannelSoftId value)
void SetRowInChamber (UInt_t value)
void SetColInChamber (UInt_t value)
unsigned int GetRowInChamber () const
unsigned int GetColInChamber () const

Private Attributes

Int_t fX
Int_t fY
Int_t fZ
UInt_t rowInChamber
UInt_t colInChamber
UInt_t thr
Int_t deltaT
UInt_t layer
MTChannelSoftId softId

Detailed Description

Describe calorimeter hit.

-position along x axis: fX

-position along y axis: fY

-position along z axis: fZ

-Threshold value: thr

-Delta t time value: deltaT

Definition at line 52 of file CaloHit.hh.


Constructor & Destructor Documentation

CaloHit::CaloHit (  ) 

Constructor.

CaloHit class constructor

Parameters:
none 

Referenced by G__TreeClass_544_0_32().

CaloHit::~CaloHit (  )  [virtual]

Destructor.

CaloHit class destructor

Parameters:
none 

Definition at line 19 of file CaloHit.cpp.

00020 {
00021 }


Member Function Documentation

CaloHit::GetX ( void   )  const [inline]

Getter for position along x axis.

Parameters:
void. 
Returns:
Int_t position along x axis in micrometer

Definition at line 82 of file CaloHit.hh.

Referenced by G__TreeClass_479_0_9(), G__TreeClass_544_0_2(), and main().

00082 { return fX; } ;

CaloHit::GetY ( void   )  const [inline]

Getter for position along Y axis.

Parameters:
void. 
Returns:
Int_t position along Y axis in micrometer

Definition at line 90 of file CaloHit.hh.

Referenced by G__TreeClass_479_0_10(), G__TreeClass_544_0_3(), and main().

00090 { return fY; } ;

CaloHit::GetZ ( void   )  const [inline]

Getter for position along z axis.

Parameters:
void. 
Returns:
Int_t position along z axis in micrometer

Definition at line 98 of file CaloHit.hh.

Referenced by G__TreeClass_479_0_11(), G__TreeClass_544_0_4(), and main().

00098 { return fZ; } ;

CaloHit::GetThreshold ( void   )  const [inline]

Getter for hit threshold value.

Parameters:
void. 
Returns:
UInt_t hit threshold value

Definition at line 106 of file CaloHit.hh.

Referenced by G__TreeClass_544_0_5(), and main().

00106 { return thr; } ;

Int_t CaloHit::GetDeltaT ( void   )  const [inline]

Definition at line 114 of file CaloHit.hh.

Referenced by G__TreeClass_544_0_6(), and main().

00114 { return deltaT; } ;

CaloHit::SetX ( const Int_t  value  )  [inline]

Setter for position along x axis.

Parameters:
Int_t new position along x axis
Returns:
none

Definition at line 122 of file CaloHit.hh.

Referenced by AddCaloHit(), buildCaloEvent(), G__TreeClass_479_0_33(), G__TreeClass_544_0_7(), and CaloEvent::operator=().

00122 { fX = value; }; 

CaloHit::SetY ( const Int_t  value  )  [inline]

Setter for position along Y axis.

Parameters:
Int_t new position along Y axis
Returns:
none

Definition at line 130 of file CaloHit.hh.

Referenced by AddCaloHit(), buildCaloEvent(), G__TreeClass_479_0_34(), G__TreeClass_544_0_8(), and CaloEvent::operator=().

00130 { fY = value; }; 

CaloHit::SetZ ( const Int_t  value  )  [inline]

Setter for position along Z axis.

Parameters:
Int_t new position along Z axis
Returns:
none

Definition at line 138 of file CaloHit.hh.

Referenced by AddCaloHit(), buildCaloEvent(), G__TreeClass_479_0_35(), G__TreeClass_544_0_9(), and CaloEvent::operator=().

00138 { fZ = value; }; 

CaloHit::SetLayer ( const UInt_t  value  )  [inline]

Setter for layer number.

Parameters:
UInt_t value = layer number
Returns:
none

Definition at line 146 of file CaloHit.hh.

Referenced by AddCaloHit(), and G__TreeClass_544_0_10().

00146 { layer = value; }; 

CaloHit::SetThreshold ( const UInt_t  value  )  [inline]

Setter for hit threshold value.

Parameters:
UInt_t new hit threshold value
Returns:
none

Definition at line 154 of file CaloHit.hh.

Referenced by AddCaloHit(), buildCaloEvent(), and G__TreeClass_544_0_11().

00154 { thr = value; }; 

CaloHit::SetDeltaT ( const Int_t  value  )  [inline]

Setter for deltaT time value.

Parameters:
Int_t new deltaT time value
Returns:
none

Definition at line 162 of file CaloHit.hh.

Referenced by AddCaloHit(), buildCaloEvent(), and G__TreeClass_544_0_12().

00162 { deltaT = value; }; 

UInt_t CaloHit::GetLayer ( void   )  [inline]

Definition at line 170 of file CaloHit.hh.

Referenced by G__TreeClass_544_0_13(), and main().

00170 { return layer; }; 

CaloHit::GetSolftId ( void   )  [inline]

Getter for softId. softId give information on Chamber/Dif/Board/Chip for this channel.

Returns:
MTChannelSoftId

Definition at line 178 of file CaloHit.hh.

Referenced by G__TreeClass_544_0_14(), and main().

00178 { return softId; }; 

void CaloHit::SetSoftId ( MTChannelSoftId  value  )  [inline]

Definition at line 185 of file CaloHit.hh.

Referenced by AddCaloHit(), and G__TreeClass_544_0_15().

00185 { softId = value; }; 

void CaloHit::SetRowInChamber ( UInt_t  value  )  [inline]

Definition at line 187 of file CaloHit.hh.

Referenced by AddCaloHit(), and G__TreeClass_544_0_16().

00187 { rowInChamber = value; } 

void CaloHit::SetColInChamber ( UInt_t  value  )  [inline]

Definition at line 188 of file CaloHit.hh.

Referenced by AddCaloHit(), and G__TreeClass_544_0_17().

00188 { colInChamber = value; } 

unsigned int CaloHit::GetRowInChamber (  )  const [inline]

Definition at line 190 of file CaloHit.hh.

Referenced by G__TreeClass_479_0_20(), G__TreeClass_544_0_18(), and main().

00190 { return rowInChamber; };

unsigned int CaloHit::GetColInChamber (  )  const [inline]

Definition at line 191 of file CaloHit.hh.

Referenced by G__TreeClass_479_0_21(), G__TreeClass_544_0_19(), and main().

00191 { return colInChamber; };


Member Data Documentation

Int_t CaloHit::fX [private]

Definition at line 191 of file CaloHit.hh.

Referenced by GetX(), and SetX().

Int_t CaloHit::fY [private]

Definition at line 196 of file CaloHit.hh.

Referenced by GetY(), and SetY().

Int_t CaloHit::fZ [private]

Definition at line 197 of file CaloHit.hh.

Referenced by GetZ(), and SetZ().

UInt_t CaloHit::rowInChamber [private]

Definition at line 198 of file CaloHit.hh.

Referenced by GetRowInChamber(), and SetRowInChamber().

UInt_t CaloHit::colInChamber [private]

Definition at line 199 of file CaloHit.hh.

Referenced by GetColInChamber(), and SetColInChamber().

UInt_t CaloHit::thr [private]

Definition at line 200 of file CaloHit.hh.

Referenced by GetThreshold(), and SetThreshold().

Int_t CaloHit::deltaT [private]

Definition at line 201 of file CaloHit.hh.

Referenced by GetDeltaT(), and SetDeltaT().

UInt_t CaloHit::layer [private]

Definition at line 202 of file CaloHit.hh.

Referenced by GetLayer(), and SetLayer().

MTChannelSoftId CaloHit::softId [private]

Definition at line 203 of file CaloHit.hh.

Referenced by GetSolftId(), and SetSoftId().


The documentation for this class was generated from the following files:
Generated on Mon Jan 7 13:18:02 2013 for MicromegasFramework by  doxygen 1.4.7