18 const std::string& name,
19 const IInterface* parent )
23 declareInterface< ITrigCaloClusterCnvTool >(
this );
44 const unsigned int samplings = 25;
50 for( ; aod_itr != aod_end; ++aod_itr ) {
57 cluster->
setRawEt ( ( *aod_itr )->rawEt() );
58 cluster->
setRawEta ( ( *aod_itr )->rawEta() );
59 cluster->
setRawPhi ( ( *aod_itr )->rawPhi() );
60 cluster->
setRoIword ( ( *aod_itr )->RoIword() );
61 cluster->
setNCells ( ( *aod_itr )->nCells() );
64 for(
unsigned int i = 0; i < samplings; ++i ) {
67 const float value = ( *aod_itr )->rawEnergy( sample );
75 << ( *aod_itr )->rawEnergy() <<
"; "
77 << ( *aod_itr )->rawEt() <<
"; "
79 << ( *aod_itr )->rawEta() <<
"; "
81 << ( *aod_itr )->rawPhi() <<
"; "
82 << std::hex <<
"m_roiWord: 0x"
83 << ( *aod_itr )->RoIword() <<
"; " << std::dec
84 <<
"numberUsedCells: "
85 << ( *aod_itr )->nCells() <<
"; "
87 << ( *aod_itr )->quality() );
89 if(
msg().level() <= MSG::DEBUG ) {
90 for(
unsigned int i = 0; i < samplings; ++i ) {
96 << ( *aod_itr )->rawEnergy( sample ) <<
";" );
106 return StatusCode::SUCCESS;
#define ATH_MSG_WARNING(x)
static std::string getSamplingName(CaloSample theSample)
Returns a string (name) for each CaloSampling.
DataModel_detail::const_iterator< DataVector > const_iterator
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
Container from TrigCaloCluster type objects.
void setClusterQuality(unsigned int)
set quality of cluster built (to be defined)
void setNCells(int)
set number of cells used from RoI
void setRoIword(long)
set RoI Word
void setRawPhi(float)
set Raw Phi (no calibration)
void setRawEnergy(float)
set Raw Energy (no calibration)
void setRawEta(float)
set Raw Eta (no calibration)
void setRawEt(float)
set Raw Et (no calibration)
TrigCaloClusterContainer_v1 TrigCaloClusterContainer
Define the latest version of the trigger calorimeter cluster container.
TrigCaloCluster_v1 TrigCaloCluster
Define the latest version of the trigger calorimeter cluster class.