AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTrackerDataSourceTypes.h
Go to the documentation of this file.
1 #ifndef ALIMUONTRACKERDATASOURCETYPES_H
2 #define ALIMUONTRACKERDATASOURCETYPES_H
3 
4 #ifndef ROOT_TObject
5 # include "TObject.h"
6 #endif
7 
14 
15 class AliMUONTrackerDataSourceTypes : public TObject
16 {
17 public:
18 
19  static const char* ShortNameForCapacitances() { return "CAPA"; }
20  static const char* AliasesForCapacitances() { return "CAPA CAPACITANCE Capacitances"; }
21 
22  static const char* ShortNameForConfig() { return "CONF"; }
23  static const char* AliasesForConfig() { return "CONF CONFIG Configuration"; }
24 
25  static const char* ShortNameForGains() { return "GAIN"; }
26  static const char* AliasesForGains() { return "GAIN Gains"; }
27 
28  static const char* ShortNameForHV() { return "HV"; }
29  static const char* AliasesForHV() { return "HV"; }
30 
31  static const char* ShortNameForOccupancy() { return "OCC"; }
32  static const char* AliasesForOccupancy() { return "OCC Occupancy"; }
33 
34  static const char* ShortNameForPedestals() { return "PED"; }
35  static const char* AliasesForPedestals() { return "PED PEDESTAL Pedestals"; }
36 
37  static const char* ShortNameForRejectList() { return "RL"; }
38  static const char* AliasesForRejectList() { return "RL RejectList"; }
39 
40  static const char* ShortNameForStatus() { return "STAT"; }
41  static const char* AliasesForStatus() { return "STAT Status"; }
42 
43  static const char* ShortNameForStatusMap() { return "STATMAP"; }
44  static const char* AliasesForStatusMap() { return "STATMAP StatusMap"; }
45 
46  static Bool_t IsCapacitances(const char* type);
47  static Bool_t IsConfig(const char* type);
48  static Bool_t IsGains(const char* type);
49  static Bool_t IsHV(const char* type);
50  static Bool_t IsOccupancy(const char* type);
51  static Bool_t IsPedestals(const char* type);
52  static Bool_t IsRejectList(const char* type);
53  static Bool_t IsStatus(const char* type);
54  static Bool_t IsStatusMap(const char* type);
55 
56 private:
57 
58  static Bool_t IsInAliasList(const char* type, const char* aliases);
59 
63 };
64 
65 #endif
static Bool_t IsOccupancy(const char *type)
Whether type is of Occupancy flavour.
static Bool_t IsPedestals(const char *type)
Whether type is of Pedestals flavour.
static Bool_t IsConfig(const char *type)
Whether type is of Configuration flavour.
Short names and aliases for data source types recognized by AliMUONTrackerData related classes...
static Bool_t IsStatusMap(const char *type)
Whether type is of StatusMap flavour.
static Bool_t IsCapacitances(const char *type)
Whether type is of Capacitance flavour.
static Bool_t IsGains(const char *type)
Whether type is of Gains flavour.
static Bool_t IsRejectList(const char *type)
Whether type is of RejectList flavour.
static Bool_t IsStatus(const char *type)
Whether type is of Status flavour.
static Bool_t IsInAliasList(const char *type, const char *aliases)
Whether type is within the aliases list.
static Bool_t IsHV(const char *type)
Whether type is of HV flavour.