37 def printLarCondObject(self, obj):
39
40 if -1!=t.find("LArRampP"):
41 obj_str = ""
42 for obj_i in obj.m_vRamp:
43 obj_str = obj_str+str(obj_i)+' '
44 print(
"ramp = ", obj_str)
45
46
47 elif -1!=t.find("LArShapeP"):
48 obj_str = ""
49 for obj_i in obj.m_vShape :
50 obj_str = obj_str+str(obj_i)+' '
51 print(
"LArShape = ", obj_str)
52 obj_str = ""
53 for obj_i in obj.m_vShapeDer :
54 obj_str = obj_str+str(obj_i)+' '
55 print(
"LArShapeDer = ", obj_str)
56
57 elif -1!=t.find("LArPedestalP"):
58 obj_str = ""
59 for obj_i in obj.m_vPedestal:
60 obj_str = obj_str+str(obj_i)+' '
61 print(
"Pedestal = ", obj_str)
62
63 obj_str = ""
64 for obj_i in obj.m_vPedestalRMS:
65 obj_str = obj_str+str(obj_i)+' '
66 print(
"PedestalRMS = ", obj_str)
67
68 elif -1!=t.find("LArAutoCorrP"):
69 obj_str = ""
70 for obj_i in obj.m_vAutoCorr:
71 obj_str = obj_str+str(obj_i)+' '
72 print(
"AutoCorr = ", obj_str)
73
74 elif -1!=t.find("LArDAC2uAP"):
75 obj_str = ""
76 print(
"DAC2uA = ", obj.m_DAC2uA)
77
78 elif -1!=t.find("LArfSamplP"):
79 obj_str = ""
80 print(
"fSampl = ", obj.m_fSampl)
81
82 elif -1!=t.find("LAruA2MeVP"):
83 print(
"uA2MeV = ", obj.m_uA2MeV)
84
85 elif -1!=t.find("LArNoiseP") :
86 print(
"Noise = ", obj.m_Noise)
87
88 elif -1!=t.find("LArMinBiasP") :
89 print(
"MinBias = ", obj.m_MinBiasRMS)
90
91 elif -1!=t.find("LArMphysOverMcalP") :
92 print(
"MphysOverMcal = ", obj.m_MphysOverMcal)
93
94 elif -1!=t.find("LArOFCP") :
95 delay=0
96 for obj_i in obj.m_vOFC_a:
97 print(
" delay=",delay)
98
99 obj_str = ""
100 for obj_j in obj_i:
101 obj_str = obj_str + str(obj_j) + ' '
102 print(
" OFC_a = ", obj_str)
103
104 obj_str = ""
105 for obj_j in obj.m_vOFC_b[delay]:
106 obj_str = obj_str + str(obj_j) + ' '
107 print(
" OFC_b = ", obj_str)
108 delay +=1
109
110
111 elif -1!=t.find("LArCaliWaveVec") :
112 for wave in obj:
113 print(
" DAC_0 = ", wave.getDAC(),
" Dt=", wave.getDt())
114
115 obj_str = ""
116 i = 0
117 for obj_i in wave.getWave():
118 obj_str = obj_str + str(i) + ' ' + str(obj_i) + ' '
119 i += 1
120 print(
" Wave = ", obj_str)
121
122