|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   24 #include "GaudiKernel/DataObject.h" 
   25 #include "GaudiKernel/IOpaqueAddress.h" 
   26 #include "GaudiKernel/IRegistry.h" 
   27 #include "GaudiKernel/ISvcLocator.h" 
   28 #include "GaudiKernel/StatusCode.h" 
   48 #include "../JepByteStreamV2Tool.h" 
   49 #include "../ToString.h" 
   54   Converter(storageType(), classID(), svcloc),
 
   56   m_name(
"JetElementByteStreamAuxCnv"),
 
   57   m_readTool(
"LVL1BS::JepByteStreamV2Tool/JepByteStreamV2Tool")
 
   78   return StatusCode::SUCCESS;
 
   87   CHECK(pBS_Addr != 
nullptr);
 
   89   const std::string 
nm = *(pBS_Addr->par());
 
   94   container.setStore(aux);
 
  108     std::vector<uint16_t> emJetElementETVec(
 
  109       source->emEnergyVec().begin(),
 
  110       source->emEnergyVec().end()
 
  113     std::vector<uint16_t> hadJetElementETVec(
 
  114       source->hadEnergyVec().begin(),
 
  115       source->hadEnergyVec().end()
 
  118     std::vector<uint32_t> emJetElementError(
 
  119       source->emErrorVec().begin(),
 
  120       source->emErrorVec().end()
 
  123     std::vector<uint32_t> hadJetElementError(
 
  124       source->hadErrorVec().begin(),
 
  125       source->hadErrorVec().end()
 
  128     std::vector<uint32_t> linkErrorVec(
 
  129       source->linkErrorVec().begin(),
 
  130       source->linkErrorVec().end()
 
  148   ATH_MSG_DEBUG(
"Number of readed JetElement: " << aux->size());
 
  151   return StatusCode::SUCCESS;
 
  157   return StatusCode::FAILURE;
 
  
JetElementByteStreamAuxCnv(ISvcLocator *svcloc)
static long storageType()
virtual StatusCode initialize()
convert to and from a SG storable
Defines the ROB data entity. The ROB data is an abstract entity that is used to discase the raw event...
Description of JetElement_v2.
static const CLID & classID()
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
std::vector< size_t > vec
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
msgSvc
Provide convenience handles for various services.
JetElement_v2 JetElement
Define the latest version of the JetElement class.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
Class to provide easy MsgStream access and capabilities.
#define CHECK(...)
Evaluate an expression and check for errors.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
uint32_t CLID
The Class ID type.
static constexpr long storageType()
Helpers for checking error return status codes and reporting errors.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
JetElementAuxContainer_v2 JetElementAuxContainer
Define the latest version of the JetElement auxiliary container.
ToolHandle< JepByteStreamV2Tool > m_readTool
Do the main job - retrieve objects from robs.
std::string m_name
Converter name.