src
Calibration
HcalCalibAlgos
interface
TCell.h
Go to the documentation of this file.
1
//
2
// File: TCell.h
3
// Author: Anton
4
//
5
// Created on July 4, 2008, 4:39 PM
6
//
7
// Simple class to hold information on the
8
// cell id and energy for the HCAL calibration ntuples
9
10
#ifndef _TCELL_H
11
#define _TCELL_H
12
13
#include "TObject.h"
14
15
class
TCell
:
public
TObject {
16
private
:
17
UInt_t
_id
;
18
Float_t
_e
;
19
20
public
:
21
TCell
() {
22
_id
= 0;
23
_e
= 0.0;
24
}
25
~TCell
()
override
{};
26
TCell
(UInt_t
i
, Float_t
e
) {
27
_id
=
i
;
28
_e
=
e
;
29
}
30
31
Float_t
e
() {
return
_e
; }
32
UInt_t
id
() {
return
_id
; }
33
34
void
SetE
(Float_t
e
) {
_e
=
e
; }
35
void
SetId
(UInt_t
i
) {
_id
=
i
; }
36
37
ClassDefOverride
(
TCell
, 1);
38
};
39
40
#endif
/* _TCELL_H */
mps_fire.i
i
Definition:
mps_fire.py:428
TCell::e
Float_t e()
Definition:
TCell.h:31
TCell
Definition:
TCell.h:15
TCell::id
UInt_t id()
Definition:
TCell.h:32
TCell::_e
Float_t _e
Definition:
TCell.h:18
TCell::ClassDefOverride
ClassDefOverride(TCell, 1)
TCell::SetE
void SetE(Float_t e)
Definition:
TCell.h:34
TCell::~TCell
~TCell() override
Definition:
TCell.h:25
TCell::_id
UInt_t _id
Definition:
TCell.h:17
TCell::TCell
TCell(UInt_t i, Float_t e)
Definition:
TCell.h:26
TCell::TCell
TCell()
Definition:
TCell.h:21
TCell::SetId
void SetId(UInt_t i)
Definition:
TCell.h:35
Generated for CMSSW Reference Manual by
1.8.14