EventStore Command Reference

From GlueXWiki
Revision as of 11:19, 30 April 2014 by Sdobbs (Talk | contribs) (Created page with "For reference, this is what things were like at CLEO: <pre> Description: eventstore Access the eventstore database eventstore in <YYYYMMDD> [<grade> [<skim>]] [runs <low...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For reference, this is what things were like at CLEO:

 Description: eventstore

   Access the eventstore database 

 eventstore in <YYYYMMDD> [<grade> [<skim>]] [runs <low> [<high>]] 
                           [<run info query>]
                           [dbDir <dir>] [streams <stm> [<stm>] ] 
                       reads requested data from the event store
 where 
    <YYYYMMDD>         date of the version of the <grade> to use
    <grade>            'grade' of the data to use (default is physics)
    <skim>             the event skim within the grade to use
                       (default is all)
    runs <low> <high>  restricts runs to be between <low> and <high>
                       if only <low> given, only runs over that run
                       (default is to run over all runs)
    <run info query>   allows you to choose runs based on their properties
                       do 'eventstore query_help' for details
    dbDir <dir>        select the directory holding the database
                       (default is to use value for $C3_EVENTSTORE)
    streams <strm>     list of streams to read from event store
                       (default is to read all available)

 eventstore info [dbDir <dir>] < request >
        see 'eventstore info help' for details 

 eventstore query_help 
                       explains what run info queries are available 

 eventstore help 
                       this page

Suez> eventstore info help
 %% SYSTEM-EventStoreModuleBase.EventStoreCommandBase: 

eventstore info [ dbDir <dir> ] < request >

where request may be 
  runs <datestamp> [<grade> [<skim>] ] [runs <min> [<max>]] 
    [<run info query>]    prints available runs in DB
                          that match criteria 

  grades                  prints available grades in DB

  skims <datestamp> <grade> 
                          print skims available for the grade

  actualDate <datestamp> <grade> 
                          print actual internal date used

  versions   <datestamp> <grade> [-verbose]
                          print run ranges versus versions
                          use -verbose option for more details

  dbContent <dbName>      prints content of DB:

you need to provide dbName from the following list:
all, FileID, KeyFile, Location, RunUID, Version, SpecificVersion, GraphPath, , PathDepend, FileType, OrphanFile


Suez> eventstore query_help
 %% SYSTEM-EventStoreModuleBase.EventStoreCommandBase: 
Choose runs based on run properties.
The properties you may query are

   dataset <dataset>     <dataset> is the dataset number
   energy <name>         <name> is the name of the energy range

allowed values of <name> are
psi(2S) psi(2S)-off psi(2S)-on psi(3770) 

allowed values of <dataset> are
 data10 data11 data16 data17 data18 data19 data20 data21 data22 data23 data24 data25 data26 data27 data28 data29 data30 data31 data32 data32 data32 data32 data32 data33 data33 data33 data34 data35 data35 data36 data37 data38 data39 data40 data41 data42 data43 data44 data45 data46 data47 data48 data6 data8