![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "GaudiKernel/IInterface.h"
20 #include "GaudiKernel/StatusCode.h"
41 const std::string &
type,
42 const std::string &
name,
47 m_Pixel_track_clus_groupsize(nullptr),
48 m_Pixel_track_cluster_ToT(nullptr),
49 m_Pixel_track_res_phi(nullptr),
50 m_Pixel_track_pull_phi(nullptr),
51 m_Pixel_track_res_eta(nullptr),
52 m_Pixel_track_pull_eta(nullptr),
53 m_Pixel_track_ecA_cluster_occupancy(nullptr),
54 m_Pixel_track_ecC_cluster_occupancy(nullptr),
55 m_Pixel_track_bar_lay0_cluster_occupancy(nullptr),
56 m_Pixel_track_bar_lay1_cluster_occupancy(nullptr),
57 m_Pixel_track_bar_lay2_cluster_occupancy(nullptr),
58 m_Pixel_track_Lvl1A(nullptr),
59 m_Pixel_track_chi2(nullptr),
60 m_Pixel_track_qOverP(nullptr),
61 m_Pixel_track_d0(nullptr),
62 m_Pixel_track_z0(nullptr),
63 m_Pixel_track_phi0(nullptr),
64 m_Pixel_track_theta(nullptr),
65 m_Pixel_track_eta(nullptr)
99 m_Pixel_track_chi2 =
new TH1F(
"m_Pixel_track_chi2",
"chi2/DoF of reconstructed track (with >0 pixel hits)", 80,-0.,20.);
101 m_Pixel_track_qOverP =
new TH1F(
"m_Pixel_track_qOverP",
"Reconstructed inverse momentum of track (with >0 pixel hits)", 100,-5.,5.);
103 xaxis->SetTitle(
"Inverse momentum [GeV^{-1}]");
105 m_Pixel_track_d0 =
new TH1F(
"m_Pixel_track_d0",
"Reconstructed d_0 of track (with >0 pixel hits)", 400,-200.,200.);
107 xaxis->SetTitle(
"d_0 [mm]");
109 m_Pixel_track_z0 =
new TH1F(
"m_Pixel_track_z0",
"Reconstructed z_0 of track (with >0 pixel hits)", 300,-1000.,1000.);
111 xaxis->SetTitle(
"z_0 [mm]");
113 m_Pixel_track_phi0 =
new TH1F(
"m_Pixel_track_phi0",
"Reconstructed #phi_0 of track (with >0 pixel hits)", 40,-4.,4.);
115 xaxis->SetTitle(
"#phi_0");
117 m_Pixel_track_theta =
new TH1F(
"m_Pixel_track_theta",
"Reconstructed #theta of track (with >0 pixel hits)", 30,-0.,4.);
119 xaxis->SetTitle(
"#theta");
121 m_Pixel_track_eta =
new TH1F(
"m_Pixel_track_eta",
"Reconstructed #eta of track (with >0 pixel hits)", 40,-4.,4.);
123 xaxis->SetTitle(
"#eta");
126 return StatusCode::SUCCESS;
137 std::vector<Identifier> myRDOIDs;
141 if (
track ==
nullptr)
143 if (
msgLvl(MSG::ERROR) )
msg(MSG::ERROR) <<
"no pointer to track!!!" <<
endmsg;
158 trackStateOnSurfaceIterator!= trackStateOnSurfaceIterator_end; ++trackStateOnSurfaceIterator)
164 if(!RawDataClus)
continue;
170 for(
unsigned int loopSize=0;loopSize < RawDataClus->
rdoList().size(); loopSize++)
172 myRDOIDs.push_back(RawDataClus->
rdoList().at(loopSize));
182 trkParameters = (*trackStateOnSurfaceIterator)->trackParameters();
183 if ( trkParameters && trkParameters->covariance() )
186 const AmgSymMatrix(5) * trackErrMat = trkParameters->covariance();
194 if(error_sum != 0)
pull = (
res)/error_sum;
201 if(error_sum != 0)
pull = (
res)/error_sum;
231 if (
track->fitQuality()->numberDoF() != 0 ) {
238 return StatusCode::SUCCESS;
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
@ numberOfPixelHits
number of pixel layers on track with absence of hits
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
bool msgLvl(const MSG::Level lvl) const
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
@ u
Enums for curvilinear frames.
#define AmgSymMatrix(dim)
::StatusCode StatusCode
StatusCode definition for legacy code.
std::pair< std::vector< unsigned int >, bool > res
virtual const InDetDD::SiDetectorElement * detectorElement() const override final
return the detector element corresponding to this PRD The pointer will be zero if the det el is not d...
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
int layer_disk(const Identifier &id) const
int eta_module(const Identifier &id) const
double error(const Amg::MatrixX &mat, int index)
return diagonal error of the matrix caller should ensure the matrix is symmetric and the index is in ...
virtual const Trk::PrepRawData * prepRawData() const =0
returns the PrepRawData (also known as RIO) object to which this RIO_OnTrack is associated.
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual Identifier identify() const final
return the identifier -extends MeasurementBase
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
int phi_module(const Identifier &id) const
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.