-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create initial types of collections defined in gsoc
- Loading branch information
1 parent
6cc387c
commit 3cfbb4c
Showing
5 changed files
with
72 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export class Cluster { | ||
constructor() { | ||
// Physics properties | ||
this.type = 0; | ||
this.energy = 0; // GeV | ||
this.energyError = 0; // GeV | ||
this.position = []; // mm | ||
this.positionError = []; | ||
this.iTheta = 0; | ||
this.phi = 0; | ||
this.directionError; // mm^2 | ||
this.shapeParameters = []; | ||
this.subdetectorEnergies = []; | ||
this.clusters = []; | ||
this.hits = []; | ||
} | ||
} |
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,10 @@ | ||
export class ParticleID { | ||
constructor() { | ||
// Physics properties | ||
this.type = 0; | ||
this.pdg = 0; | ||
this.algorithmType = 0; | ||
this.likelihood = 0; | ||
this.parameters = []; | ||
} | ||
} |
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,17 @@ | ||
export class ReconstructedParticle { | ||
constructor() { | ||
// Physics properties | ||
this.pdg = 0; | ||
this.energy = 0; // GeV | ||
this.momentum = 0; // GeV | ||
this.referencePoint = 0; // mm | ||
this.charge = 0; | ||
this.mass = 0; // GeV | ||
this.goodnessOfPID = 0; | ||
this.covMatrix = []; | ||
this.startVertex = []; | ||
this.clusters = []; | ||
this.tracks = []; | ||
this.particles = []; | ||
} | ||
} |
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,15 @@ | ||
export class Track { | ||
constructor() { | ||
// Physics properties | ||
this.type = 0; | ||
this.chi2 = 0; | ||
this.ndf = 0; | ||
this.dEdx = 0; | ||
this.dEdxError = 0; | ||
this.radiusOfInnermostHit = 0; | ||
this.subdetectorHitNumbers = []; | ||
this.dxQuantities = []; | ||
this.trackerHits = []; | ||
this.tracks = []; | ||
} | ||
} |
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,13 @@ | ||
export class Vertex { | ||
constructor() { | ||
// Physics properties | ||
this.primary = 0; | ||
this.chi2 = 0; | ||
this.probability = 0; | ||
this.position = 0; // mm | ||
this.covMatrix = []; | ||
this.algorithmType = 0; | ||
this.parameters = 0; | ||
this.associatedParticles = []; | ||
} | ||
} |