{
    "menuFlags":{
        "hasFile": 1,
        "loadInitFile": 1,
        "hasDaq":  1,
        "hasH5" : 1,
	"hasEpics" : 1
    },
   "ElogBooks": {
        "SLS+Development": {
            "url": "https://elog-gfa.psi.ch:443/SLS+Development",
            "destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/sls/",
	    "Required": {"Projekt": ["BBA", "Booster", "Coupling", "Emittance",
				     "Filling Patterns", "IDs", "MBFM",
				     "Optics", "low beam energy","low alpha",
				     "Lifetime","RGM", "Photon Monitors",
				     "Stability", "Beam transmissions",
				     "Loss Factor Measurement",
				     "beam size monitor", 
				     "Insertion Device Alignment",
				     "Beam loss monitors", "Single Turn BPM", 
				     "Injection", "Charge Monitoring", 
				     "Orbit Correction",
				     "Bunch Length Measurements", 
				     "Loss Measurement", "TRIBs", 
				     "Robinson Stability", 
				     "Injection Transient", 
				     "TbT BPM measurement", "LINAC Optimizer"]
			}
        },
        "SLS+Measurement+Data": {
            "url": "https://elog-gfa.psi.ch:443/SLS+Measurement+Data",
            "destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/sls/",
	    "Required": {"Projekt": ["BBA", "Booster", "Coupling", "Emittance",
				     "Filling Patterns", "IDs", "MBFM",
				     "Optics", "low beam energy","low alpha",
				     "Lifetime","RGM", "Photon Monitors",
				     "Stability", "Beam transmissions",
				     "Loss Factor Measurement",
				     "beam size monitor", 
				     "Insertion Device Alignment",
				     "Beam loss monitors", "Single Turn BPM"]
			}
        },
        "SLS": {
            "url": "https://elog-gfa.psi.ch:443/SLS",
            "destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/sls/",
	    "Required": {"Eintrag": ["Problem", "Info", "Tuning", 
				     "Betriebs-Wechsel", "Überbrückung", 
				     "Pikett", "Status", "Meldung-AK3",
				     "Tips & Tricks", "Schicht-Übergabe", 
				     "Schicht-Auftrag"]},
	    "Optional" : {"Effekt": [] , 
			  "System":["","Beamdynamics","Feedbacks","Controls", "Diagnostik", 
				    "Electroversorgung", "Frontends", "Insertion-devices", "HF", 
				    "Timing", "Mag.Speisegeräte", "Operator", "SU", "PSYS", "Vakuum", 
				    "Külung", "Andere", "Unbekannt"], 
			  "auto": ["","yes", "no"]
			 } 
        },
       
       "Sandkasten": {
	     "url": "https://elog-gfa.psi.ch:443/Sandkasten",
             "destination": "/afs/psi.ch/intranet/Controls/tmp/elog/ePic/sls/",
	     "Required" : {"Eintrag": ["Problem","Anregung"]}, 
	     "Optional" : {"Status": ["","Offen", "Geschlossen"]}
       }
    },
    "ElogFields": {
        "SLS": {
	    "Required": {"Eintrag": ["Problem", "Info", "Tuning", 
				     "Betriebs-Wechsel", "Überbrückung", 
				     "Pikett", "Status", "Meldung-AK3",
				     "Tips & Tricks", "Schicht-Übergabe", 
				     "Schicht-Auftrag"]
			},
	    "Optional" : {"Effekt": [] , 
			  "System":["", "Beamdynamics", "Feedbacks", "Controls", 
				    "Diagnostik", "Electroversorgung", 
				    "Frontends", "Insertion-devices", "HF", 
				    "Timing", "Mag.Speisegeräte", "Operator", 
				    "SU", "PSYS", "Vakuum", "Külung", "Andere", 
				    "Unbekannt"], 
			  "auto": ["","yes", "no"]
			 } 
	},
	"SLS+Development" :  {"Required" : ["Projekt"], "Optional" : []  },
	"SLS+Measurement+Data" :  {"Required" : ["Projekt"], "Optional" : [] },
	"Sandkasten" :  {
	    "Required" : {"Eintrag": ["Problem","Anregung"]}, "Optional" : {"Status": ["","Offen", "Geschlossen"] }
	}
    },
    "Elog":{
        "useELOGenv": 0,
        "host": "elog-gfa.psi.ch",
	"book": "SLS",
	"url": "https://elog-gfa.psi.ch/SLS",
	"destination": "/afs/psi.ch/intranet/Controls/tmp/bdbase/ePic/"
    },
    "stdlog":{
        "destination": "/tmp/"
    },  
    "screenshot": {
        "destination": "/tmp/"
    },
    "url": {
        "archiver"  : "https://ui-data-api.psi.ch/prepare?channel=sf-archiverappliance/",
	"databuffer": "https://ui-data-api.psi.ch/prepare?channel=sf-databuffer/"
    },
    "OpMsg":{
        "pvDate1" :"ACOAU-ACCU:OP-DATE1",
        "pvMsg1"  :"ACOAU-ACCU:OP-MSG1",
	"upTime"  : "ACOAU-ACCU:UT-HOURS"
    }, 
    "PCT":{
        "current": "ARIDI-PCT:CURRENT",
	"curROC": "ARIDI-PCT:CUR-ROC",
	"tauHour": "ARIDI-PCT:TAU-HOUR",
	"injRate": "ARIDI-PCT:INJ-RATE"
    },
    "OFB":{
        "xrms": "ARIDI-BPM:OFB-XRMS",
	"yrms": "ARIDI-BPM:OFB-YRMS",
	"xmean": "ARIDI-BPM:OFB-XMEAN",
	"ymean": "ARIDI-BPM:OFB-YMEAN"
    },
    "hdf": {
	"destination" : "/sf/data/measurements/"
    },	
    "hdfGroups": {
        "General":["Created","Author","Application","Comment","Filepath","Process","UID","User"]
    },
    "h5Machine": {
        "charge":   "SINEG01-DICT215:B1_CHARGE_AVERAGE-OP",
        "laser":    "SLG-LGEN:WHICH_LASER",
        "repRate":  "SIN-TIMAST-TMA:Beam-Appl-Freq-RB",
        "beamDest": "SF:MODE_AR",
        "energy":   "SF:ENERGY_AR"
    },
    "h5Data": {
        "dataSet": ["timestamp","data", "pulse_id", "timestamp_offset"]  
    }
}
