public class SvtPlotUtils extends Object
Modifier and Type | Field and Description |
---|---|
private static org.lcsim.util.aida.AIDA |
aida |
private static Logger |
logger |
Constructor and Description |
---|
SvtPlotUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
computePlotterRegion(HpsSiSensor sensor) |
static int |
computePlotterRegionAxialOnly(HpsSiSensor sensor) |
static int |
countSmallHits(List<org.lcsim.event.RawTrackerHit> rawHits) |
static hep.aida.IPlotterStyle |
createStyle(hep.aida.IPlotterFactory plotterFactory,
HpsSiSensor sensor,
String xAxisTitle,
String yAxisTitle) |
static hep.aida.IPlotterStyle |
createStyle(hep.aida.IPlotterFactory plotterFactory,
String xAxisTitle,
String yAxisTitle)
Create a plotter style.
|
static hep.aida.IPlotterStyle |
getPlotterStyle(hep.aida.IFunction func) |
static boolean |
isSmallHit(Map<HpsSiSensor,Set<Integer>> hitMap,
org.lcsim.event.RawTrackerHit hit) |
static hep.aida.IFitResult |
performGaussianFit(hep.aida.IHistogram1D histogram) |
static void |
plot(hep.aida.IPlotter plotter,
hep.aida.IFunction function,
hep.aida.IPlotterStyle style,
int region) |
private static final Logger logger
private static org.lcsim.util.aida.AIDA aida
public static int computePlotterRegion(HpsSiSensor sensor)
public static int computePlotterRegionAxialOnly(HpsSiSensor sensor)
public static hep.aida.IPlotterStyle createStyle(hep.aida.IPlotterFactory plotterFactory, String xAxisTitle, String yAxisTitle)
plotterFactory
- xAxisTitle
- : Title of the x axisyAxisTitle
- : Title of the y axispublic static hep.aida.IPlotterStyle createStyle(hep.aida.IPlotterFactory plotterFactory, HpsSiSensor sensor, String xAxisTitle, String yAxisTitle)
public static int countSmallHits(List<org.lcsim.event.RawTrackerHit> rawHits)
public static boolean isSmallHit(Map<HpsSiSensor,Set<Integer>> hitMap, org.lcsim.event.RawTrackerHit hit)
public static hep.aida.IFitResult performGaussianFit(hep.aida.IHistogram1D histogram)
public static void plot(hep.aida.IPlotter plotter, hep.aida.IFunction function, hep.aida.IPlotterStyle style, int region)
public static hep.aida.IPlotterStyle getPlotterStyle(hep.aida.IFunction func)
Copyright © 2019. All rights reserved.