Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
Obsolete Page
Most of the contents of this page are obsolete. It is kept here for reference only.
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.
This provides for searching on any of the available metadata.
Access Limitation
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%
Since the full raw metadata is only set for the raw EVIO files, we a have a wrapper script to make it easier to search for reconstructed files based on raw metadata. It just does 2 queries: one on the raw files to build a run list, and a second to get the reconstructed files for those runs.
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)
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_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')=(Numbers of 4ns samples before/after seed')
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_# (Number of 4ns samples) 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
sReconPass - the recon pass OR the catalog's built-in Version on each file could be used for this
sReconVersion - the Maven tag of HPS Java used to generate the file e.g. "1.2.3"
sRawDataPath - the path to the corresponding raw EVIO data file in the catalog used to generate this file
sDstMakerVersion - the version of the DST Maker used to create the file; can be read from TClass->GetClassVersion() in ROOT which corresponds to a git tag
sReconDataset - dataset path in the catalog of the corresponding LCIO recon file used to generated this DST file
sCuts - list of cuts used to produce the DST (if any)
sEventType - trident, A-prime, backgrounds, etc.
nEventMass - mass of event
nCoupling - A-prime coupling strength
nBeamEnergy - energy of beam
sPhysicsLists - name of Geant4 physics list used to generate
sSlicVersion - the SLIC version
sGeantVersion - the Geant4 version
sRandomSeed - random seed used to generate events or 0 if none was explicitly given