SND@LHC Software
Loading...
Searching...
No Matches
shipPid.Task Class Reference

Public Member Functions

 __init__ (self, main)
 
 execute (self)
 
 HcalHits (self)
 make particles persistent ##
 
 muonDigitHit (self)
 
 PID (self)
 
 muon_ID (self)
 
 run_muon_ID (self)
 
 elec_ID (self)
 
 run_elec_ID (self)
 
 hcal_ID (self)
 
 run_hcal_ID (self)
 

Public Attributes

 sTree
 
 fpidArray
 
 pID
 
 reps
 
 states
 
 newPosDir
 
 PDG
 
 z_start
 
 zpositions
 
 parallelToZ
 
 hcal
 
 pad_size_x
 
 pad_size_y
 
 dimensions_x
 
 dimensions_y
 
 rx
 
 ry
 
 muly_acceptance
 
 ncells_x
 
 ncells_y
 
 threshold_pad_energy
 
 Ecal_dx
 
 Ecal_dy
 
 Ecal_EP_threshold_min
 
 Ecal_EP_threshold_max
 
 Hit_number_threshold
 
 hitlimit_x
 
 hitlimit_y
 
 cutNdf
 
 P_min00
 
 P_max00
 
 dx00_min
 
 dx00_max
 
 dy00_min
 
 dy00_max
 
 P_min01
 
 P_max01
 
 dx01_min
 
 dx01_max
 
 dy01_min
 
 dy01_max
 
 P_min02
 
 P_max02
 
 dx02_min
 
 dx02_max
 
 dy02_min
 
 dy02_max
 
 P_min03
 
 P_max03
 
 dx03_min
 
 dx03_max
 
 dy03_min
 
 dy03_max
 
 P_min10
 
 P_max10
 
 dx10_min
 
 dx10_max
 
 dy10_min
 
 dy10_max
 
 P_min11
 
 P_max11
 
 dx11_min
 
 dx11_max
 
 dy11_min
 
 dy11_max
 
 P_min12
 
 P_max12
 
 dx12_min
 
 dx12_max
 
 dy12_min
 
 dy12_max
 
 P_min13
 
 P_max13
 
 dx13_min
 
 dx13_max
 
 dy13_min
 
 dy13_max
 
 P_min20
 
 P_max20
 
 dx20_min
 
 dx20_max
 
 dy20_min
 
 dy20_max
 
 P_min21
 
 P_max21
 
 dx21_min
 
 dx21_max
 
 dy21_min
 
 dy21_max
 
 P_min22
 
 P_max22
 
 dx22_min
 
 dx22_max
 
 dy22_min
 
 dy22_max
 
 P_min30
 
 P_max30
 
 dx30_min
 
 dx30_max
 
 dy30_min
 
 dy30_max
 
 P_min31
 
 P_max31
 
 dx31_min
 
 dx31_max
 
 dy31_min
 
 dy31_max
 
 det
 
 pos_pad_x0
 
 pos_pad_y0
 
 extrap_X_mu1
 
 extrap_Y_mu1
 
 pos_pad_x1
 
 pos_pad_y1
 
 pos_pad_x2
 
 pos_pad_y2
 
 pos_pad_x3
 
 pid00
 
 pid01
 
 pid02
 
 pid03
 
 extrap_X_ecal
 
 extrap_Y_ecal
 
 El
 
 vol_ecal
 
 extrap_X_hcal
 
 E_tot_h1
 
 E_tot_h2
 

Static Public Attributes

 hcal1
 hcalPoint hits ##

 
 hcal2
 
 new_hcal2
 
 detID = chit.GetDetectorID()
 
 x = ctypes.c_float()
 
 y = ctypes.c_float()
 
 section = ctypes.c_int()
 
 ELoss = chit.GetEnergyLoss()/u.MeV
 
 list1
 merging muonPoint hits inside each pad ##
 
 list2
 
 new_list2
 
int mul = 0
 
 X_hit_pos0 = ahit.GetX()+self.dimensions_x
 print 'mu0 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()
 
 Y_hit_pos0 = ahit.GetY()+self.dimensions_y
 
int pos_hit_x0 = m.floor(X_hit_pos0/self.pad_size_x)+1
 
int pos_hit_y0 = m.floor(Y_hit_pos0/self.pad_size_y)+1
 
 E = ahit.GetEnergyLoss()/u.MeV
 
int mul1 = 1
 
 X_hit_pos1 = ahit.GetX()+self.dimensions_x
 print 'mu1 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()
 
 Y_hit_pos1 = ahit.GetY()+self.dimensions_y
 
int pos_hit_x1 = m.floor(X_hit_pos1/self.pad_size_x)+1
 
int pos_hit_y1 = m.floor(Y_hit_pos1/self.pad_size_y)+1
 
 E1 = ahit.GetEnergyLoss()/u.MeV
 
int mul2 = 2
 
 X_hit_pos2 = ahit.GetX()+self.dimensions_x
 print 'mu2 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()
 
 Y_hit_pos2 = ahit.GetY()+self.dimensions_y
 
int pos_hit_x2 = m.floor(X_hit_pos2/self.pad_size_x)+1
 
int pos_hit_y2 = m.floor(Y_hit_pos2/self.pad_size_y)+1
 
 E2 = ahit.GetEnergyLoss()/u.MeV
 
int mul3 = 3
 
 X_hit_pos3 = ahit.GetX()+self.dimensions_x
 print 'mu3 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()
 
 Y_hit_pos3 = ahit.GetY()+self.dimensions_y
 
int pos_hit_x3 = m.floor(X_hit_pos3/self.pad_size_x)+1
 
int pos_hit_y3 = m.floor(Y_hit_pos3/self.pad_size_y)+1
 
 E3 = ahit.GetEnergyLoss()/u.MeV
 
 EE
 
 E_tot
 
 mull
 
 xx
 
 yy
 
 mulll
 
 ppid = self.fpidArray
 extrapolation and pid check ##
 
int i = -1
 
 OverHit
 
 pid13
 
 pid31
 
 pid_mu
 
 vol_hcal
 
 pos_pad_y3
 
 extrap_Y_hcal
 
 P
 
 fst = fT.getFitStatus()
 
 pidObject = ROOT.pid()
 
 nPID = ppid.GetEntries()
 
 fittedState = fT.getFittedState()
 
 extrapStates
 
 rc
 
 pos
 
 mom
 
 Hl
 
 delta_x1 = X-self.pos_pad_x1
 
 delta_y1 = Y-self.pos_pad_y1
 
 pid10
 
 pid11
 
 pid12
 
 delta_x2 = X-self.pos_pad_x2
 
 delta_y2 = Y-self.pos_pad_y2
 
 pid20
 
 pid21
 
 pid22
 
 delta_x3 = X-self.pos_pad_x3
 
 delta_y3 = Y-self.pos_pad_y3
 
 pid30
 
 chmu1 = m.fabs((22.67-self.E_tot_h1)/22.67)
 
 chmu2 = m.fabs((55.75-self.E_tot_h2)/55.75)
 
tuple check_vol_mu1 = (m.pow(self.extrap_X_mu1,2)/m.pow(self.rx,2))+(m.pow(self.extrap_Y_mu1,2)/m.pow(self.ry,2))
 
 vol_mu1
 

Detailed Description

Definition at line 12 of file shipPid.py.

Constructor & Destructor Documentation

◆ __init__()

shipPid.Task.__init__ (   self,
  main 
)

Definition at line 15 of file shipPid.py.

15 def __init__(self,main):
16 print("****************************************")
17 print("*** You are using PID version 18.1.0 ***")
18 print("****************************************")
19 self.sTree = main.sTree
20 self.fpidArray = ROOT.TClonesArray("pid")
21 if not self.sTree.GetBranch("pid"):
22 self.pID = self.sTree.Branch("Pid", self.fpidArray,32000,-1)
23 else:
24 self.pID = self.sTree.pid
25 self.reps,self.states,self.newPosDir = {},{},{}
26 self.PDG = ROOT.TDatabasePDG.Instance()
27 fGeo = ROOT.gGeoManager
28 top = fGeo.GetTopVolume()
29 dv = top.GetNode('DecayVolume_1')
30 ns = dv.GetNodes()
31 T1Lid = ns.FindObject("T1Lid_1").GetMatrix()
32 self.z_start = T1Lid.GetTranslation()[2]
33 self.zpositions = {}
34 self.parallelToZ = ROOT.TVector3(0., 0., 1.)
35 hadron = top.GetNode("Hcal_1")
36 hvol = hadron.GetVolume()
37 self.zpositions['hcal'] = hadron.GetMatrix().GetTranslation()[2]
38 ecal = top.GetNode("Ecal_1")
39 evol = ecal.GetVolume()
40 self.zpositions['ecal'] = ecal.GetMatrix().GetTranslation()[2]
41 x = sys.modules['__main__']
42 ShipGeo = x.ShipGeo
43 for i in range(4):
44 muonDet = top.GetNode('MuonDetector_'+str(i+1))
45 if muonDet: self.zpositions['muon'+str(i)] = muonDet.GetMatrix().GetTranslation()[2]
46 else: self.zpositions['muon'+str(i)] = ShipGeo['MuonStation'+str(i)].z
47 self.hcal = sys.modules['__main__']. modules['Hcal']
48 self.pad_size_x = 5 #cm
49 self.pad_size_y = 5 #cm
50 self.dimensions_x = 300 #cm half witdth
51 self.dimensions_y = 600 #cm half witdth
52 self.rx=250
53 self.ry=500
54 self.muly_acceptance = 50.0
55 self.ncells_x=m.floor((2*self.dimensions_x)/self.pad_size_x)
56 self.ncells_y=m.floor((2*self.dimensions_y)/self.pad_size_y)
57 self.threshold_pad_energy = 0.2
58 self.Ecal_dx = 15 #cm
59 self.Ecal_dy = 15 #cm
60 self.Ecal_EP_threshold_min = 0.92 #acceptence region for E over P in Ecal > self.Ecal_EP_threshold_min
61 self.Ecal_EP_threshold_max = 10
62 self.Hit_number_threshold=3 #number of pad-hits around the extrapolated tracks in MuonDet
63 self.hitlimit_x,self.hitlimit_y=5,5 #x-y area to check the number of pad-hits
64 self.cutNdf = 25
65
66 self.P_min00,self.P_max00,self.dx00_min,self.dx00_max,self.dy00_min,self.dy00_max=-99,-99,-99,-99,-99,-99
67 self.P_min01,self.P_max01,self.dx01_min,self.dx01_max,self.dy01_min,self.dy01_max=-99,-99,-99,-99,-99,-99
68 self.P_min02,self.P_max02,self.dx02_min,self.dx02_max,self.dy02_min,self.dy02_max=-99,-99,-99,-99,-99,-99
69 self.P_min03,self.P_max03,self.dx03_min,self.dx03_max,self.dy03_min,self.dy03_max=-99,-99,-99,-99,-99,-99
70
71 self.P_min10,self.P_max10,self.dx10_min,self.dx10_max,self.dy10_min,self.dy10_max= 0, 8, -5, 5, -5, 5
72 self.P_min11,self.P_max11,self.dx11_min,self.dx11_max,self.dy11_min,self.dy11_max=-99,-99,-99,-99,-99,-99
73 self.P_min12,self.P_max12,self.dx12_min,self.dx12_max,self.dy12_min,self.dy12_max=-99,-99,-99,-99,-99,-99
74 self.P_min13,self.P_max13,self.dx13_min,self.dx13_max,self.dy13_min,self.dy13_max=-99,-99,-99,-99,-99,-99
75
76 self.P_min20,self.P_max20,self.dx20_min,self.dx20_max,self.dy20_min,self.dy20_max= 8, 13, -5, 5, -5, 5
77 self.P_min21,self.P_max21,self.dx21_min,self.dx21_max,self.dy21_min,self.dy21_max= 13, 20, -3, 3, -3, 3
78 self.P_min22,self.P_max22,self.dx22_min,self.dx22_max,self.dy22_min,self.dy22_max=-99,-99,-99,-99,-99,-99
79
80 self.P_min30,self.P_max30,self.dx30_min,self.dx30_max,self.dy30_min,self.dy30_max= 20,999, -4, 4, -4, 4
81 self.P_min31,self.P_max31,self.dx31_min,self.dx31_max,self.dy31_min,self.dy31_max=-99,-99,-99,-99,-99,-99
82

Member Function Documentation

◆ elec_ID()

shipPid.Task.elec_ID (   self)

Definition at line 324 of file shipPid.py.

324 def elec_ID(self):
325 if self.det == 'ecal':
326 self.extrap_X_ecal = self.extrapStates[self.det][0]
327 self.extrap_Y_ecal = self.extrapStates[self.det][1]
328 extrap_Z_ecal = self.extrapStates[self.det][2]
329

◆ execute()

shipPid.Task.execute (   self)

Definition at line 83 of file shipPid.py.

83 def execute(self):

◆ hcal_ID()

shipPid.Task.hcal_ID (   self)

Definition at line 343 of file shipPid.py.

343 def hcal_ID(self):
344 if self.det == 'hcal':
345 self.extrap_X_hcal = self.extrapStates[self.det][0]
346 self.extrap_Y_hcal = self.extrapStates[self.det][1]
347 extrap_Z_hcal = self.extrapStates[self.det][2]
348

◆ HcalHits()

shipPid.Task.HcalHits (   self)

make particles persistent ##

Definition at line 88 of file shipPid.py.

88 def HcalHits(self):

◆ muon_ID()

shipPid.Task.muon_ID (   self)

Definition at line 236 of file shipPid.py.

236 def muon_ID(self):
237 if self.det == 'muon0':
238 extrap_X_mu0 = self.extrapStates[self.det][0]
239 extrap_Y_mu0 = self.extrapStates[self.det][1]
240 extrap_Z_mu0 = self.extrapStates[self.det][2]
241 X_pos0=extrap_X_mu0+self.dimensions_x
242 Y_pos0=extrap_Y_mu0+self.dimensions_y
243 self.pos_pad_x0=m.floor(X_pos0/self.pad_size_x)+1
244 self.pos_pad_y0=m.floor(Y_pos0/self.pad_size_y)+1
245 if self.det == 'muon1':
246 self.extrap_X_mu1 = self.extrapStates[self.det][0]
247 self.extrap_Y_mu1 = self.extrapStates[self.det][1]
248 extrap_Z_mu1 = self.extrapStates[self.det][2]
249 X_pos1=self.extrap_X_mu1+self.dimensions_x
250 Y_pos1=self.extrap_Y_mu1+self.dimensions_y
251 self.pos_pad_x1=m.floor(X_pos1/self.pad_size_x)+1
252 self.pos_pad_y1=m.floor(Y_pos1/self.pad_size_y)+1
253 if self.det == 'muon2':
254 extrap_X_mu2 = self.extrapStates[self.det][0]
255 extrap_Y_mu2 = self.extrapStates[self.det][1]
256 extrap_Z_mu2 = self.extrapStates[self.det][2]
257 X_pos2=extrap_X_mu2+self.dimensions_x
258 Y_pos2=extrap_Y_mu2+self.dimensions_y
259 self.pos_pad_x2=m.floor(X_pos2/self.pad_size_x)+1
260 self.pos_pad_y2=m.floor(Y_pos2/self.pad_size_y)+1
261 if self.det == 'muon3':
262 extrap_X_mu3 = self.extrapStates[self.det][0]
263 extrap_Y_mu3 = self.extrapStates[self.det][1]
264 extrap_Z_mu3 = self.extrapStates[self.det][2]
265 X_pos3=extrap_X_mu3+self.dimensions_x
266 Y_pos3=extrap_Y_mu3+self.dimensions_y
267 self.pos_pad_x3=m.floor(X_pos3/self.pad_size_x)+1
268 self.pos_pad_y3=m.floor(Y_pos3/self.pad_size_y)+1
269

◆ muonDigitHit()

shipPid.Task.muonDigitHit (   self)

Definition at line 104 of file shipPid.py.

104 def muonDigitHit(self):

◆ PID()

shipPid.Task.PID (   self)

Definition at line 172 of file shipPid.py.

172 def PID(self):

◆ run_elec_ID()

shipPid.Task.run_elec_ID (   self)

Definition at line 330 of file shipPid.py.

330 def run_elec_ID(self):
331 for aClus in self.sTree.EcalReconstructed:
332 x1_Clus, y1_Clus, Ene1_Clus = aClus.X(), aClus.Y(), aClus.RecoE()
333 Ecal_delta_x=x1_Clus - self.extrap_X_ecal
334 Ecal_delta_y=y1_Clus - self.extrap_Y_ecal
335 EP=Ene1_Clus/self.P
336 if (EP>self.Ecal_EP_threshold_min and EP<self.Ecal_EP_threshold_max) and m.fabs(Ecal_delta_x)<self.Ecal_dx and m.fabs(Ecal_delta_y)<self.Ecal_dy:
337 self.El=True
338 if self.pid10==False and self.pid20==False and self.pid21==False and self.pid30==False and self.El==False and self.pid_mu==False: self.Hl=True
339 check_vol_ecal=(m.pow(self.extrap_X_ecal,2)/m.pow(self.rx,2))+(m.pow(self.extrap_Y_ecal,2)/m.pow(self.ry,2))
340 if check_vol_ecal>1:
341 self.vol_ecal=True
342

◆ run_hcal_ID()

shipPid.Task.run_hcal_ID (   self)

Definition at line 349 of file shipPid.py.

349 def run_hcal_ID(self):
350 N1,N2,M,E_est,E_totale=0,0,0,0.,0.
351 self.E_tot_h1,self.E_tot_h2,self.E_tot=0.,0.,0.
352 for i in range(len(self.hcal1)):
353 x,y,s,E= self.hcal1[i][0], self.hcal1[i][1], self.hcal1[i][2], self.hcal1[i][3]
354 delta_x = x-self.extrap_X_hcal
355 delta_y = y-self.extrap_Y_hcal
356 if (m.pow(delta_x,2)+m.pow(delta_y,2))<2500 and s==0:
357 self.E_tot_h1+=E
358 if (m.pow(delta_x,2)+m.pow(delta_y,2))<2500 and s==1:
359 self.E_tot_h2+=E
360 E_totale+=E
361 self.E_tot = self.E_tot_h1+self.E_tot_h2
362 check_vol_hcal=(m.pow(self.extrap_X_hcal,2)/m.pow(self.rx,2))+(m.pow(self.extrap_Y_hcal,2)/m.pow(self.ry,2))
363 if check_vol_hcal>1:
364 self.vol_hcal=True

◆ run_muon_ID()

shipPid.Task.run_muon_ID (   self)

Definition at line 270 of file shipPid.py.

270 def run_muon_ID(self):
271 for i in range(len(self.list2)):
272 X,Y, e, Mull = self.list2[i][0], self.list2[i][1], self.list2[i][2], self.list2[i][3]
273 if Mull==0:
274 delta_x0 = X-self.pos_pad_x0
275 delta_y0 = Y-self.pos_pad_y0
276 if (self.P>self.P_min00 and self.P<self.P_max00) and (delta_x0>self.dx00_min and delta_x0<self.dx00_max) and (delta_y0>self.dy00_min and delta_y0<self.dy00_max):
277 self.pid00=True
278 if (self.P>self.P_min01 and self.P<self.P_max01) and (delta_x0>self.dx01_min and delta_x0<self.dx01_max) and (delta_y0>self.dy01_min and delta_y0<self.dy01_max):
279 self.pid01=True
280 if (self.P>self.P_min02 and self.P<self.P_max02) and (delta_x0>self.dx02_min and delta_x0<self.dx02_max) and (delta_y0>self.dy02_min and delta_y0<self.dy02_max):
281 self.pid02=True
282 if (self.P>self.P_min03 and self.P<self.P_max03) and (delta_x0>self.dx03_min and delta_x0<self.dx03_max) and (delta_y0>self.dy03_min and delta_y0<self.dy03_max):
283 self.pid03=True
284

Member Data Documentation

◆ check_vol_mu1

tuple shipPid.Task.check_vol_mu1 = (m.pow(self.extrap_X_mu1,2)/m.pow(self.rx,2))+(m.pow(self.extrap_Y_mu1,2)/m.pow(self.ry,2))
static

Definition at line 320 of file shipPid.py.

◆ chmu1

shipPid.Task.chmu1 = m.fabs((22.67-self.E_tot_h1)/22.67)
static

Definition at line 316 of file shipPid.py.

◆ chmu2

shipPid.Task.chmu2 = m.fabs((55.75-self.E_tot_h2)/55.75)
static

Definition at line 317 of file shipPid.py.

◆ cutNdf

shipPid.Task.cutNdf

Definition at line 64 of file shipPid.py.

◆ delta_x1

shipPid.Task.delta_x1 = X-self.pos_pad_x1
static

Definition at line 288 of file shipPid.py.

◆ delta_x2

shipPid.Task.delta_x2 = X-self.pos_pad_x2
static

Definition at line 299 of file shipPid.py.

◆ delta_x3

shipPid.Task.delta_x3 = X-self.pos_pad_x3
static

Definition at line 308 of file shipPid.py.

◆ delta_y1

shipPid.Task.delta_y1 = Y-self.pos_pad_y1
static

Definition at line 289 of file shipPid.py.

◆ delta_y2

shipPid.Task.delta_y2 = Y-self.pos_pad_y2
static

Definition at line 300 of file shipPid.py.

◆ delta_y3

shipPid.Task.delta_y3 = Y-self.pos_pad_y3
static

Definition at line 309 of file shipPid.py.

◆ det

shipPid.Task.det

Definition at line 237 of file shipPid.py.

◆ detID

shipPid.Task.detID = chit.GetDetectorID()
static

Definition at line 96 of file shipPid.py.

◆ dimensions_x

shipPid.Task.dimensions_x

Definition at line 50 of file shipPid.py.

◆ dimensions_y

shipPid.Task.dimensions_y

Definition at line 51 of file shipPid.py.

◆ dx00_max

shipPid.Task.dx00_max

Definition at line 66 of file shipPid.py.

◆ dx00_min

shipPid.Task.dx00_min

Definition at line 66 of file shipPid.py.

◆ dx01_max

shipPid.Task.dx01_max

Definition at line 67 of file shipPid.py.

◆ dx01_min

shipPid.Task.dx01_min

Definition at line 67 of file shipPid.py.

◆ dx02_max

shipPid.Task.dx02_max

Definition at line 68 of file shipPid.py.

◆ dx02_min

shipPid.Task.dx02_min

Definition at line 68 of file shipPid.py.

◆ dx03_max

shipPid.Task.dx03_max

Definition at line 69 of file shipPid.py.

◆ dx03_min

shipPid.Task.dx03_min

Definition at line 69 of file shipPid.py.

◆ dx10_max

shipPid.Task.dx10_max

Definition at line 71 of file shipPid.py.

◆ dx10_min

shipPid.Task.dx10_min

Definition at line 71 of file shipPid.py.

◆ dx11_max

shipPid.Task.dx11_max

Definition at line 72 of file shipPid.py.

◆ dx11_min

shipPid.Task.dx11_min

Definition at line 72 of file shipPid.py.

◆ dx12_max

shipPid.Task.dx12_max

Definition at line 73 of file shipPid.py.

◆ dx12_min

shipPid.Task.dx12_min

Definition at line 73 of file shipPid.py.

◆ dx13_max

shipPid.Task.dx13_max

Definition at line 74 of file shipPid.py.

◆ dx13_min

shipPid.Task.dx13_min

Definition at line 74 of file shipPid.py.

◆ dx20_max

shipPid.Task.dx20_max

Definition at line 76 of file shipPid.py.

◆ dx20_min

shipPid.Task.dx20_min

Definition at line 76 of file shipPid.py.

◆ dx21_max

shipPid.Task.dx21_max

Definition at line 77 of file shipPid.py.

◆ dx21_min

shipPid.Task.dx21_min

Definition at line 77 of file shipPid.py.

◆ dx22_max

shipPid.Task.dx22_max

Definition at line 78 of file shipPid.py.

◆ dx22_min

shipPid.Task.dx22_min

Definition at line 78 of file shipPid.py.

◆ dx30_max

shipPid.Task.dx30_max

Definition at line 80 of file shipPid.py.

◆ dx30_min

shipPid.Task.dx30_min

Definition at line 80 of file shipPid.py.

◆ dx31_max

shipPid.Task.dx31_max

Definition at line 81 of file shipPid.py.

◆ dx31_min

shipPid.Task.dx31_min

Definition at line 81 of file shipPid.py.

◆ dy00_max

shipPid.Task.dy00_max

Definition at line 66 of file shipPid.py.

◆ dy00_min

shipPid.Task.dy00_min

Definition at line 66 of file shipPid.py.

◆ dy01_max

shipPid.Task.dy01_max

Definition at line 67 of file shipPid.py.

◆ dy01_min

shipPid.Task.dy01_min

Definition at line 67 of file shipPid.py.

◆ dy02_max

shipPid.Task.dy02_max

Definition at line 68 of file shipPid.py.

◆ dy02_min

shipPid.Task.dy02_min

Definition at line 68 of file shipPid.py.

◆ dy03_max

shipPid.Task.dy03_max

Definition at line 69 of file shipPid.py.

◆ dy03_min

shipPid.Task.dy03_min

Definition at line 69 of file shipPid.py.

◆ dy10_max

shipPid.Task.dy10_max

Definition at line 71 of file shipPid.py.

◆ dy10_min

shipPid.Task.dy10_min

Definition at line 71 of file shipPid.py.

◆ dy11_max

shipPid.Task.dy11_max

Definition at line 72 of file shipPid.py.

◆ dy11_min

shipPid.Task.dy11_min

Definition at line 72 of file shipPid.py.

◆ dy12_max

shipPid.Task.dy12_max

Definition at line 73 of file shipPid.py.

◆ dy12_min

shipPid.Task.dy12_min

Definition at line 73 of file shipPid.py.

◆ dy13_max

shipPid.Task.dy13_max

Definition at line 74 of file shipPid.py.

◆ dy13_min

shipPid.Task.dy13_min

Definition at line 74 of file shipPid.py.

◆ dy20_max

shipPid.Task.dy20_max

Definition at line 76 of file shipPid.py.

◆ dy20_min

shipPid.Task.dy20_min

Definition at line 76 of file shipPid.py.

◆ dy21_max

shipPid.Task.dy21_max

Definition at line 77 of file shipPid.py.

◆ dy21_min

shipPid.Task.dy21_min

Definition at line 77 of file shipPid.py.

◆ dy22_max

shipPid.Task.dy22_max

Definition at line 78 of file shipPid.py.

◆ dy22_min

shipPid.Task.dy22_min

Definition at line 78 of file shipPid.py.

◆ dy30_max

shipPid.Task.dy30_max

Definition at line 80 of file shipPid.py.

◆ dy30_min

shipPid.Task.dy30_min

Definition at line 80 of file shipPid.py.

◆ dy31_max

shipPid.Task.dy31_max

Definition at line 81 of file shipPid.py.

◆ dy31_min

shipPid.Task.dy31_min

Definition at line 81 of file shipPid.py.

◆ E

shipPid.Task.E = ahit.GetEnergyLoss()/u.MeV
static

Definition at line 121 of file shipPid.py.

◆ E1

shipPid.Task.E1 = ahit.GetEnergyLoss()/u.MeV
static

Definition at line 132 of file shipPid.py.

◆ E2

shipPid.Task.E2 = ahit.GetEnergyLoss()/u.MeV
static

Definition at line 143 of file shipPid.py.

◆ E3

shipPid.Task.E3 = ahit.GetEnergyLoss()/u.MeV
static

Definition at line 154 of file shipPid.py.

◆ E_tot

shipPid.Task.E_tot
static

Definition at line 158 of file shipPid.py.

◆ E_tot_h1

shipPid.Task.E_tot_h1

Definition at line 351 of file shipPid.py.

◆ E_tot_h2

shipPid.Task.E_tot_h2

Definition at line 351 of file shipPid.py.

◆ Ecal_dx

shipPid.Task.Ecal_dx

Definition at line 58 of file shipPid.py.

◆ Ecal_dy

shipPid.Task.Ecal_dy

Definition at line 59 of file shipPid.py.

◆ Ecal_EP_threshold_max

shipPid.Task.Ecal_EP_threshold_max

Definition at line 61 of file shipPid.py.

◆ Ecal_EP_threshold_min

shipPid.Task.Ecal_EP_threshold_min

Definition at line 60 of file shipPid.py.

◆ EE

shipPid.Task.EE
static

Definition at line 158 of file shipPid.py.

◆ El

shipPid.Task.El

Definition at line 337 of file shipPid.py.

◆ ELoss

shipPid.Task.ELoss = chit.GetEnergyLoss()/u.MeV
static

Definition at line 101 of file shipPid.py.

◆ extrap_X_ecal

shipPid.Task.extrap_X_ecal

Definition at line 326 of file shipPid.py.

◆ extrap_X_hcal

shipPid.Task.extrap_X_hcal

Definition at line 345 of file shipPid.py.

◆ extrap_X_mu1

shipPid.Task.extrap_X_mu1

Definition at line 246 of file shipPid.py.

◆ extrap_Y_ecal

shipPid.Task.extrap_Y_ecal

Definition at line 327 of file shipPid.py.

◆ extrap_Y_hcal

shipPid.Task.extrap_Y_hcal
static

Definition at line 187 of file shipPid.py.

◆ extrap_Y_mu1

shipPid.Task.extrap_Y_mu1

Definition at line 247 of file shipPid.py.

◆ extrapStates

shipPid.Task.extrapStates
static

Definition at line 200 of file shipPid.py.

◆ fittedState

shipPid.Task.fittedState = fT.getFittedState()
static

Definition at line 198 of file shipPid.py.

◆ fpidArray

shipPid.Task.fpidArray

Definition at line 20 of file shipPid.py.

◆ fst

shipPid.Task.fst = fT.getFitStatus()
static

Definition at line 190 of file shipPid.py.

◆ hcal

shipPid.Task.hcal

Definition at line 47 of file shipPid.py.

◆ hcal1

shipPid.Task.hcal1
static

hcalPoint hits ##

Definition at line 90 of file shipPid.py.

◆ hcal2

shipPid.Task.hcal2
static

Definition at line 91 of file shipPid.py.

◆ Hit_number_threshold

shipPid.Task.Hit_number_threshold

Definition at line 62 of file shipPid.py.

◆ hitlimit_x

shipPid.Task.hitlimit_x

Definition at line 63 of file shipPid.py.

◆ hitlimit_y

shipPid.Task.hitlimit_y

Definition at line 63 of file shipPid.py.

◆ Hl

shipPid.Task.Hl
static

Definition at line 224 of file shipPid.py.

◆ i

int shipPid.Task.i = -1
static

Definition at line 179 of file shipPid.py.

◆ list1

shipPid.Task.list1
static

merging muonPoint hits inside each pad ##

Definition at line 106 of file shipPid.py.

◆ list2

shipPid.Task.list2
static

Definition at line 107 of file shipPid.py.

◆ mom

shipPid.Task.mom
static

Definition at line 202 of file shipPid.py.

◆ mul

int shipPid.Task.mul = 0
static

Definition at line 114 of file shipPid.py.

◆ mul1

int shipPid.Task.mul1 = 1
static

Definition at line 125 of file shipPid.py.

◆ mul2

int shipPid.Task.mul2 = 2
static

Definition at line 136 of file shipPid.py.

◆ mul3

int shipPid.Task.mul3 = 3
static

Definition at line 147 of file shipPid.py.

◆ mull

shipPid.Task.mull
static

Definition at line 159 of file shipPid.py.

◆ mulll

shipPid.Task.mulll
static

Definition at line 161 of file shipPid.py.

◆ muly_acceptance

shipPid.Task.muly_acceptance

Definition at line 54 of file shipPid.py.

◆ ncells_x

shipPid.Task.ncells_x

Definition at line 55 of file shipPid.py.

◆ ncells_y

shipPid.Task.ncells_y

Definition at line 56 of file shipPid.py.

◆ new_hcal2

shipPid.Task.new_hcal2
static

Definition at line 92 of file shipPid.py.

◆ new_list2

shipPid.Task.new_list2
static

Definition at line 108 of file shipPid.py.

◆ newPosDir

shipPid.Task.newPosDir

Definition at line 25 of file shipPid.py.

◆ nPID

shipPid.Task.nPID = ppid.GetEntries()
static

Definition at line 195 of file shipPid.py.

◆ OverHit

shipPid.Task.OverHit
static

Definition at line 181 of file shipPid.py.

◆ P

shipPid.Task.P
static

Definition at line 188 of file shipPid.py.

◆ P_max00

shipPid.Task.P_max00

Definition at line 66 of file shipPid.py.

◆ P_max01

shipPid.Task.P_max01

Definition at line 67 of file shipPid.py.

◆ P_max02

shipPid.Task.P_max02

Definition at line 68 of file shipPid.py.

◆ P_max03

shipPid.Task.P_max03

Definition at line 69 of file shipPid.py.

◆ P_max10

shipPid.Task.P_max10

Definition at line 71 of file shipPid.py.

◆ P_max11

shipPid.Task.P_max11

Definition at line 72 of file shipPid.py.

◆ P_max12

shipPid.Task.P_max12

Definition at line 73 of file shipPid.py.

◆ P_max13

shipPid.Task.P_max13

Definition at line 74 of file shipPid.py.

◆ P_max20

shipPid.Task.P_max20

Definition at line 76 of file shipPid.py.

◆ P_max21

shipPid.Task.P_max21

Definition at line 77 of file shipPid.py.

◆ P_max22

shipPid.Task.P_max22

Definition at line 78 of file shipPid.py.

◆ P_max30

shipPid.Task.P_max30

Definition at line 80 of file shipPid.py.

◆ P_max31

shipPid.Task.P_max31

Definition at line 81 of file shipPid.py.

◆ P_min00

shipPid.Task.P_min00

Definition at line 66 of file shipPid.py.

◆ P_min01

shipPid.Task.P_min01

Definition at line 67 of file shipPid.py.

◆ P_min02

shipPid.Task.P_min02

Definition at line 68 of file shipPid.py.

◆ P_min03

shipPid.Task.P_min03

Definition at line 69 of file shipPid.py.

◆ P_min10

shipPid.Task.P_min10

Definition at line 71 of file shipPid.py.

◆ P_min11

shipPid.Task.P_min11

Definition at line 72 of file shipPid.py.

◆ P_min12

shipPid.Task.P_min12

Definition at line 73 of file shipPid.py.

◆ P_min13

shipPid.Task.P_min13

Definition at line 74 of file shipPid.py.

◆ P_min20

shipPid.Task.P_min20

Definition at line 76 of file shipPid.py.

◆ P_min21

shipPid.Task.P_min21

Definition at line 77 of file shipPid.py.

◆ P_min22

shipPid.Task.P_min22

Definition at line 78 of file shipPid.py.

◆ P_min30

shipPid.Task.P_min30

Definition at line 80 of file shipPid.py.

◆ P_min31

shipPid.Task.P_min31

Definition at line 81 of file shipPid.py.

◆ pad_size_x

shipPid.Task.pad_size_x

Definition at line 48 of file shipPid.py.

◆ pad_size_y

shipPid.Task.pad_size_y

Definition at line 49 of file shipPid.py.

◆ parallelToZ

shipPid.Task.parallelToZ

Definition at line 34 of file shipPid.py.

◆ PDG

shipPid.Task.PDG

Definition at line 26 of file shipPid.py.

◆ pID

shipPid.Task.pID

Definition at line 22 of file shipPid.py.

◆ pid00

shipPid.Task.pid00

Definition at line 277 of file shipPid.py.

◆ pid01

shipPid.Task.pid01

Definition at line 279 of file shipPid.py.

◆ pid02

shipPid.Task.pid02

Definition at line 281 of file shipPid.py.

◆ pid03

shipPid.Task.pid03

Definition at line 283 of file shipPid.py.

◆ pid10

shipPid.Task.pid10
static

Definition at line 291 of file shipPid.py.

◆ pid11

shipPid.Task.pid11
static

Definition at line 293 of file shipPid.py.

◆ pid12

shipPid.Task.pid12
static

Definition at line 295 of file shipPid.py.

◆ pid13

shipPid.Task.pid13
static

Definition at line 182 of file shipPid.py.

◆ pid20

shipPid.Task.pid20
static

Definition at line 302 of file shipPid.py.

◆ pid21

shipPid.Task.pid21
static

Definition at line 304 of file shipPid.py.

◆ pid22

shipPid.Task.pid22
static

Definition at line 306 of file shipPid.py.

◆ pid30

shipPid.Task.pid30
static

Definition at line 311 of file shipPid.py.

◆ pid31

shipPid.Task.pid31
static

Definition at line 183 of file shipPid.py.

◆ pid_mu

shipPid.Task.pid_mu
static

Definition at line 184 of file shipPid.py.

◆ pidObject

shipPid.Task.pidObject = ROOT.pid()
static

Definition at line 192 of file shipPid.py.

◆ pos

shipPid.Task.pos
static

Definition at line 202 of file shipPid.py.

◆ pos_hit_x0

int shipPid.Task.pos_hit_x0 = m.floor(X_hit_pos0/self.pad_size_x)+1
static

Definition at line 118 of file shipPid.py.

◆ pos_hit_x1

int shipPid.Task.pos_hit_x1 = m.floor(X_hit_pos1/self.pad_size_x)+1
static

Definition at line 129 of file shipPid.py.

◆ pos_hit_x2

int shipPid.Task.pos_hit_x2 = m.floor(X_hit_pos2/self.pad_size_x)+1
static

Definition at line 140 of file shipPid.py.

◆ pos_hit_x3

int shipPid.Task.pos_hit_x3 = m.floor(X_hit_pos3/self.pad_size_x)+1
static

Definition at line 151 of file shipPid.py.

◆ pos_hit_y0

int shipPid.Task.pos_hit_y0 = m.floor(Y_hit_pos0/self.pad_size_y)+1
static

Definition at line 119 of file shipPid.py.

◆ pos_hit_y1

int shipPid.Task.pos_hit_y1 = m.floor(Y_hit_pos1/self.pad_size_y)+1
static

Definition at line 130 of file shipPid.py.

◆ pos_hit_y2

int shipPid.Task.pos_hit_y2 = m.floor(Y_hit_pos2/self.pad_size_y)+1
static

Definition at line 141 of file shipPid.py.

◆ pos_hit_y3

int shipPid.Task.pos_hit_y3 = m.floor(Y_hit_pos3/self.pad_size_y)+1
static

Definition at line 152 of file shipPid.py.

◆ pos_pad_x0

shipPid.Task.pos_pad_x0

Definition at line 243 of file shipPid.py.

◆ pos_pad_x1

shipPid.Task.pos_pad_x1

Definition at line 251 of file shipPid.py.

◆ pos_pad_x2

shipPid.Task.pos_pad_x2

Definition at line 259 of file shipPid.py.

◆ pos_pad_x3

shipPid.Task.pos_pad_x3

Definition at line 267 of file shipPid.py.

◆ pos_pad_y0

shipPid.Task.pos_pad_y0

Definition at line 244 of file shipPid.py.

◆ pos_pad_y1

shipPid.Task.pos_pad_y1

Definition at line 252 of file shipPid.py.

◆ pos_pad_y2

shipPid.Task.pos_pad_y2

Definition at line 260 of file shipPid.py.

◆ pos_pad_y3

shipPid.Task.pos_pad_y3
static

Definition at line 186 of file shipPid.py.

◆ ppid

shipPid.Task.ppid = self.fpidArray
static

extrapolation and pid check ##

Definition at line 177 of file shipPid.py.

◆ rc

shipPid.Task.rc
static

Definition at line 202 of file shipPid.py.

◆ reps

shipPid.Task.reps

Definition at line 25 of file shipPid.py.

◆ rx

shipPid.Task.rx

Definition at line 52 of file shipPid.py.

◆ ry

shipPid.Task.ry

Definition at line 53 of file shipPid.py.

◆ section

shipPid.Task.section = ctypes.c_int()
static

Definition at line 99 of file shipPid.py.

◆ states

shipPid.Task.states

Definition at line 25 of file shipPid.py.

◆ sTree

shipPid.Task.sTree

Definition at line 19 of file shipPid.py.

◆ threshold_pad_energy

shipPid.Task.threshold_pad_energy

Definition at line 57 of file shipPid.py.

◆ vol_ecal

shipPid.Task.vol_ecal

Definition at line 341 of file shipPid.py.

◆ vol_hcal

shipPid.Task.vol_hcal
static

Definition at line 185 of file shipPid.py.

◆ vol_mu1

shipPid.Task.vol_mu1
static

Definition at line 322 of file shipPid.py.

◆ x

shipPid.Task.x = ctypes.c_float()
static

Definition at line 97 of file shipPid.py.

◆ X_hit_pos0

shipPid.Task.X_hit_pos0 = ahit.GetX()+self.dimensions_x
static

print 'mu0 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()

Definition at line 116 of file shipPid.py.

◆ X_hit_pos1

shipPid.Task.X_hit_pos1 = ahit.GetX()+self.dimensions_x
static

print 'mu1 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()

Definition at line 127 of file shipPid.py.

◆ X_hit_pos2

shipPid.Task.X_hit_pos2 = ahit.GetX()+self.dimensions_x
static

print 'mu2 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()

Definition at line 138 of file shipPid.py.

◆ X_hit_pos3

shipPid.Task.X_hit_pos3 = ahit.GetX()+self.dimensions_x
static

print 'mu3 = ',ahit.GetX(),ahit.GetY(),ahit.GetEnergyLoss()/u.MeV,ahit.GetZ()

Definition at line 149 of file shipPid.py.

◆ xx

shipPid.Task.xx
static

Definition at line 161 of file shipPid.py.

◆ y

shipPid.Task.y = ctypes.c_float()
static

Definition at line 98 of file shipPid.py.

◆ Y_hit_pos0

shipPid.Task.Y_hit_pos0 = ahit.GetY()+self.dimensions_y
static

Definition at line 117 of file shipPid.py.

◆ Y_hit_pos1

shipPid.Task.Y_hit_pos1 = ahit.GetY()+self.dimensions_y
static

Definition at line 128 of file shipPid.py.

◆ Y_hit_pos2

shipPid.Task.Y_hit_pos2 = ahit.GetY()+self.dimensions_y
static

Definition at line 139 of file shipPid.py.

◆ Y_hit_pos3

shipPid.Task.Y_hit_pos3 = ahit.GetY()+self.dimensions_y
static

Definition at line 150 of file shipPid.py.

◆ yy

shipPid.Task.yy
static

Definition at line 161 of file shipPid.py.

◆ z_start

shipPid.Task.z_start

Definition at line 32 of file shipPid.py.

◆ zpositions

shipPid.Task.zpositions

Definition at line 33 of file shipPid.py.


The documentation for this class was generated from the following file: