EmcCalibTowerv1 Class Reference
[Deprecated Stuff]

#include <EmcCalibTowerv1.h>

Inherits EmcCalibTower.

Inheritance diagram for EmcCalibTowerv1:

Inheritance graph
[legend]
List of all members.

Detailed Description

(OLD) Kind of interim object between STAF times and Fun4All times.

Relevant object is now emcTowerContainer / emcTowerContent

Definition at line 15 of file EmcCalibTowerv1.h.

Public Member Functions

 EmcCalibTowerv1 ()
virtual ~EmcCalibTowerv1 ()
void Reset ()
int isValid () const
void identify (std::ostream &os=std::cout) const
void FillFromWrapper (dEmcCalibTowerWrapper *wrap)
unsigned int get_EmcNTower () const
void set_EmcNTower (const unsigned int ntower)
int set_TClonesArraySize (const unsigned int ntower)
void AddEmcTower (const unsigned int itower)
short get_arm (const unsigned int itower) const
short get_sector (const unsigned int itower) const
short get_ind (const unsigned int itower, const short i) const
short get_id (const unsigned int iclus) const
void set_id (const unsigned int iclus, const short ival)
short get_type (const unsigned int iclus) const
void set_type (const unsigned int iclus, const short ival)
int get_deadmap (const unsigned int itower) const
void set_deadmap (const unsigned int itower, const int ival)
int get_hwkey (const unsigned int iclus) const
void set_hwkey (const unsigned int iclus, const int ival)
int get_index (const unsigned int itower) const
void set_index (const unsigned int itower, const int ival)
int get_swkey (const unsigned int iclus) const
void set_swkey (const unsigned int iclus, const int ival)
int get_warnmap (const unsigned int itower) const
void set_warnmap (const unsigned int itower, const int ival)
float get_adc (const unsigned int itower) const
void set_adc (const unsigned int itower, const float rval)
float get_ecal (const unsigned int itower) const
void set_ecal (const unsigned int itower, const float rval)
float get_tac (const unsigned int itower) const
void set_tac (const unsigned int itower, const float rval)
float get_tof (const unsigned int itower) const
void set_tof (const unsigned int itower, const float rval)

Protected Member Functions

TClonesArray * GetEmcTower () const

Protected Attributes

unsigned int EmcNTower
TClonesArray * EmcTower


Constructor & Destructor Documentation

EmcCalibTowerv1::EmcCalibTowerv1  ) 
 

Definition at line 14 of file EmcCalibTowerv1.C.

References EMCNTOWER, EmcNTower, and EmcTower.

EmcCalibTowerv1::~EmcCalibTowerv1  )  [virtual]
 

Definition at line 21 of file EmcCalibTowerv1.C.

References EmcTower.


Member Function Documentation

void EmcCalibTowerv1::AddEmcTower const unsigned int  itower  )  [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 92 of file EmcCalibTowerv1.C.

References EmcTower.

Referenced by FillFromWrapper().

void EmcCalibTowerv1::FillFromWrapper dEmcCalibTowerWrapper *  wrap  )  [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 50 of file EmcCalibTowerv1.C.

References AddEmcTower(), EmcNTower, set_adc(), set_deadmap(), set_ecal(), set_hwkey(), set_id(), set_index(), set_swkey(), set_tac(), set_TClonesArraySize(), set_tof(), set_type(), and set_warnmap().

float EmcCalibTowerv1::get_adc const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 279 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_adc(), and GetEmcTower().

short EmcCalibTowerv1::get_arm const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 99 of file EmcCalibTowerv1.C.

References get_index().

int EmcCalibTowerv1::get_deadmap const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 174 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_deadmap(), and GetEmcTower().

float EmcCalibTowerv1::get_ecal const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 300 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_ecal(), and GetEmcTower().

unsigned int EmcCalibTowerv1::get_EmcNTower  )  const [inline, virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 27 of file EmcCalibTowerv1.h.

References EmcNTower.

int EmcCalibTowerv1::get_hwkey const unsigned int  iclus  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 195 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_hwkey(), and GetEmcTower().

short EmcCalibTowerv1::get_id const unsigned int  iclus  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 131 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_id(), and GetEmcTower().

short EmcCalibTowerv1::get_ind const unsigned int  itower,
const short  i
const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 115 of file EmcCalibTowerv1.C.

References get_index().

int EmcCalibTowerv1::get_index const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 216 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_index(), and GetEmcTower().

Referenced by get_arm(), get_ind(), and get_sector().

short EmcCalibTowerv1::get_sector const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 107 of file EmcCalibTowerv1.C.

References get_index().

int EmcCalibTowerv1::get_swkey const unsigned int  iclus  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 237 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_swkey(), and GetEmcTower().

float EmcCalibTowerv1::get_tac const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 322 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_tac(), and GetEmcTower().

float EmcCalibTowerv1::get_tof const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 343 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_tof(), and GetEmcTower().

short EmcCalibTowerv1::get_type const unsigned int  iclus  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 153 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_type(), and GetEmcTower().

int EmcCalibTowerv1::get_warnmap const unsigned int  itower  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 258 of file EmcCalibTowerv1.C.

References EmcSnglCalibTowerv1::get_warnmap(), and GetEmcTower().

TClonesArray* EmcCalibTowerv1::GetEmcTower  )  const [inline, protected]
 

Definition at line 73 of file EmcCalibTowerv1.h.

References EmcTower.

Referenced by get_adc(), get_deadmap(), get_ecal(), get_hwkey(), get_id(), get_index(), get_swkey(), get_tac(), get_tof(), get_type(), get_warnmap(), set_adc(), set_deadmap(), set_ecal(), set_hwkey(), set_id(), set_index(), set_swkey(), set_tac(), set_tof(), set_type(), and set_warnmap().

void EmcCalibTowerv1::identify std::ostream &  os = std::cout  )  const [virtual]
 

Reimplemented from EmcCalibTower.

int EmcCalibTowerv1::isValid  )  const [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 45 of file EmcCalibTowerv1.C.

References EmcNTower.

void EmcCalibTowerv1::Reset  )  [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 34 of file EmcCalibTowerv1.C.

References EMCNTOWER, EmcNTower, and EmcTower.

void EmcCalibTowerv1::set_adc const unsigned int  itower,
const float  rval
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 286 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_adc().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_deadmap const unsigned int  itower,
const int  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 181 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_deadmap().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_ecal const unsigned int  itower,
const float  rval
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 307 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_ecal().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_EmcNTower const unsigned int  ntower  )  [inline, virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 28 of file EmcCalibTowerv1.h.

References EmcNTower.

void EmcCalibTowerv1::set_hwkey const unsigned int  iclus,
const int  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 202 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_hwkey().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_id const unsigned int  iclus,
const short  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 138 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_id().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_index const unsigned int  itower,
const int  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 223 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_index().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_swkey const unsigned int  iclus,
const int  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 244 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_swkey().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_tac const unsigned int  itower,
const float  rval
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 329 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_tac().

Referenced by FillFromWrapper().

int EmcCalibTowerv1::set_TClonesArraySize const unsigned int  ntower  )  [virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 83 of file EmcCalibTowerv1.C.

References EMCNTOWER, and EmcTower.

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_tof const unsigned int  itower,
const float  rval
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 350 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_tof().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_type const unsigned int  iclus,
const short  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 160 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_type().

Referenced by FillFromWrapper().

void EmcCalibTowerv1::set_warnmap const unsigned int  itower,
const int  ival
[virtual]
 

Reimplemented from EmcCalibTower.

Definition at line 265 of file EmcCalibTowerv1.C.

References GetEmcTower(), and EmcSnglCalibTowerv1::set_warnmap().

Referenced by FillFromWrapper().


Member Data Documentation

unsigned int EmcCalibTowerv1::EmcNTower [protected]
 

Definition at line 74 of file EmcCalibTowerv1.h.

Referenced by EmcCalibTowerv1(), FillFromWrapper(), get_EmcNTower(), isValid(), Reset(), and set_EmcNTower().

TClonesArray* EmcCalibTowerv1::EmcTower [protected]
 

Definition at line 75 of file EmcCalibTowerv1.h.

Referenced by AddEmcTower(), EmcCalibTowerv1(), GetEmcTower(), Reset(), set_TClonesArraySize(), and ~EmcCalibTowerv1().


The documentation for this class was generated from the following files: