|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   43                                        ISvcLocator *pSvcLocator) :
 
   65     } 
catch (
const std::bad_alloc&) {
 
   66         ATH_MSG_ERROR(
"Could not create a new Pixel RawDataContainer !");
 
   67         return StatusCode::FAILURE;
 
   72     } 
catch (
const std::bad_alloc&) {
 
   73         ATH_MSG_ERROR(
"Could not create a new SCT  RawDataContainer !");
 
   74         return StatusCode::FAILURE;
 
   79     } 
catch (
const std::bad_alloc&) {
 
   80         ATH_MSG_ERROR(
"Could not create a new TRT RawDataContainer !");
 
   81         return StatusCode::FAILURE;
 
   89     return StatusCode::SUCCESS;
 
  101     return StatusCode::SUCCESS;
 
  129     for (
int i=0; 
i < 10; ++
i, waferHash += deltaWafer) {
 
  135             << MSG::hex << (
unsigned int)waferHash << MSG::dec );
 
  148         for (
unsigned int irdo = 0; irdo < p_rdocoll->
size(); ++irdo) {
 
  149             unsigned int itest = irdo % 3;
 
  159                 index.setCollHash(waferHash);
 
  160                 if (itest == 1) 
index.setObjIndex(irdo);
 
  162                     << 
index.collHash() << 
" " << 
index.objIndex() << 
" "  
  163                     << MSG::hex << 
index.hashAndIndex() << MSG::dec);
 
  166                 el.setElement((*p_rdocoll)[irdo]);
 
  172     return StatusCode::SUCCESS;
 
  195     for (
int i=0; 
i < 10; ++
i, waferHash += deltaWafer) {
 
  201             << MSG::hex << (
unsigned int)waferHash << MSG::dec );
 
  213     return StatusCode::SUCCESS;
 
  237     for (
int i=0; 
i < 10; ++
i, strLayHash += deltaStrLay) {
 
  243             << MSG::hex << (
unsigned int)strLayHash << MSG::dec );
 
  254     return StatusCode::SUCCESS;
 
  276             << 
" and " << rdocoll->
size() << 
" RDOs" );
 
  280         for(rdo=rdocoll->
begin() ; 
 
  281             rdo!=rdocoll->
end() ; ++rdo) {
 
  284                           << 
"RDO ToT=" << (*rdo)->getToT() << 
" id:" 
  285                           << (*rdo)->identify().getString() );
 
  301                       << 
"RDO ToT=" << (*rdo)->getToT() 
 
  302                       << 
" id:" << (*rdo)->identify().getString() );
 
  315             << 
" and " << rdocoll->
size() << 
" RDOs" );
 
  319         for(rdo=rdocoll->
begin() ; 
 
  320             rdo!=rdocoll->
end() ; ++rdo) {
 
  323                           << 
"RDO grp=" << (*rdo)->getGroupSize() );
 
  337             << 
" and " << rdocoll->
size() << 
" RDOs" );
 
  341         for(rdo=rdocoll->
begin() ; 
 
  342             rdo!=rdocoll->
end() ; ++rdo) {
 
  345                           << 
"RDO hilvl=" << (*rdo)->highLevel() << 
" ToT:" 
  346                           <<  (*rdo)->timeOverThreshold() << 
" drift: " << (*rdo)->driftTimeBin());
 
  353     return StatusCode::SUCCESS;
 
  362     return StatusCode::SUCCESS;
 
  
def retrieve(aClass, aKey=None)
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
InDetRawDataFakeWriter()
Avoid use of default constructor.
Class which encapsulates the creation of an InDetRawDataCollection.
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
Const iterator class for DataVector/DataList.
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
InDetRawDataContainer< InDetRawDataCollection< PixelRDORawData > > PixelRDO_Container
virtual StatusCode addCollection(const T *coll, IdentifierHash hashId) override final
insert collection into container with id hash if IDC should not take ownership of collection,...
virtual StatusCode execute()
Algorithm execute once per event.
StatusCode createTRTs()
Create trt collections.
Test Algorithm for POOL I/O, writes InDetRawData to transient store.
virtual Identifier identify() const override final
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
SCT_RDO_Container * m_sctCont
Identifiable containers are created only once.
Identifiable container index to a contained object.
#define ATH_MSG_VERBOSE(x)
IdContext wafer_context() const
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
virtual StatusCode initialize()
Algorithm initialize at begin of job.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
IdContext wafer_context() const
virtual IdentifierHash identifyHash() const override final
vector containing element links to pixel RDOs
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
size_type wafer_hash_max() const
msgSvc
Provide convenience handles for various services.
StatusCode createPixels()
Create pixel collections.
::StatusCode StatusCode
StatusCode definition for legacy code.
const InDetRawDataCollection< SCT_RDORawData > * createSCT_RawDataColl(IdentifierHash hashId, const SCT_ID *sctId, MsgStream &log)
Create SCT_RawDataCollection.
const InDetRawDataCollection< TRT_RDORawData > * createTRT_RawDataColl(IdentifierHash hashId, const TRT_ID *trtId, MsgStream &log)
Create TRT_RawDataCollection.
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
Class definition for PixelRDOElemLinkVec.
ElementLink implementation for ROOT usage.
size_type wafer_hash_max() const
const PixelID * m_pixelId
IDhelper needed for identifiable container.
StatusCode createSCTs()
Create sct collections.
InDetRawDataContainer< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
IdContext straw_layer_context() const
straw_layer id
const SCT_ID * m_sctId
IDhelper needed for identifiable container.
InDetRawDataContainer< InDetRawDataCollection< SCT_RDORawData > > SCT_RDO_Container
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
PixelRDO_Container * m_pixCont
Identifiable containers are created only once.
TRT_RDO_Container * m_trtCont
Identifiable containers are created only once.
const TRT_ID * m_trtId
IDhelper needed for identifiable container.
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
StatusCode printRDOs() const
Print out RDOs.
Class which encapsulates the creation of an InDetRawDataCollection.
const std::vector< elem_type > & pixelRDOs() const
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
size_type straw_layer_hash_max() const
virtual StatusCode finalize()
Algorithm finalize at end of job.
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
size_type size() const noexcept
Returns the number of elements in the collection.
const InDetRawDataCollection< PixelRDORawData > * createPixelRawDataColl(IdentifierHash hashId, const PixelID *pixelId, MsgStream &log)
Create PixelRawDataCollection.
virtual void cleanup() override final
reset m_hashids and call IdentifiableCache's cleanup
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.