-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
354 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import {Object3D} from "three"; | ||
|
||
/** | ||
* Subdetector describes one of the main detectors like "TOF" or "Some Calorimeter" providing | ||
* convenient interface to its geometry and some additional data not solely covered by three.js geometry | ||
*/ | ||
export interface Subdetector { | ||
|
||
/** If available, the original geometry component, that was used for this subdetector, like ROOT geometry or GLTF */ | ||
sourceGeometry: any | null; | ||
|
||
/** If available, a name of a node/part of source geometry that is responsible for this class */ | ||
sourceGeometryName: string; | ||
|
||
/** ThreeJS geometry of the subdetector */ | ||
geometry: Object3D; | ||
|
||
/** Name of the detector (may differ from geometry node name) */ | ||
name: string; | ||
|
||
/** The name of the detectors group. Might be in */ | ||
groupName: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.