1 package org.lcsim.detector.tracker.silicon;
2
3 import org.lcsim.detector.DetectorElement;
4 import org.lcsim.detector.IDetectorElement;
5
6
7
8
9
10
11
12
13 public class SiTrackerModule extends DetectorElement
14 {
15 private int moduleId;
16
17 public SiTrackerModule(String name,
18 IDetectorElement parent,
19 String path,
20 int moduleId)
21 {
22 super(name, parent, path);
23 this.moduleId = moduleId;
24 }
25
26 public int getModuleId()
27 {
28 return moduleId;
29 }
30
31 public boolean isDoubleSided()
32 {
33 return this.findDescendants(SiSensor.class).size() == 2;
34 }
35 }