Belle II Software  release-06-02-00
constants.py
1 
8 from enum import Enum
9 
10 
11 class RunTypes(Enum):
12  """Enum of possible run types"""
13 
14  beam = "beam"
15 
16  cosmic = "cosmic"
17 
18 
20  """Enum of possible software trigger modes"""
21 
22  monitor = "monitor"
23 
24  filter = "filter"
25 
26 
27 class Location(Enum):
28  """Enum of possible run locations"""
29 
30  hlt = "hlt"
31 
32  expressreco = "expressreco"
33 
34 
35 class DQMModes(Enum):
36  """Split between DQM modules that need to run on all events and on the filtered ones"""
37 
38  all_events = "all_events"
39 
40  before_filter = "before_filter"
41 
42  filtered = "filtered"
43 
44  dont_care = "dont_care"
45 
46 
47 
48 ALWAYS_SAVE_OBJECTS = ["EventMetaData", "RawFTSWs", "ROIpayload", "SoftwareTriggerResult", "SoftwareTriggerVariables",
49  "TRGSummary"]
50 
51 
52 RAWDATA_OBJECTS = [
53  "RawCDCs",
54  "RawSVDs",
55  "RawPXDs",
56  "RawTOPs",
57  "RawARICHs",
58  "RawKLMs",
59  "RawECLs",
60  "RawTRGs",
61  "ROIs",
62  "OnlineEventT0s"]
63 
64 
65 PROCESSED_OBJECTS = ['Tracks', 'TrackFitResults',
66  'SVDClusters', 'PXDClusters',
67  'CDCHits', 'TOPDigits',
68  'ARICHHits', 'ECLClusters',
69  'BKLMHit1ds', 'BKLMHit2ds',
70  'EKLMHit2ds', 'SoftwareTriggerResult']
71 
72 
73 HLT_INPUT_OBJECTS = RAWDATA_OBJECTS + ["EventMetaData", "RawFTSWs"]
74 HLT_INPUT_OBJECTS.remove("ROIs")
75 
76 
77 EXPRESSRECO_INPUT_OBJECTS = RAWDATA_OBJECTS + ALWAYS_SAVE_OBJECTS
78 
79 # Detectors to be included in hlt
80 DEFAULT_HLT_COMPONENTS = ["CDC", "SVD", "ECL", "TOP", "ARICH", "KLM", "TRG"]
81 
82 # Detectors to be included in expressreco
83 DEFAULT_EXPRESSRECO_COMPONENTS = DEFAULT_HLT_COMPONENTS + ["PXD"]
84 
85 
86 DEFAULT_DB_FILE_LOCATION = "/cvmfs/basf2.daqnet.kek.jp/conditions"