CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Calibration/HcalCalibAlgos/src/TCell.h

Go to the documentation of this file.
00001 //
00002 // File:   TCell.h
00003 // Author: Anton
00004 //
00005 // Created on July 4, 2008, 4:39 PM
00006 //
00007 // Simple class to hold information on the
00008 // cell id and energy for the HCAL calibration ntuples
00009 
00010 #ifndef _TCELL_H
00011 #define _TCELL_H
00012 
00013 #include "TObject.h"
00014 
00015 class TCell : public TObject {
00016     
00017 private:
00018     UInt_t   _id;
00019     Float_t  _e;
00020     
00021 public:
00022     TCell() { _id=0; _e=0.0; }
00023     ~TCell() {};
00024     TCell(UInt_t i, Float_t e) { _id=i; _e=e; }
00025     
00026     Float_t e()  { return _e; }
00027     UInt_t  id() { return _id; }
00028     
00029     void SetE(Float_t e) { _e=e; }
00030     void SetId(UInt_t i) { _id=i; }
00031     
00032     
00033     ClassDef(TCell, 1);
00034 };
00035 
00036 #endif  /* _TCELL_H */
00037