Skip to content

Commit

Permalink
experiments: add inspire_classification instead of class number
Browse files Browse the repository at this point in the history
* INSPIR-3603
* Sem-ver: new feature
  • Loading branch information
MJedr committed Jun 9, 2020
1 parent 3e91dc0 commit 3a8623e
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
description: |-
An INSPIRE experiment category. This is a hierarchical classification, with `|` used as a separator.
enum:
- Collider Experiments
- Collider Experiments|Hadrons
- Collider Experiments|Hadrons|p anti-p
- Collider Experiments|Hadrons|p p
- Collider Experiments|e+ e-
- Collider Experiments|e p
- Collider Experiments|Heavy Flavor Factory
- Collider Experiments|Heavy ion
- Collider Experiments|Detector development
- Fixed Target Experiments
- Fixed Target Experiments|High-momentum transfer
- Fixed Target Experiments|Hadron Spectroscopy
- Fixed Target Experiments|Deep inelastic scattering
- Fixed Target Experiments|Drell-Yan/Dilepton production
- Fixed Target Experiments|Flavor physics
- Fixed Target Experiments|Lepton precision experiments
- Fixed Target Experiments|Neutron/proton precision experiments
- Neutrino (flavor) experiments
- Neutrino (flavor) experiments|Accelerator
- Neutrino (flavor) experiments|Accelerator|short-baseline
- Neutrino (flavor) experiments|Accelerator|long-baseline
- Neutrino (flavor) experiments|Reactor
- Neutrino (flavor) experiments|Reactor|ultra-short-baseline
- Neutrino (flavor) experiments|Reactor|longer baselines
- Neutrino (flavor) experiments|Non terrestrial
- Neutrino (flavor) experiments|Non terrestrial|Atmospheric
- Neutrino (flavor) experiments|Non terrestrial|Solar
- Neutrino (flavor) experiments|Non terrestrial|Cosmic
- Neutrino (flavor) experiments|Neutrinoless double beta decay
- Neutrino (flavor) experiments|Neutrino mass
- Dark matter search experiments
- Dark matter search experiments|Non-accelerator
- Dark matter search experiments|Axion search experiments
- Dark matter search experiments|Dark Forces
- Cosmic ray/Gamma ray experiments
- Cosmic ray/Gamma ray experiments|Ground array
- Cosmic ray/Gamma ray experiments|Cerenkov array
- Cosmic ray/Gamma ray experiments|Satellite
- Cosmic ray/Gamma ray experiments|Balloon
- Other Rare-process/exotic experiments
- Other Rare-process/exotic experiments|Proton decay
- Other Rare-process/exotic experiments|Modified gravity and space-time
- Other Rare-process/exotic experiments|Magnetic monopoles
- Other Rare-process/exotic experiments|Fractionally charged particles
- Accelerator Test Facility Experiments
- Accelerator Test Facility Experiments|Electron and positron beams
- Accelerator Test Facility Experiments|Muon beams
- Accelerator Test Facility Experiments|Proton beams
- Accelerator Test Facility Experiments|Neutrino beams
- Astronomy experiments
- Astronomy experiments|CMB
- Astronomy experiments|Survey
- Astronomy experiments|Supernovae
- Astronomy experiments|Gravitational waves
- Astronomy experiments|Gravitational lensing/Dark matter
- Non-experimental
- Non-experimental|Data Analysis
- Non-experimental|Simulation tools
- Non-experimental|Simulation tools|Detector Simulation
- Non-experimental|Simulation tools|Event Simulation
- Non-experimental|Parton Distribution Fits
- Non-experimental|Lattice Gauge Theory
- Non-experimental|Neutrino Physics
minLength: 1
type: string
8 changes: 2 additions & 6 deletions inspire_schemas/records/experiments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,17 +245,13 @@ properties:
uniqueItems: true
inspire_classification:
items:
$ref: elements/inspire_experiment_classification.json
description: |-
:MARC: ``372__a``
Category to which this experiment belongs. The possible values
can be found on the `experiment categories
page <http://inspirehep.net/info/Experiments/list>`_ on legacy.
Category to which this experiment belongs.
:example: ``3.1.1`` for ``ultra-short baseline, reactor, neutrino
(flavor) experiment``
minLength: 1
pattern: \d+(\.\d+){0,2}
type: string
minItems: 1
type: array
Expand Down
7 changes: 2 additions & 5 deletions tests/integration/fixtures/experiments_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@
}
],
"inspire_classification": [
"2539892",
"58.855954",
"449.242",
"11738898792.8.702",
"0882010081"
"Non-experimental|Data Analysis",
"Non-experimental|Simulation tools"
],
"institutions": [
{
Expand Down

0 comments on commit 3a8623e

Please sign in to comment.