Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Calibration
HcalCalibAlgos
src
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
17
private
:
18
UInt_t
_id
;
19
Float_t
_e
;
20
21
public
:
22
TCell
() {
_id
=0;
_e
=0.0; }
23
~TCell
() {};
24
TCell
(UInt_t
i
, Float_t
e
) {
_id
=
i
;
_e
=
e
; }
25
26
Float_t
e
() {
return
_e
; }
27
UInt_t
id
() {
return
_id
; }
28
29
void
SetE
(Float_t
e
) {
_e
=
e
; }
30
void
SetId
(UInt_t
i
) {
_id
=
i
; }
31
32
33
ClassDef
(
TCell
, 1);
34
};
35
36
#endif
/* _TCELL_H */
37
i
int i
Definition:
DBlmapReader.cc:9
TCell::e
Float_t e()
Definition:
TCell.h:26
TCell
Definition:
TCell.h:15
TCell::id
UInt_t id()
Definition:
TCell.h:27
TCell::_e
Float_t _e
Definition:
TCell.h:19
TCell::SetE
void SetE(Float_t e)
Definition:
TCell.h:29
TCell::~TCell
~TCell()
Definition:
TCell.h:23
TCell::ClassDef
ClassDef(TCell, 1)
TCell::_id
UInt_t _id
Definition:
TCell.h:18
TCell::TCell
TCell(UInt_t i, Float_t e)
Definition:
TCell.h:24
TCell::TCell
TCell()
Definition:
TCell.h:22
TCell::SetId
void SetId(UInt_t i)
Definition:
TCell.h:30
Generated for CMSSW Reference Manual by
1.8.5