CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TCell Class Reference

#include <TCell.h>

Inheritance diagram for TCell:

Public Member Functions

 ClassDefOverride (TCell, 1)
 
Float_t e ()
 
UInt_t id ()
 
void SetE (Float_t e)
 
void SetId (UInt_t i)
 
 TCell ()
 
 TCell (UInt_t i, Float_t e)
 
 ~TCell () override
 

Private Attributes

Float_t _e
 
UInt_t _id
 

Detailed Description

Definition at line 15 of file TCell.h.

Constructor & Destructor Documentation

◆ TCell() [1/2]

TCell::TCell ( )
inline

Definition at line 21 of file TCell.h.

References _e, and _id.

21  {
22  _id = 0;
23  _e = 0.0;
24  }
Float_t _e
Definition: TCell.h:18
UInt_t _id
Definition: TCell.h:17

◆ ~TCell()

TCell::~TCell ( )
inlineoverride

Definition at line 25 of file TCell.h.

25 {};

◆ TCell() [2/2]

TCell::TCell ( UInt_t  i,
Float_t  e 
)
inline

Definition at line 26 of file TCell.h.

References _e, _id, e(), and mps_fire::i.

26  {
27  _id = i;
28  _e = e;
29  }
Float_t e()
Definition: TCell.h:31
Float_t _e
Definition: TCell.h:18
UInt_t _id
Definition: TCell.h:17

Member Function Documentation

◆ ClassDefOverride()

TCell::ClassDefOverride ( TCell  ,
 
)

◆ e()

Float_t TCell::e ( )
inline

Definition at line 31 of file TCell.h.

References _e.

Referenced by hcalCalib::Process(), SetE(), and TCell().

31 { return _e; }
Float_t _e
Definition: TCell.h:18

◆ id()

UInt_t TCell::id ( )
inline

Definition at line 32 of file TCell.h.

References _id.

Referenced by hcalCalib::Process().

32 { return _id; }
UInt_t _id
Definition: TCell.h:17

◆ SetE()

void TCell::SetE ( Float_t  e)
inline

Definition at line 34 of file TCell.h.

References _e, and e().

Referenced by hcalCalib::Process().

34 { _e = e; }
Float_t e()
Definition: TCell.h:31
Float_t _e
Definition: TCell.h:18

◆ SetId()

void TCell::SetId ( UInt_t  i)
inline

Definition at line 35 of file TCell.h.

References _id, and mps_fire::i.

35 { _id = i; }
UInt_t _id
Definition: TCell.h:17

Member Data Documentation

◆ _e

Float_t TCell::_e
private

Definition at line 18 of file TCell.h.

Referenced by e(), SetE(), and TCell().

◆ _id

UInt_t TCell::_id
private

Definition at line 17 of file TCell.h.

Referenced by id(), SetId(), and TCell().