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.

21  {
22  _id = 0;
23  _e = 0.0;
24  }

References _e, and _id.

◆ ~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.

26  {
27  _id = i;
28  _e = e;
29  }

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

Member Function Documentation

◆ ClassDefOverride()

TCell::ClassDefOverride ( TCell  ,
 
)

◆ e()

Float_t TCell::e ( )
inline

Definition at line 31 of file TCell.h.

31 { return _e; }

References _e.

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

◆ id()

UInt_t TCell::id ( )
inline

Definition at line 32 of file TCell.h.

32 { return _id; }

References _id.

Referenced by hcalCalib::Process().

◆ SetE()

void TCell::SetE ( Float_t  e)
inline

Definition at line 34 of file TCell.h.

34 { _e = e; }

References _e, and e().

Referenced by hcalCalib::Process().

◆ SetId()

void TCell::SetId ( UInt_t  i)
inline

Definition at line 35 of file TCell.h.

35 { _id = i; }

References _id, and mps_fire::i.

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().

mps_fire.i
i
Definition: mps_fire.py:355
TCell::e
Float_t e()
Definition: TCell.h:31
TCell::_e
Float_t _e
Definition: TCell.h:18
TCell::_id
UInt_t _id
Definition: TCell.h:17