ATLAS Offline Software
Loading...
Searching...
No Matches
CscClusterStatus.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// CscClusterStatus.h
7// Header file for class CscClusterStatus
9// (c) ATLAS Detector software
11// Class to implement ClusterStatus for Muon - CSC
13// Niels van Eldik
15
16#ifndef MUONPREPRAWDATA_CSCCLUSTERSTATUS_H
17#define MUONPREPRAWDATA_CSCCLUSTERSTATUS_H
18
19#include <string>
20
21namespace Muon {
24
27
30
31 // Spoiled cluster list, it should be handled with care in reconstruction
32
35
38
41
44
47
50
51 // Parabola interpolation failed in peak strip
52 // OR either left or right strip is hot or dead
54
55 // any of left/peak/right strip is saturated...
57
60
64
65 // Spoiled cluster list, it should be handled with care in reconstruction
66
69
72
75
78
81
85
86 // Parabola interpolation failed in peak strip
87 // OR either left or right strip is hot or dead
89
90 // any of left/peak/right strip is saturated...
92
95 };
96
98 inline std::string toString(CscClusterStatus cstat) {
99 switch ( cstat ) {
100 case CscStatusUnspoiled: return "unspoiled";
101 case CscStatusSimple: return "simple";
102 case CscStatusEdge: return "edge";
103 case CscStatusMultiPeak: return "multiple peaks";
104 case CscStatusNarrow: return "narrow";
105 case CscStatusWide: return "wide";
106 case CscStatusSkewed: return "skewed";
107 case CscStatusQratInconsistent: return "inconsistent QRAT fits";
108 case CscStatusStripFitFailed: return "stripfit failed";
109 case CscStatusSaturated: return "saturated";
110
111 case CscStatusSplitUnspoiled: return "unspoiled with split";
112 case CscStatusSplitSimple: return "simple with split";
113 case CscStatusSplitEdge: return "edge with split";
114 case CscStatusSplitMultiPeak: return "multiple peaks with split";
115 case CscStatusSplitNarrow: return "narrow with split";
116 case CscStatusSplitWide: return "wide with split";
117 case CscStatusSplitSkewed: return "skewed with split";
118 case CscStatusSplitQratInconsistent: return "inconsistent QRAT fits with split";
119 case CscStatusSplitStripFitFailed: return "stripfit failed with split";
120 case CscStatusSplitSaturated: return "saturated with split";
121 case CscStatusUndefined: return "undefined";
122 }
123 return "unknown";
124 }
125
126}
127
128#endif
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.
CscClusterStatus
Enum to represent the cluster status - see the specific enum values for more details.
@ CscStatusUnspoiled
Clean cluster with precision fit.
@ CscStatusSimple
Cluster with non-precision fit.
@ CscStatusStripFitFailed
@ CscStatusSplitQratInconsistent
Positions from Qrat_left and Qrat_right is not consistent after split cluster.
@ CscStatusUndefined
Undefined, should not happen, most likely indicates a problem.
@ CscStatusSplitStripFitFailed
@ CscStatusSkewed
Skewed, e.g.
@ CscStatusSplitUnspoiled
Clean cluster with precision fit after split cluster.
@ CscStatusEdge
Cluster reaches the edge of plane.
@ CscStatusWide
Too wide.
@ CscStatusSplitWide
Too wide.
@ CscStatusSplitEdge
Cluster reaches the edge of plane after split cluster.
@ CscStatusSplitSaturated
@ CscStatusSplitSimple
Cluster with non-precision fit after split cluster.
@ CscStatusMultiPeak
More than one peak in cluster.
@ CscStatusSplitSkewed
Skewed, e.g.
@ CscStatusSaturated
@ CscStatusSplitNarrow
Too narrow after split cluster.
@ CscStatusSplitMultiPeak
More than one peak in cluster after split cluster.
@ CscStatusQratInconsistent
Positions from Qrat_left and Qrat_right is not consistent.
@ CscStatusNarrow
Too narrow.