5#ifndef TRIGCALOCLUSTER_H
6#define TRIGCALOCLUSTER_H
28#include "GaudiKernel/MsgStream.h"
30#include "CaloGeoHelpers/CaloSampling.h"
36const int MAXSIZE = CaloSampling::CaloSample::Unknown;
44 float phi = -10.0,
long roi_word = 0);
51 void print (
void )
const;
53 void print ( MsgStream& log)
const;
59 template <
class ITERATOR>
94 template <
class ITERATOR>
100 std::fill (out, end, 0);
156 std::map< std::string, double >& varChange );
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool operator!=(const TrigCaloCluster &a, const TrigCaloCluster &b)
bool operator==(const TrigCaloCluster &a, const TrigCaloCluster &b)
void diff(const TrigCaloCluster &clus1, const TrigCaloCluster &clus2, std::map< std::string, double > &varChange)
MsgStream & operator<<(MsgStream &m, const TrigCaloCluster &d)
void setRawEta(float eta)
set Raw Eta (no calibration)
float rawEta() const
get Raw Eta (no calibration)
void setRawEnergy(CaloSampling::CaloSample sample, float energy)
set Raw Et (no calibration) per sampling layer
TrigCaloCluster(float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
Constructor, please note the default values.
unsigned int m_quality
quality of cluster built (to be defined)
float m_rawEnergyS[MAXSIZE]
Raw Energy per sample (upto 25 samples - no calibration)
void setRoIword(long roiword)
set RoI Word
long RoIword() const
get RoI Word
float m_rawEnergy
Raw Energy (no calibration)
void print(void) const
Prints out cluster variables to std::cout.
void setRawEnergy(float energy)
set Raw Energy (no calibration)
void setRawPhi(float phi)
set Raw Phi (no calibration)
void setquality(unsigned int quality)
set quality of cluster built (to be defined)
float rawPhi() const
get Raw Phi (no calibration)
void rawEnergies(ITERATOR beg, ITERATOR end) const
float m_rawEta
Raw Eta (no calibration)
unsigned int quality() const
get quality of cluster built (to be defined)
int m_numberUsedCells
Number of cells used from RoI.
void setRawEnergies(ITERATOR beg, ITERATOR end)
float rawEnergy() const
get Raw Energy (no calibration)
float m_rawEt
Raw Et (no calibration)
~TrigCaloCluster()
Destructor.
void setNCells(int ncells)
set number of cells used from RoI
float rawEt() const
get Raw Et (no calibration)
float rawEnergy(CaloSampling::CaloSample sample) const
get Raw Energy (no calibration) per sampling layer
float m_rawPhi
Raw Phi (no calibration)
void setRawEt(float et)
set Raw Et (no calibration)
int nCells() const
get number of cells used from RoI
Copy a range with bounds restriction.
OutputIterator copy_bounded(InputIterator begi, InputIterator endi, OutputIterator bego, OutputIterator endo)
Copy a range with bounds restriction.
Extra patterns decribing particle interation process.