class to debug clusterizer
Definition at line 40 of file SVDClustersDebug.py.
◆ event()
event
Definition at line 51 of file SVDClustersDebug.py.
63 if(str(d.getSensorID()) ==
"4.5.2"):
68 if(str(d.getSensorID()) ==
"4.5.2"):
72 self.fb2u.Fill(nCl3, nCl5)
78 print(
"different number of clusters in event " + str(evt.getEvent()) +
79 "! ZS3 = " + str(nCl3) +
", ZS5 = " + str(nCl5) +
" ")
93 for d3
in clustersZS3:
94 if(str(d3.getSensorID()) ==
"4.5.2"):
97 for d5
in clustersZS5:
98 if(str(d5.getSensorID()) ==
"4.5.2"):
100 if(d5.getSeedCharge() == d3.getSeedCharge()):
103 print(
" ONLY ZS3: seed charge = " + str(d3.getSeedCharge()) +
", size = " + str(d3.getSize()) +
104 ", position = " + str(d3.getPosition()) +
", charge = " + str(d3.getCharge()) +
" ")
105 reco = d3.getRelationsTo(reco3)
108 charge = r.getCharge()
109 noise = noisePayload.getNoiseInElectrons(r.getSensorID(),
True, r.getCellID())
110 print(
" SNR = " + str(charge / noise) +
", charge = " + str(charge) +
", noise = " + str(noise))
◆ initialize()
◆ terminate()
The documentation for this class was generated from the following file: