Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
Table of Contents |
---|
This provides for searching on any of the available metadata.
Currently, this is only accessible from SLAC computers. So you either need a SLAC account, or have your ssh-key added to a special restricted datacatalog account at SLAC.
ssh hpscat@rhel6-64d.slac.stanford.edu
FIND = ~srs/datacat/prod/datacat-hps find --show-non-ok-locations
An example search to list the locations of RAW (EVIO) files at JLab that satisfy some beam-current and chicane-setting requirements:
$FIND --site JLAB --filter 'nChicaneOffset>-25 && nBeamCurrent==50' --display sDescription --group RAW /HPS/engrun2014
And its output:
/mss/hallb/hps/data/hps_003451.evio.0 Loose Singles , background study , nominal chicane -7% /mss/hallb/hps/data/hps_003451.evio.1 Loose Singles , background study , nominal chicane -7% /mss/hallb/hps/data/hps_003451.evio.2 Loose Singles , background study , nominal chicane -7% /mss/hallb/hps/data/hps_003451.evio.3 Loose Singles , background study , nominal chicane -7% /mss/hallb/hps/data/hps_003454.evio.0 Loose Singles , background study , nominal chicane -15%
HPS - engrun2014 - - RAW - - pass0 - - - RECON - - - DST - - - DQM* - - passN* - - - ... - testrun2012* - mdc* ...
* = NOT YET
The terminal, capitalized "directories" are actually called "Groups" in the data catalog's terminology. A "group" is a collection of only data sets (files), does not contain subgroups nor subdirectories, and can have its own metadata. When a "group" is assigned metadata, that metadata applies to all of its files.
The choice was made to assign any metadata that applies to RAW (EVIO) files only to the RAW files. So, searching for reconstructed files based on raw metadata is a 2-step process (first find the RAW files that satisfy the criteria, then find the corresponding reconstructed files), although we have wrapper scripts to do this in one step (see above).
Metadata variables have the following conventions:
Strings start with 's'.
Numbers, which can be integers or decimals, start with 'n'.
Timestamps start with 't'.
sRelease sSteering sDetector nPass sCollections
nRun nFileNumber nEvents tRunStart* tRunEnd* nEventMin* (for one file only) nEventMax* (for one file only)These come only from the run spreadsheet or logbook. In case no values were recorded, nothing is assigned (e.g. beam current/positions, which we may want to get from EPICS database later anyway.).
sDescription (all available comments) sTarget ("none" if no target) nBeamCurrent (nA) nBeamX (mm) nBeamY (mm) nBeamEnergy* (GeV) nChicaneOffset (% relative to nominal)
nSSP_W_OFFSET (ns) nSSP_W_WIDTH (samples) nSSP_BLOCK_LEVEL (1,40)=(non-blocking/blocking) nSSP_HPS_LATENCY (?)
nGTP_CLUSTER_PULSE_THRESHOLD (MeV, seed(!) energy) sGTP_CLUSTER_PULSE_COIN ('N M')=(# 4ns samples before/after seed')
nECALFADC_MODE (1,3,7)=(raw,pulse,high-res) nECALFADC_NPEAK (1,2,3) nECALFADC_NSA (ns) nECALFADC_NSB (ns) nECALFADC_THRESH (ADC) nECALFADC_W_OFFSET (ns) nECALFADC_W_WIDTH (ns) nECALFADC_MASK (0,1,2)=(none,medium-angle,large-angle) (trigger mask implemeneted via zeroing gains)
nSSP_HPS_COSMIC_EN nSSP_HPS_COSMIC_TIMECOINCIDENCE (ns) nSSP_HPS_LED_EN nSSP_HPS_PULSER (Hz) nSSP_HPS_PULSER_EN
nTI_INPUT_PRESCALE_SINGLES_# N nTI_INPUT_PRESCALE_PAIRS_# N
nSSP_HPS_SINGLES_#_EN nSSP_HPS_SINGLES_EMAX_#_EN nSSP_HPS_SINGLES_EMIN_#_EN nSSP_HPS_SINGLES_NMIN_#_EN nSSP_HPS_SINGLES_NMIN_# (minimum number of hits) nSSP_HPS_SINGLES_EMAX_# (MeV) nSSP_HPS_SINGLES_EMIN_# (MeV)
nSSP_HPS_PAIRS_#_EN nSSP_HPS_PAIRS_NMIN_# (minimum number of hits per cluster) nSSP_HPS_PAIRS_EMAX_# (MeV) nSSP_HPS_PAIRS_EMIN_# (MeV) nSSP_HPS_PAIRS_SUMMAX_MIN_#_EN nSSP_HPS_PAIRS_DIFFMAX_#_EN nSSP_HPS_PAIRS_ENERGYDIST_#_EN nSSP_HPS_PAIRS_COPLANARITY_#_EN nSSP_HPS_PAIRS_TIMECOINCIDENCE_# (ns) nSSP_HPS_PAIRS_DIFFMAX_# (MeV) nSSP_HPS_PAIRS_SUMMAX_MIN_#_HI (MeV) nSSP_HPS_PAIRS_SUMMAX_MIN_#_LO (MeV) nSSP_HPS_PAIRS_ENERGYDIST_#_OFFSET (MeV) nSSP_HPS_PAIRS_ENERGYDIST_#_SLOPE (MeV/mm) nSSP_HPS_PAIRS_COPLANARITY_# (deg) nSSP_HPS_PAIRS_CLUSTERDELAY_# (ns)
tRunStart - run start time
tRunEnd - run end time
tEventStart - earliest event time
tEventEnd - latest event time
nRun - single run number which can be set on all individual files (except for StdHep events)
nEventMin - minimum event number
nEventMax - maximum event number
sRunStatus - run status which could be GOOD, BAD or UNKNOWN (for instance)
nEvents - number of events in the run
Physics Event Information
sCollections - list of data collections separated by commas
sDetectorName - name of the lcsim detector model
nBeamEnergy - beam energy in GeV
nBeamCurrent - beam current in nA
nBeamSpotSizeA - major axis
nBeamSpotSizeB - minor axis
nBeamSpotSizePhi - major axis angle w.r.t. x-axis
nMagnetCurrent - (multiple?)
sSvtOpen - SVT was open or closed
sSvtStatus - status of the SVT (GOOD/BAD/OFF/UNKNOWN)
sEcalStatus - status of the ECAL
sTriggerStatus - status/configuration of the trigger
sTargetStatus - IN/OUT
sFileNumber - sequential number of the file in the run
...