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