Commit b884d121 authored by William Axel Leight's avatar William Axel Leight Committed by Graeme Stewart
Browse files

New muon ChamberHitSummary variables, see Changelog (TrkTrackSummary-00-23-15)

	* Added out-of-bounds and non-deweighted hits to the muon ChamberHitSummary
	* Tagging as TrkTrackSummary-00-23-15
parent cba03c2a
......@@ -34,12 +34,14 @@ namespace Trk {
/** structure to hold the information for the eta/phi projection of RPC, TGC and CSC
chambers and per multilayer for MDT chambers */
struct Projection {
Projection() : nhits(0),nholes(0),noutliers(0),ndeltas(0), ncloseHits(0){}
Projection() : nhits(0),nholes(0),noutliers(0),ndeltas(0), ncloseHits(0), ngoodHits(0), noutBounds(0) {}
int nhits; //<! number of hits on track in the projection
int nholes; //<! number of holes in the projection
int noutliers; //<! number of outliers in the projection
int ndeltas; //<! number of delta electrons in the projection (only filled for MDT chambers)
int ncloseHits; //<! number of hits within a road around the track in the projection
int ngoodHits; //<! number of hits that matter for the track
int noutBounds; //<! number of out-of-bounds hits
};
ChamberHitSummary( ):m_chId{},m_isMdt{} {}
......@@ -70,6 +72,12 @@ namespace Trk {
/** returns the total number of close hits in the chamber */
int ncloseHits() const { return first.ncloseHits + second.ncloseHits; }
/** returns the number of non-deweighted hits in the chamber */
int ngoodHits() const { return first.ngoodHits + second.ngoodHits; }
//returns the number of out of bounds hits
int noutBoundsHits() const { return first.noutBounds + second.noutBounds; }
/** returns the total number of eta hits on track in the chamber */
int netaHits() const { return isMdt() ? nhits() : first.nhits; }
......
......@@ -99,6 +99,7 @@ enum SummaryType {
numberOfTgcEtaHoles =26, //! number of TGC Eta measurements missing from the track
numberOfTgcPhiHoles =27, //! number of TGC Phi measurements missing from the track
numberOfCscUnspoiltEtaHits =45, //! number of unspoilt CSC eta measurements (all CSC phi measurements are by definition spoilt). See Muon::CscClusterStatus for definitions of 'spoiled' hits.
numberOfGoodMdtHits =66, //!number of non-deweighted MDT hits. Only here as a placeholder, will be filled only on xAOD::Muon
// --- all
numberOfOutliersOnTrack =15, //!< number of measurements flaged as outliers in TSOS
standardDeviationOfChi2OS = 30, //!< 100 times the standard deviation of the chi2 from the surfaces
......@@ -112,7 +113,7 @@ enum SummaryType {
pixeldEdx_res = 51, //!< the dE/dx estimate, calculated using the pixel clusters [?]
// -- numbers...
numberOfTrackSummaryTypes = 66
numberOfTrackSummaryTypes = 67
};
// Troels.Petersen@cern.ch:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment