|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #include "GaudiKernel/NTuple.h"
18 #include "GaudiKernel/SmartDataPtr.h"
31 static const int maxclusters = 24000;
32 static const int maxclsize = 10;
38 const std::string&
name,
43 m_Pixel_clcontainer(nullptr),
44 m_Sct_clcontainer(nullptr)
46 declareInterface<IInDetAlignFillSiCluster>(
this);
77 return StatusCode::SUCCESS;
95 return StatusCode::SUCCESS;
118 return StatusCode::SUCCESS;
131 std::string
comments =
"Silicon Cluster Information";
194 return StatusCode::FAILURE;
213 ATH_MSG_DEBUG (
"Pixel Cluster container for Pixels not found");
214 return StatusCode::FAILURE;
216 else ATH_MSG_DEBUG (
"Pixel Cluster container for Pixels found");
235 if (!colNext)
continue;
239 for(p_clus=colNext->begin(); p_clus!=colNext->end(); ++p_clus) {
243 int GroupSize = cluster.
rdoList().size();
270 <<
") - GroupSize: " << GroupSize
275 <<
") - GroupSize: " << GroupSize
302 if (!colNext)
continue;
306 for(p_clus=colNext->begin(); p_clus!=colNext->end(); ++p_clus) {
311 int GroupSize = cluster.
rdoList().size();
322 const std::vector<Identifier>& rdoList =cluster.
rdoList();
323 std::vector<Identifier>::const_iterator nextRDO;
325 for(nextRDO=rdoList.begin(); nextRDO !=rdoList.end(); ++nextRDO){
341 <<
" Groupsize: " << GroupSize <<
endmsg;
def retrieve(aClass, aKey=None)
NTuple::Array< long > m_sct_phi
SCT Cluster phi.
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
const InDet::SCT_ClusterContainer * m_Sct_clcontainer
NTuple::Array< float > m_pixel_cly
Pixel Cluster Y.
Const iterator class for DataVector/DataList.
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
int phi_index(const Identifier &id) const
const PixelID * m_pixelid
Pixel ID helper
StatusCode RetrieveSCTSiClusters()
std::string m_Sct_SiClustersName
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
NTuple::Item< long > m_sct_nclusters
number of SCT Clusters
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
bool msgLvl(const MSG::Level lvl) const
NTuple::Array< long > m_sct_side
SCT Cluster side.
NTuple::Array< float > m_sct_clz
SCT Cluster Z.
int phi_module(const Identifier &id) const
NTuple::Array< float > m_sct_cly
SCT Cluster Y.
NTuple::Item< long > m_pixel_nclusters
number of Pixel Clusters
NTuple::Array< long > m_pixel_groupsize
Pixel Cluster Group Size.
NTuple::Matrix< long > m_pixel_clrow
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
NTuple::Array< long > m_sct_eta
SCT Cluster eta.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode FillSiCluster() override
virtual StatusCode finalize() override
virtual StatusCode initialize() override
ServiceHandle< INTupleSvc > m_ntupleSvc
::StatusCode StatusCode
StatusCode definition for legacy code.
NTuple::Array< float > m_pixel_LocX
Pixel Cluster Local X.
InDetAlignFillSiCluster(const std::string &type, const std::string &name, const IInterface *parent)
NTuple::Array< float > m_sct_clx
SCT Cluster X.
int eta_index(const Identifier &id) const
const SCT_ID * m_sctID
SCT ID helper.
NTuple::Array< float > m_pixel_LocY
Pixel Cluster Local Y.
NTuple::Array< float > m_pixel_clz
Pixel Cluster Z.
const InDet::PixelClusterContainer * m_Pixel_clcontainer
int layer_disk(const Identifier &id) const
StatusCode RetrievePixelSiClusters()
std::string m_Pixel_SiClustersName
const Amg::Vector2D & localPosition() const
return the local position reference
int layer_disk(const Identifier &id) const
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
StatusCode initialize(bool used=true)
NTuple::Matrix< long > m_pixel_clcol
NTuple::Array< long > m_sct_layer
SCT Cluster layer.
const Amg::Vector3D & globalPosition() const
return global position reference
int strip(const Identifier &id) const
NTuple::Array< long > m_pixel_layer
Pixel Cluster layer.
int eta_module(const Identifier &id) const
NTuple::Array< long > m_pixel_phi
Pixel Cluster phi.
std::string m_ntupleName
ntuple name
int side(const Identifier &id) const
NTuple::Array< float > m_pixel_clx
Pixel Cluster X.
int phi_module(const Identifier &id) const
Trk::PrepRawDataCollection< SCT_Cluster > SCT_ClusterCollection
NTuple::Array< long > m_sct_groupsize
SCT Cluster Group Size.
Trk::PrepRawDataCollection< PixelCluster > PixelClusterCollection