public class SvtBiasConditionsLoader extends Object
Modifier and Type | Field and Description |
---|---|
private static org.lcsim.util.aida.AIDA |
aida
Setup control plots.
|
(package private) static hep.aida.IDataPointSet |
dpsBiasRuns |
(package private) static hep.aida.IDataPointSet |
dpsPositionRuns |
(package private) static hep.aida.IDataPointSet |
dpsRuns |
private static Set<String> |
FIELDS |
private static Logger |
LOGGER
Initialize the logger.
|
private static DatabaseConditionsManager |
MANAGER
Setup conditions.
|
Constructor and Description |
---|
SvtBiasConditionsLoader()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
private static hep.aida.IDataPoint |
addPoint(hep.aida.IDataPointSet dps,
long mstime,
double val) |
static List<RunSpreadsheet.RunData> |
getRunListFromSpreadSheet(String path) |
static RunSpreadsheet.RunMap |
getRunMapFromSpreadSheet(String path) |
private static boolean |
isValid(RunSpreadsheet.RunData data)
Check validity of @link RunData
|
private static void |
loadBiasesToConditionsDB(List<SvtBiasMyaDataReader.SvtBiasRunRange> ranges) |
private static void |
loadPositionsToConditionsDB(List<SvtMotorMyaDataReader.SvtPositionRunRange> ranges) |
static void |
main(String[] args)
Load SVT HV bias constants into the conditions database.
|
private static void |
printUsage(org.apache.commons.cli.Options options) |
private static void |
setupPlots(boolean show) |
private static Logger LOGGER
private static final DatabaseConditionsManager MANAGER
private static final org.lcsim.util.aida.AIDA aida
static hep.aida.IDataPointSet dpsRuns
static hep.aida.IDataPointSet dpsBiasRuns
static hep.aida.IDataPointSet dpsPositionRuns
private static void setupPlots(boolean show)
private static hep.aida.IDataPoint addPoint(hep.aida.IDataPointSet dps, long mstime, double val)
private static boolean isValid(RunSpreadsheet.RunData data)
data
- the @link RunData to checktrue
if valid, false
otherwise.public static RunSpreadsheet.RunMap getRunMapFromSpreadSheet(String path)
public static List<RunSpreadsheet.RunData> getRunListFromSpreadSheet(String path)
public static void main(String[] args)
args
- the command line arguments (requires a CVS run log file and a
MYA dump file.)private static void printUsage(org.apache.commons.cli.Options options)
private static void loadBiasesToConditionsDB(List<SvtBiasMyaDataReader.SvtBiasRunRange> ranges)
private static void loadPositionsToConditionsDB(List<SvtMotorMyaDataReader.SvtPositionRunRange> ranges)
Copyright © 2019. All rights reserved.