ATLAS Offline Software
CscTimeStatus.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 // CscTimeStatus.h
7 // Header file for class CscTimeStatus
9 // (c) ATLAS Detector software
11 // Class to implement CscTimeStatus for Muon - CSC
12 // Different from CscClusterStatus dedicated to position measurement flag
14 // Woochun Park
16 
17 #ifndef MUONPREPRAWDATA_CSCTIMESTATUS_H
18 #define MUONPREPRAWDATA_CSCTIMESTATUS_H
19 
20 #include <string>
21 
22 namespace Muon {
25 
28 
31 
34 
37 
40  };
41 
43  inline std::string toString(CscTimeStatus cstat) {
44  switch ( cstat ) {
45  case CscTimeSuccess: return "timeSuccess";
46  case CscTimeEarly: return "timeEarly";
47  case CscTimeLate: return "timeLate";
48  case CscTimeUnavailable: return "timeUnavailable";
49  case CscTimeStatusUndefined: return "timeStatusUndefined";
50  }
51  return "unknown";
52  }
53 
54 }
55 
56 #endif
Muon::CscTimeUnavailable
@ CscTimeUnavailable
Time information is not available due to dead/noise/stuck bit channels.
Definition: CscTimeStatus.h:36
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::CscTimeLate
@ CscTimeLate
Not successful time measurement but samples indicates late time above 200ns in RAW time.
Definition: CscTimeStatus.h:33
Muon::toString
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.
Definition: CscStripStatus.h:48
Muon::CscTimeSuccess
@ CscTimeSuccess
Time measurement is successful to use.
Definition: CscTimeStatus.h:27
Muon::CscTimeStatusUndefined
@ CscTimeStatusUndefined
Time is not assessed indicating potential bug.
Definition: CscTimeStatus.h:39
Muon::CscTimeEarly
@ CscTimeEarly
Not successful time measurement but samples indicates early time below -50ns in RAW time.
Definition: CscTimeStatus.h:30
Muon::CscTimeStatus
CscTimeStatus
Enum to represent the cluster time measurement status - see the specific enum values for more details...
Definition: CscTimeStatus.h:24