|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "GaudiKernel/StatusCode.h"
42 return StatusCode::SUCCESS;
55 ATH_CHECK( trigEmClusterCollection.
record(std::make_unique<xAOD::TrigEMClusterContainer>(),
56 std::make_unique<xAOD::TrigEMClusterAuxContainer>()) );
61 ATH_CHECK( ringsCollection.
record( std::make_unique<xAOD::TrigRingerRingsContainer>(),
62 std::make_unique<xAOD::TrigRingerRingsAuxContainer>() ) );
64 unsigned int clustern=0;
74 trigEmClusterCollection->
push_back(ptrigEmCluster);
83 double etamax =
std::min(2.5,
static_cast<double>(
cell->eta() + etaWidth));
88 std::vector<RingerReFex::RingSet> vec_rs;
90 std::vector<float> ref_rings;
93 auto rings =
it->rings();
94 ref_rings.insert(ref_rings.end(), rings.begin(), rings.end());
97 ringsCollection->
push_back( ptrigRingerRings );
98 ptrigRingerRings->setRings(ref_rings);
100 ptrigRingerRings->setEmClusterLink( clusLink );
105 return StatusCode::SUCCESS;
JetConstituentVector::iterator iterator
void setEta(float)
set Eta (calibrated)
CaloGlobalRoIBuilder(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
void setEnergy(float energy)
set Energy (calibrated)
T wrapToPi(T phi)
Wrap angle in radians to [-pi, pi].
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Gaudi::Property< float > m_samp_thr
SG::WriteHandleKey< xAOD::TrigRingerRingsContainer > m_ringerContainerKey
Gaudi::Property< float > m_thr
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
#define ATH_MSG_VERBOSE(x)
float getNoise(const IdentifierHash h, const int gain) const
Accessor by IdentifierHash and gain.
void setPhi(float)
set Phi (calibrated)
SG::WriteHandleKey< xAOD::TrigEMClusterContainer > m_clusterContainerKey
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
::StatusCode StatusCode
StatusCode definition for legacy code.
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.
ToolHandle< RingerReFex > m_emAlgTools
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< float > m_abseta_thr
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
bool is_tile() const
cell belongs to Tile
ElementLink implementation for ROOT usage.
TrigRingerRings_v2 TrigRingerRings
Define the latest version of the TrigRingerRings class.
IdentifierHash identifyHash() const override final
cell subcalo hash same as subcalo_hash(), but kept for backward compatibility
virtual StatusCode initialize() override
Helper for azimuthal angle calculations.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode initialize(bool used=true)
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
CaloCell_ID::CaloSample getSampling() const
cell sampling
void setEt(float)
set Et (calibrated)
float eta() const
cell eta
Description of a trigger EM cluster.