|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/EventContext.h"
54 m_h_globalZR =
new TH2F(
"h_globalZR",
"h_globalZR; z [mm]; r [mm]",1500,-3000.,3000,400,0.,400);
60 return StatusCode::SUCCESS;
83 const EventContext& ctx = Algorithm::getContext();
88 if (!pixelCollection)
continue;
90 const Identifier idColl(pixelCollection->identify());
96 bool isInnermost = (pixLayerDisk==0);
97 bool isNextToInnermost = (pixLayerDisk==1) or (pixBrlEc!=0 and pixLayerDisk==2);
106 auto localPos = pCluster->localPosition();
107 auto localCov = pCluster->localCovariance();
108 auto globalPos = pCluster->globalPosition();
109 auto width = pCluster->width();
111 m_eta->push_back(globalPos.eta());
136 return StatusCode::SUCCESS;
std::vector< int > * m_etaModule
def retrieve(aClass, aKey=None)
std::vector< int > * m_sizeY
std::vector< double > * m_localCovXX
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
SG::ReadHandleKey< InDet::PixelClusterContainer > m_inputKey
std::vector< int > * m_isNextToInnermost
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
const PixelID * m_pixelID
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute() override final
std::vector< int > * m_layerDisk
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::vector< double > * m_globalZ
virtual bool isValid() override final
Can the handle be successfully dereferenced?
int layer_disk(const Identifier &id) const
std::vector< double > * m_localCovYY
int eta_module(const Identifier &id) const
std::vector< double > * m_localX
std::vector< double > * m_localY
StringProperty m_ntupleTreeName
std::vector< double > * m_eta
std::vector< int > * m_barrelEndcap
std::vector< int > * m_sizeX
PixelClusterAnalysis(const std::string &name, ISvcLocator *pSvcLocator)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
std::vector< double > * m_globalX
Handle class for reading from StoreGate.
std::vector< int > * m_isInnermost
int phi_module(const Identifier &id) const
std::vector< double > * m_globalY
std::vector< int > * m_phiModule
virtual StatusCode initialize() override final
StringProperty m_ntupleFileName
Trk::PrepRawDataCollection< PixelCluster > PixelClusterCollection
StringProperty m_ntupleDirName
ServiceHandle< ITHistSvc > m_thistSvc