|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "CLHEP/Units/SystemOfUnits.h"
22 m_typeName(
"TrigS3D"),
23 m_pixelHelper(nullptr),
25 m_pixelSpContainerName (
"TrigPixelSpacePoints"),
26 m_SCT_SpContainerName (
"TrigSCT_SpacePoints")
29 declareInterface<IDataRetriever>(
this);
46 std::string clustersStr =
"clusters multiple=\"2\"";
57 for(
int id=0;
id<maxHash;++
id){
59 if(spCollIt==
nullptr)
continue;
65 clustersVec.push_back(
DataType(((*spIt)->clusters()).first->identify().get_compact()));
79 for(
int id=0;
id<maxHash;++
id){
81 if(spCollIt==
nullptr)
continue;
87 clustersVec.push_back(
DataType(((*spIt)->clusters()).first->identify().get_compact()));
88 clustersVec.push_back(
DataType(((*spIt)->clusters()).second->identify().get_compact()));
96 myDataMap[
"layer"] =
layer;
97 myDataMap[clustersStr] = clustersVec;
102 std::string emptyStr=
"";
103 return FormatTool->AddToEvent(
dataTypeName(), emptyStr, &myDataMap);
111 if (
msgLvl(MSG::ERROR))
msg(MSG::ERROR) <<
"Could not get Pixel ID helper" <<
endmsg;
112 return StatusCode::RECOVERABLE;
116 if (
msgLvl(MSG::ERROR))
msg(MSG::ERROR) <<
"Could not get SCT ID helper" <<
endmsg;
117 return StatusCode::RECOVERABLE;
120 return StatusCode::SUCCESS;
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
Const iterator class for DataVector/DataList.
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
virtual StatusCode initialize()
int calcSCTLayer(const Identifier &)
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const SCT_ID * m_sctHelper
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
size_t size() const
Duplicate of fullSize for backwards compatability.
bool msgLvl(const MSG::Level lvl) const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int calcPixelLayer(const Identifier &)
std::map< std::string, DataVect > DataMap
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual std::string dataTypeName() const
Return the name of the data type.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const PixelID * m_pixelHelper
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
int layer_disk(const Identifier &id) const
size_type wafer_hash_max(void) const
int layer_disk(const Identifier &id) const
std::string m_SCT_SpContainerName
size_type wafer_hash_max(void) const
TrigSiSpacePointRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual const T * indexFindPtr(IdentifierHash hashId) const override final
return pointer on the found entry or null if out of range using hashed index - fast version,...
std::string m_pixelSpContainerName