ATLAS Offline Software
Loading...
Searching...
No Matches
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
22namespace Muon {
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
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.
CscTimeStatus
Enum to represent the cluster time measurement status - see the specific enum values for more details...
@ CscTimeSuccess
Time measurement is successful to use.
@ CscTimeStatusUndefined
Time is not assessed indicating potential bug.
@ CscTimeEarly
Not successful time measurement but samples indicates early time below -50ns in RAW time.
@ CscTimeLate
Not successful time measurement but samples indicates late time above 200ns in RAW time.
@ CscTimeUnavailable
Time information is not available due to dead/noise/stuck bit channels.