1 #ifndef __JROOT__JGRAPH2DERRORS__
2 #define __JROOT__JGRAPH2DERRORS__
6 #include "TGraph2DErrors.h"
13 namespace JPP {
using namespace JROOT; }
32 void put(
const Double_t
x,
const Double_t
y,
const Double_t
z,
33 const Double_t ex,
const Double_t ey,
const Double_t ez)
65 TGraph2DErrors(graph.
X .size(),
Data structure for graph data.
std::vector< Double_t > Z
ordinate values
Auxiliary data structure to build TGraph2DErrors.
std::vector< Double_t > X
abscissa values
then fatal Wrong number of arguments fi set_variable STRING $argv[1] set_variable DETECTORXY_TXT $WORKDIR $DETECTORXY_TXT tail read X Y CHI2 RMS printf optimum n $X $Y $CHI2 $RMS awk v Y
std::vector< Double_t > Y
abscissa values
JGraph2DErrors(JGraph2DErrors_t &graph, const char *name)
Constructor.
then fatal The output file must have the wildcard in the name
std::vector< Double_t > EX
abscissa errors
then usage $script[energy[distance[z of PMT]]] fi case set_variable z
no fit printf nominal n $STRING awk v X
do set_variable MODULE getModule a $WORKDIR detector_a datx L $STRING JEditDetector a $WORKDIR detector_a datx M $MODULE setz o $WORKDIR detector_a datx JEditDetector a $WORKDIR detector_b datx M $MODULE setz o $WORKDIR detector_b datx done echo Output stored at $WORKDIR detector_a datx and $WORKDIR tripod_a txt JDrawDetector2D a $WORKDIR detector_a datx a $WORKDIR detector_b datx L BL o detector $FORMAT $BATCH JDrawDetector2D T $WORKDIR tripod_a txt T $WORKDIR tripod_b txt L BL o tripod $FORMAT $BATCH JCompareDetector a $WORKDIR detector_a datx b $WORKDIR detector_b datx o $WORKDIR abc root &dev null for KEY in X Y Z
void put(const Double_t x, const Double_t y, const Double_t z, const Double_t ex, const Double_t ey, const Double_t ez)
Put data.
std::vector< Double_t > EY
abscissa errors
std::vector< Double_t > EZ
ordinate errors