ATLAS Offline Software
Loading...
Searching...
No Matches
CscStripStatus.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// Woochun Park
15
16#ifndef MUONPREPRAWDATA_CSCSTRIPSTATUS_H
17#define MUONPREPRAWDATA_CSCSTRIPSTATUS_H
18
19#include <string>
20
21namespace Muon {
24
25 CscStrStatSuccess = 0, // succeeded parabola fit
26
27 CscStrStatParabolaFailed = 1, // parabola fit failed aa>0
28
29 CscStrStatHot = 2, // hot channel from DB.
30
31 CscStrStatDead = 3, // dead channel from DB.
32
33 CscStrStatSaturated = 4, // >4090 ADC
34
35 CscStrStatStuckBit = 5, // from DB /STAT? What kind of values in STAT?
36
37 CscStrStatNoBipolaShape = 6, // decided by chisquare with bipolar fit
38
39 CscStrStatSomethingNew = 7, // decided by chisquare with bipolar fit
40
41 // Do we need more??
42
45 };
46
48 inline std::string toString(CscStripStatus cstat) {
49 switch (cstat) {
50 case CscStrStatSuccess: return "unspoiled";
51 case CscStrStatParabolaFailed: return "parabolaFailed";
52 case CscStrStatHot: return "hotStrip";
53 case CscStrStatDead: return "deadStrip";
54 case CscStrStatSaturated: return "saturated";
55 case CscStrStatStuckBit: return "stuckbit";
56 case CscStrStatNoBipolaShape: return "nobipolarShape";
57 case CscStrStatSomethingNew: return "somethingNew";
58 case CscStrStatUndefined: return "undefined";
59 }
60 return "unknown";
61 }
62
63} // namespace Muon
64
65#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.
CscStripStatus
Enum to represent the strip status - see the specific enum values for more details.
@ CscStrStatParabolaFailed
@ CscStrStatStuckBit
@ CscStrStatDead
@ CscStrStatHot
@ CscStrStatSaturated
@ CscStrStatSomethingNew
@ CscStrStatNoBipolaShape
@ CscStrStatUndefined
Undefined, should not happen, most likely indicates a problem.
@ CscStrStatSuccess