emcTowerContent Class Reference
[Tower calibrationInterfacesTower clustering]

#include <emcTowerContent.h>

Inherited by emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Inheritance diagram for emcTowerContent:

Inheritance graph
[legend]
List of all members.

Detailed Description

(ABC) EMCAL tower raw and/or calibrated data.

You generally obtain such object from an emcTowerContainer. Then you can access tower characteristics, being raw ones (the 5 DC samples), ped-subtracted ones (ADC and TDC), or calibrated ones (Energy,ToF).

Note:
Actual implementation may not store all the information. Please use the hasXXX() methods to check this (e.g. hasRaw(), hasDC(), hasCalib()).

Definition at line 20 of file emcTowerContent.h.

Public Member Functions

virtual ~emcTowerContent ()
virtual emcTowerContentclone () const
 Make a copy of this tower.
virtual emcTowerContentcreate () const
 Make an empty copy of this tower (i.e. copy only the type).
virtual int ADC (void) const
 ADC value (i.e.
virtual int AMUPre (void) const
 AMU cell that gave the pre sample [0-63].
virtual int AMUPost (void) const
 AMU cell that gave the post sample [0-63].
virtual int AMUTAC (void) const
 AMU cell that gave the tac sample [0-63].
virtual int BeamClock (void) const
virtual int Channel (void) const
 Tower channel number within the FEM [0-143].
virtual int DataError (void) const
 A word indicating some error (e.g. sample too low or too high).
virtual float Energy (void) const
 Tower energy in GeV.
virtual unsigned int ErrorNeighbours (void) const
 A word indicating the status of the tower itself and of its neighbours (5x5).
virtual int FEM (void) const
 FEM number of this tower [0-171 for data, >= 172 for monitoring.
virtual int HG (void) const
 High gain value (pedestal subtracted).
virtual int HGPost (void) const
 High gain post sample (raw).
virtual int HGPre (void) const
 High gain pre sample (raw).
virtual int HGPP (void) const
 HGPre()-HGPost().
virtual float Gain (void) const
 Gain for this tower.
virtual void identify (std::ostream &os=std::cout) const
 From PHObject.
virtual bool isSimulated (void) const
 Whether this tower is a simulated one.
virtual bool isMerged (void) const
 Whether this tower was merged (i.e. embedded).
virtual bool isReference (void) const
 Whether this tower is a reference one.
virtual int isValid () const
 From PHObject.
virtual bool isZero (void) const
 Whether raw samples are compatible with an empty tower.
virtual int LG (void) const
 Low gain (pedestal subtracted) value.
virtual int LGPost (void) const
 Low gain post sample.
virtual int LGPre (void) const
 Low gain pre sample.
virtual int LGPP (void) const
 LGPre()-LGPost().
virtual void print (std::ostream &=std::cout, int=0) const
 Output to stream.
virtual emcTowerContentReference (void) const
 Pointer to reference (if available, see hasReference()).
virtual void SetADCTDC (int, int, int=0, int=0)
 Set the "DC" values : ADC and TDC.
virtual void SetCalibrated (float, float)
 Set the calibrated values : energy and tof.
virtual void SetDataError (int)
 Set the data Error.
virtual void SetID (int, int)
 Set the id of this tower, by means of the pair (fem,channel).
virtual void SetGain (float)
 Set the gain.
virtual void SetNeighbours (unsigned int, unsigned int)
 Set the deadmap and warnmap.
virtual void SetMerSimStatus (bool, bool)
 Set the merged and sim status.
virtual void SetRaw (int, int, int, int, int, int=0, int=0, int=0, int=0)
 Set the raw sample values.
virtual void SetSimFrac (float)
 Set the simulated energy fraction.
virtual void SetToF (float)
 Set the (corrected) tof.
virtual float SimFrac () const
 Fraction of simulated energy (0=real tower, 1=simulated, in between for a merged, i.e.
virtual int TAC (void) const
 TAC sample value.
virtual int TDC (void) const
 TDC value.
virtual float ToF (void) const
 Get the ToF value (ns).
virtual float UncorrectedToF () const
 Uncorrected ToF value (ns).
virtual int TowerID (void) const
 TowerID (computed from (fem,channel) pair).
int TowerId (void) const
 Alias for TowerID.
int towerid (void) const
 Another alias for TowerID.
virtual unsigned int WarnNeighbours (void) const
 Warnmap (see also ErrorNeighbours()).
virtual void Zero (void)
 Reset the raw samples.
void ShutUp (const int i=1)
Actual features.
Test if this tower actually has some feature.

virtual bool hasCalib (void) const
 Whether this tower has Energy and ToF available.
virtual bool hasDC (void) const
 Whether this tower has ADC and TDC values available.
virtual bool hasGain (void) const
 Whether this tower has the gain (which was used to normalize the ADC value to take into account time evolution) available.
virtual bool hasMerSimStatus (void) const
 Whether we can set the merged/simulated status.
virtual bool hasRaw (void) const
 Whether this tower has raw samples availalble.
virtual bool hasReference (void) const
 Tells whether this tower has a reference (from monitoring system information available.
Possible features.
Test if this tower *might* have some feature. (to test if the tower actually has it, use the hasXXX methods).

virtual bool canHaveCalib () const
 Whether this tower can hold calibrated (energy,tof) values.
virtual bool canHaveDC () const
 Whether this tower can hold DC (ADC,TDC) values.
virtual bool canHaveGain () const
 Whether this tower can hold Gain value.
virtual bool canHaveMerSimStatus () const
 Whether this tower can have the Merged/Simulated status.
virtual bool canHaveRaw () const
 Whether this tower can hold raw (HGPre,HGPost,LGPre,LGPost,TAC) samples.

Protected Member Functions

emcTowerContentoperator= (const emcTowerContent &rhs)
 This one is protected on purpose.

Private Member Functions

void warning (const char *) const


Constructor & Destructor Documentation

virtual emcTowerContent::~emcTowerContent  )  [virtual]
 


Member Function Documentation

virtual int emcTowerContent::ADC void   )  const [inline, virtual]
 

ADC value (i.e.

pre-post-pedestals for the selected gain, either low or high).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 35 of file emcTowerContent.h.

References warning().

Referenced by emcDCProcessorv3::calibrateTimePbGl(), emcDCProcessorv2::calibrateTimePbGl(), and emcDCProcessorv2::calibrateTimePbSc().

virtual int emcTowerContent::AMUPost void   )  const [inline, virtual]
 

AMU cell that gave the post sample [0-63].

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 43 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::AMUPre void   )  const [inline, virtual]
 

AMU cell that gave the pre sample [0-63].

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 39 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::AMUTAC void   )  const [inline, virtual]
 

AMU cell that gave the tac sample [0-63].

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 47 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::BeamClock void   )  const [inline, virtual]
 

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 50 of file emcTowerContent.h.

References warning().

virtual bool emcTowerContent::canHaveCalib  )  const [inline, virtual]
 

Whether this tower can hold calibrated (energy,tof) values.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 107 of file emcTowerContent.h.

virtual bool emcTowerContent::canHaveDC  )  const [inline, virtual]
 

Whether this tower can hold DC (ADC,TDC) values.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 110 of file emcTowerContent.h.

virtual bool emcTowerContent::canHaveGain  )  const [inline, virtual]
 

Whether this tower can hold Gain value.

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 113 of file emcTowerContent.h.

virtual bool emcTowerContent::canHaveMerSimStatus  )  const [inline, virtual]
 

Whether this tower can have the Merged/Simulated status.

Reimplemented in emcTowerContentv1M.

Definition at line 116 of file emcTowerContent.h.

virtual bool emcTowerContent::canHaveRaw  )  const [inline, virtual]
 

Whether this tower can hold raw (HGPre,HGPost,LGPre,LGPost,TAC) samples.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 121 of file emcTowerContent.h.

virtual int emcTowerContent::Channel void   )  const [inline, virtual]
 

Tower channel number within the FEM [0-143].

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 53 of file emcTowerContent.h.

References warning().

Referenced by emcDCProcessorv3::calibrateEnergyPbGl(), emcDCProcessorv2::calibrateEnergyPbGl(), emcDCProcessorv3::calibrateEnergyPbSc(), emcDCProcessorv2::calibrateEnergyPbSc(), emcDCProcessorv3::calibrateTimePbGl(), emcDCProcessorv2::calibrateTimePbGl(), emcDCProcessorv3::calibrateTimePbSc(), emcDCProcessorv2::calibrateTimePbSc(), emcRawDataProcessorv3::chooseLowGainPbGl(), emcRawDataProcessorv2::chooseLowGainPbGl(), emcRawDataProcessorv3::chooseLowGainPbSc(), and emcRawDataProcessorv2::chooseLowGainPbSc().

virtual emcTowerContent* emcTowerContent::clone void   )  const [inline, virtual]
 

Make a copy of this tower.

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, and emcTowerContentv3.

Definition at line 27 of file emcTowerContent.h.

References warning().

virtual emcTowerContent* emcTowerContent::create void   )  const [inline, virtual]
 

Make an empty copy of this tower (i.e. copy only the type).

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, and emcTowerContentv3.

Definition at line 30 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::DataError void   )  const [inline, virtual]
 

A word indicating some error (e.g. sample too low or too high).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 56 of file emcTowerContent.h.

References warning().

Referenced by emcRawDataProcessorv3::chooseLowGainPbGl(), emcRawDataProcessorv2::chooseLowGainPbGl(), emcRawDataProcessorv3::chooseLowGainPbSc(), and emcRawDataProcessorv2::chooseLowGainPbSc().

virtual float emcTowerContent::Energy void   )  const [inline, virtual]
 

Tower energy in GeV.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 59 of file emcTowerContent.h.

References warning().

virtual unsigned int emcTowerContent::ErrorNeighbours void   )  const [inline, virtual]
 

A word indicating the status of the tower itself and of its neighbours (5x5).

See also emcBadModules class for more info.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 65 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::FEM void   )  const [inline, virtual]
 

FEM number of this tower [0-171 for data, >= 172 for monitoring.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 69 of file emcTowerContent.h.

References warning().

Referenced by emcDCProcessorv3::calibrateEnergyPbGl(), emcDCProcessorv2::calibrateEnergyPbGl(), emcDCProcessorv3::calibrateEnergyPbSc(), emcDCProcessorv2::calibrateEnergyPbSc(), emcDCProcessorv3::calibrateTimePbGl(), emcDCProcessorv2::calibrateTimePbGl(), emcDCProcessorv3::calibrateTimePbSc(), emcDCProcessorv2::calibrateTimePbSc(), emcRawDataProcessorv3::chooseLowGainPbGl(), emcRawDataProcessorv2::chooseLowGainPbGl(), emcRawDataProcessorv3::chooseLowGainPbSc(), and emcRawDataProcessorv2::chooseLowGainPbSc().

virtual float emcTowerContent::Gain void   )  const [inline, virtual]
 

Gain for this tower.

Reimplemented in emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 137 of file emcTowerContent.h.

References warning().

virtual bool emcTowerContent::hasCalib void   )  const [inline, virtual]
 

Whether this tower has Energy and ToF available.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 76 of file emcTowerContent.h.

virtual bool emcTowerContent::hasDC void   )  const [inline, virtual]
 

Whether this tower has ADC and TDC values available.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 79 of file emcTowerContent.h.

virtual bool emcTowerContent::hasGain void   )  const [inline, virtual]
 

Whether this tower has the gain (which was used to normalize the ADC value to take into account time evolution) available.

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 84 of file emcTowerContent.h.

Referenced by emcDCProcessorv3::calibrateEnergyPbGl(), emcDCProcessorv2::calibrateEnergyPbGl(), emcDCProcessorv3::calibrateEnergyPbSc(), and emcDCProcessorv2::calibrateEnergyPbSc().

virtual bool emcTowerContent::hasMerSimStatus void   )  const [inline, virtual]
 

Whether we can set the merged/simulated status.

Reimplemented in emcTowerContentv1M.

Definition at line 88 of file emcTowerContent.h.

virtual bool emcTowerContent::hasRaw void   )  const [inline, virtual]
 

Whether this tower has raw samples availalble.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 91 of file emcTowerContent.h.

bool emcTowerContent::hasReference void   )  const [virtual]
 

Tells whether this tower has a reference (from monitoring system information available.

Definition at line 22 of file emcTowerContent.C.

virtual int emcTowerContent::HG void   )  const [inline, virtual]
 

High gain value (pedestal subtracted).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 125 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::HGPost void   )  const [inline, virtual]
 

High gain post sample (raw).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 128 of file emcTowerContent.h.

References warning().

Referenced by emcRawDataProcessorv3::chooseLowGainPbGl(), emcRawDataProcessorv2::chooseLowGainPbGl(), ClassImp(), and HGPP().

int emcTowerContent::HGPP void   )  const [virtual]
 

HGPre()-HGPost().

Definition at line 29 of file emcTowerContent.C.

References HGPost(), and HGPre().

Referenced by emcRawDataProcessorv3::chooseLowGainPbGl(), and emcRawDataProcessorv2::chooseLowGainPbGl().

virtual int emcTowerContent::HGPre void   )  const [inline, virtual]
 

High gain pre sample (raw).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 131 of file emcTowerContent.h.

References warning().

Referenced by HGPP().

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

From PHObject.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 36 of file emcTowerContent.C.

virtual bool emcTowerContent::isMerged void   )  const [inline, virtual]
 

Whether this tower was merged (i.e. embedded).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 147 of file emcTowerContent.h.

References warning().

bool emcTowerContent::isReference void   )  const [virtual]
 

Whether this tower is a reference one.

Definition at line 45 of file emcTowerContent.C.

virtual bool emcTowerContent::isSimulated void   )  const [inline, virtual]
 

Whether this tower is a simulated one.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 143 of file emcTowerContent.h.

References warning().

int emcTowerContent::isValid  )  const [virtual]
 

From PHObject.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 52 of file emcTowerContent.C.

virtual bool emcTowerContent::isZero void   )  const [inline, virtual]
 

Whether raw samples are compatible with an empty tower.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 156 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::LG void   )  const [inline, virtual]
 

Low gain (pedestal subtracted) value.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 159 of file emcTowerContent.h.

References warning().

Referenced by emcDCProcessorv3::calibrateTimePbSc().

virtual int emcTowerContent::LGPost void   )  const [inline, virtual]
 

Low gain post sample.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 162 of file emcTowerContent.h.

References warning().

Referenced by LGPP().

int emcTowerContent::LGPP void   )  const [virtual]
 

LGPre()-LGPost().

Definition at line 59 of file emcTowerContent.C.

References LGPost(), and LGPre().

Referenced by emcRawDataProcessorv3::chooseLowGainPbGl(), emcRawDataProcessorv2::chooseLowGainPbGl(), emcRawDataProcessorv3::chooseLowGainPbSc(), and emcRawDataProcessorv2::chooseLowGainPbSc().

virtual int emcTowerContent::LGPre void   )  const [inline, virtual]
 

Low gain pre sample.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 165 of file emcTowerContent.h.

References warning().

Referenced by LGPP().

emcTowerContent & emcTowerContent::operator= const emcTowerContent rhs  )  [protected]
 

This one is protected on purpose.

See e.g. Scott Meyers' More Effective C++ Item 33.

Definition at line 15 of file emcTowerContent.C.

virtual void emcTowerContent::print std::ostream &  = std::cout,
int  = 0
const [inline, virtual]
 

Output to stream.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 171 of file emcTowerContent.h.

References warning().

Referenced by operator<<().

emcTowerContent * emcTowerContent::Reference void   )  const [virtual]
 

Pointer to reference (if available, see hasReference()).

Definition at line 66 of file emcTowerContent.C.

virtual void emcTowerContent::SetADCTDC int  ,
int  ,
int  = 0,
int  = 0
[inline, virtual]
 

Set the "DC" values : ADC and TDC.

Only useable if hasDC returns true.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 180 of file emcTowerContent.h.

References warning().

Referenced by emcPatch::event().

virtual void emcTowerContent::SetCalibrated float  ,
float 
[inline, virtual]
 

Set the calibrated values : energy and tof.

Only useable if hasCalib returns true.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 186 of file emcTowerContent.h.

References warning().

Referenced by emcPatch::event().

virtual void emcTowerContent::SetDataError int   )  [inline, virtual]
 

Set the data Error.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 190 of file emcTowerContent.h.

References warning().

Referenced by emcPatch::event(), emcRawDataProcessorv3::toADCandTDC(), and emcRawDataProcessorv2::toADCandTDC().

virtual void emcTowerContent::SetGain float   )  [inline, virtual]
 

Set the gain.

Reimplemented in emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 196 of file emcTowerContent.h.

References warning().

Referenced by emcDCProcessorv3::calibrateEnergyPbGl(), emcDCProcessorv2::calibrateEnergyPbGl(), emcDCProcessorv3::calibrateEnergyPbSc(), and emcDCProcessorv2::calibrateEnergyPbSc().

virtual void emcTowerContent::SetID int  ,
int 
[inline, virtual]
 

Set the id of this tower, by means of the pair (fem,channel).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 193 of file emcTowerContent.h.

References warning().

Referenced by emcPatch::event(), and emcPacketProcessorv1::process().

virtual void emcTowerContent::SetMerSimStatus bool  ,
bool 
[inline, virtual]
 

Set the merged and sim status.

Only useable if isMerSimStatus returns true.

Reimplemented in emcTowerContentv1M.

Definition at line 206 of file emcTowerContent.h.

References warning().

virtual void emcTowerContent::SetNeighbours unsigned int  ,
unsigned int 
[inline, virtual]
 

Set the deadmap and warnmap.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 199 of file emcTowerContent.h.

References warning().

Referenced by emcPatch::event().

virtual void emcTowerContent::SetRaw int  ,
int  ,
int  ,
int  ,
int  ,
int  = 0,
int  = 0,
int  = 0,
int  = 0
[inline, virtual]
 

Set the raw sample values.

Only useable if hasRaw returns true.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 212 of file emcTowerContent.h.

References warning().

Referenced by emcPatch::event().

virtual void emcTowerContent::SetSimFrac float   )  [inline, virtual]
 

Set the simulated energy fraction.

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, and emcTowerContentv3.

Definition at line 221 of file emcTowerContent.h.

References warning().

virtual void emcTowerContent::SetToF float   )  [inline, virtual]
 

Set the (corrected) tof.

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, and emcTowerContentv3.

Definition at line 224 of file emcTowerContent.h.

References warning().

void emcTowerContent::ShutUp const int  i = 1  ) 
 

Definition at line 73 of file emcTowerContent.C.

virtual float emcTowerContent::SimFrac  )  const [inline, virtual]
 

Fraction of simulated energy (0=real tower, 1=simulated, in between for a merged, i.e.

embedded, tower.

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, and emcTowerContentv3.

Definition at line 228 of file emcTowerContent.h.

virtual int emcTowerContent::TAC void   )  const [inline, virtual]
 

TAC sample value.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv2, and emcTowerContentv3.

Definition at line 231 of file emcTowerContent.h.

References warning().

virtual int emcTowerContent::TDC void   )  const [inline, virtual]
 

TDC value.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 234 of file emcTowerContent.h.

References warning().

Referenced by emcDCProcessorv3::calibrateTimePbGl(), emcDCProcessorv2::calibrateTimePbGl(), emcDCProcessorv3::calibrateTimePbSc(), and emcDCProcessorv2::calibrateTimePbSc().

virtual float emcTowerContent::ToF void   )  const [inline, virtual]
 

Get the ToF value (ns).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 237 of file emcTowerContent.h.

References warning().

int emcTowerContent::towerid void   )  const [inline]
 

Another alias for TowerID.

Definition at line 249 of file emcTowerContent.h.

References TowerID().

Referenced by mEmcReCalibratorModulev1::event().

int emcTowerContent::TowerId void   )  const [inline]
 

Alias for TowerID.

Definition at line 246 of file emcTowerContent.h.

References TowerID().

virtual int emcTowerContent::TowerID void   )  const [inline, virtual]
 

TowerID (computed from (fem,channel) pair).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 243 of file emcTowerContent.h.

References warning().

Referenced by mEmcTOFCorr6Module::event(), mEmcTOFCorr5Module::event(), emcRawDataProcessorv3::toADCandTDC(), emcRawDataProcessorv2::toADCandTDC(), towerid(), and TowerId().

virtual float emcTowerContent::UncorrectedToF void   )  const [inline, virtual]
 

Uncorrected ToF value (ns).

Reimplemented in emcTowerContentv1M, emcTowerContentv1S, and emcTowerContentv3.

Definition at line 240 of file emcTowerContent.h.

References warning().

void emcTowerContent::warning const char *   )  const [private]
 

Definition at line 80 of file emcTowerContent.C.

Referenced by ADC(), AMUPost(), AMUPre(), AMUTAC(), BeamClock(), Channel(), clone(), create(), DataError(), Energy(), ErrorNeighbours(), FEM(), Gain(), HG(), HGPost(), HGPre(), isMerged(), isSimulated(), isZero(), LG(), LGPost(), LGPre(), print(), SetADCTDC(), SetCalibrated(), SetDataError(), SetGain(), SetID(), SetMerSimStatus(), SetNeighbours(), SetRaw(), SetSimFrac(), SetToF(), TAC(), TDC(), ToF(), TowerID(), UncorrectedToF(), WarnNeighbours(), and Zero().

virtual unsigned int emcTowerContent::WarnNeighbours void   )  const [inline, virtual]
 

Warnmap (see also ErrorNeighbours()).

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 252 of file emcTowerContent.h.

References warning().

virtual void emcTowerContent::Zero void   )  [inline, virtual]
 

Reset the raw samples.

Reimplemented in emcTowerContentv1, emcTowerContentv1M, emcTowerContentv1S, emcTowerContentv2, and emcTowerContentv3.

Definition at line 256 of file emcTowerContent.h.

References warning().

Referenced by emcRawDataProcessorv3::toADCandTDC(), and emcRawDataProcessorv2::toADCandTDC().


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