|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGCALOCLUSTER_H
6 #define TRIGCALOCLUSTER_H
28 #include "GaudiKernel/MsgStream.h"
30 #include "CaloGeoHelpers/CaloSampling.h"
44 float phi = -10.0,
long roi_word = 0);
51 void print (
void )
const;
59 template <
class ITERATOR>
94 template <
class ITERATOR>
156 std::map< std::string, double >& varChange );
int m_numberUsedCells
Number of cells used from RoI.
int nCells() const
get number of cells used from RoI
float m_rawEt
Raw Et (no calibration)
float m_rawEnergyS[MAXSIZE]
Raw Energy per sample (upto 25 samples - no calibration)
Extra patterns decribing particle interation process.
unsigned int m_quality
quality of cluster built (to be defined)
Scalar phi() const
phi method
void setRawEt(float et)
set Raw Et (no calibration)
float m_rawPhi
Raw Phi (no calibration)
Scalar eta() const
pseudorapidity method
float rawPhi() const
get Raw Phi (no calibration)
void setquality(unsigned int quality)
set quality of cluster built (to be defined)
Copy a range with bounds restriction.
std::string str(const TrigCaloCluster &d)
void setRawEnergy(float energy)
set Raw Energy (no calibration)
long RoIword() const
get RoI Word
void setRoIword(long roiword)
set RoI Word
void setRawEnergy(CaloSampling::CaloSample sample, float energy)
set Raw Et (no calibration) per sampling layer
void diff(const TrigCaloCluster &clus1, const TrigCaloCluster &clus2, std::map< std::string, double > &varChange)
void setNCells(int ncells)
set number of cells used from RoI
float rawEnergy(CaloSampling::CaloSample sample) const
get Raw Energy (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 quality() const
get quality of cluster built (to be defined)
void setRawEnergies(ITERATOR beg, ITERATOR end)
bool operator!=(const TrigCaloCluster &a, const TrigCaloCluster &b)
~TrigCaloCluster()
Destructor
float rawEta() const
get Raw Eta (no calibration)
void print(void) const
Prints out cluster variables to std::cout
float m_rawEnergy
Raw Energy (no calibration)
void setRawPhi(float phi)
set Raw Phi (no calibration)
void fill(H5::Group &out_file, size_t iterations)
void setRawEta(float eta)
set Raw Eta (no calibration)
void rawEnergies(ITERATOR beg, ITERATOR end) const
MsgStream & operator<<(MsgStream &m, const TrigCaloCluster &d)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
auto copy_bounded(const InputRange &input, OutputRange &output) -> decltype(std::begin(output))
Copy a range with bounds restriction.
bool operator==(const TrigCaloCluster &a, const TrigCaloCluster &b)
float m_rawEta
Raw Eta (no calibration)
macros to associate a CLID to a type
float rawEnergy() const
get Raw Energy (no calibration)
float rawEt() const
get Raw Et (no calibration)