|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhpro.stat.DataSource
public class DataSource
This class serves as input for the Limit.ComputeLimit method. It takes the signal, background and data histograms to form a channel. More channels can be added using AddChannel(), as well as different systematics sources.
| Constructor Summary | |
|---|---|
DataSource()
Simplest constructor. |
|
DataSource(H1D s,
H1D b,
H1D d)
Adds one channel with signal, background and data given as input. |
|
DataSource(H1D s,
H1D b,
H1D d,
double es,
double eb,
double ed,
String name)
Another constructor, directly adds one channel with signal, background and data given as input. |
|
DataSource(P1D s,
P1D b,
P1D d)
Adds one channel with signal, background and data given as input. |
|
| Method Summary | |
|---|---|
void |
addChannel(DataKeeper s,
DataKeeper b,
DataKeeper d)
Adds a channel with signal, background and data given as input. |
void |
addChannel(DataKeeper s,
DataKeeper b,
DataKeeper d,
double es,
double eb,
double ed,
String name)
Adds a channel with signal, background and data given as input. |
void |
addChannel(H1D s,
H1D b,
H1D d)
Adds a channel with signal, background and data given as input. |
void |
addChannel(H1D s,
H1D b,
H1D d,
double es,
double eb,
double ed,
String name)
Adds a channel with signal, background and data given as input. |
void |
addChannel(P1D s,
P1D b,
P1D d)
Adds a channel with signal, background and data given as input. |
void |
addChannel(P1D s,
P1D b,
P1D d,
double es,
double eb,
double ed,
String name)
Adds a channel with signal, background and data given as input. |
Object |
clone()
Allow cloning |
ArrayList<DataKeeper> |
getBackground()
Get data for background |
ArrayList<DataKeeper> |
getCandidates()
Get data with candidates |
ArrayList<String> |
getErrorNames()
Get names of the errors |
ArrayList<Double> |
getErrorOnBackground()
Get systematics on background for all channels |
ArrayList<Double> |
getErrorOnData()
Get systematics on data for all channels |
ArrayList<Double> |
getErrorOnSignal()
Get errors on signal on all channels |
int |
getNumberChennels()
Get total numberer of channels |
ArrayList<DataKeeper> |
getSignal()
Get data for signal |
void |
SetOwner()
Initialize all arrays |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSource()
public DataSource(H1D s,
H1D b,
H1D d)
s - Signal histogramb - Background histogramd - Observed data histogram
public DataSource(P1D s,
P1D b,
P1D d)
s - Signalb - Backgroundd - Data
public DataSource(H1D s,
H1D b,
H1D d,
double es,
double eb,
double ed,
String name)
s - Signal histogramb - Background histogramd - Data histogrames - Error on signaleb - Error on backgrounded - Error on dataname - name indicating this systematics| Method Detail |
|---|
public Object clone()
clone in class Object
public void addChannel(H1D s,
H1D b,
H1D d)
s - Signal histogramb - Background histogramd - Observed data histogram
public void addChannel(P1D s,
P1D b,
P1D d)
s - Signalb - Backgroundd - Data
public void addChannel(DataKeeper s,
DataKeeper b,
DataKeeper d,
double es,
double eb,
double ed,
String name)
s - Signal expectedb - Background expectedd - Data observedes - Systematic error on signaleb - Systematic error on backgrounded - Systematic error on dataname - Name for this data source
public void addChannel(DataKeeper s,
DataKeeper b,
DataKeeper d)
s - Signal expectedb - Background expectedd - Data observedpublic ArrayList<DataKeeper> getSignal()
public ArrayList<DataKeeper> getBackground()
public ArrayList<DataKeeper> getCandidates()
public ArrayList<Double> getErrorOnSignal()
public ArrayList<Double> getErrorOnBackground()
public ArrayList<Double> getErrorOnData()
public ArrayList<String> getErrorNames()
public void addChannel(H1D s,
H1D b,
H1D d,
double es,
double eb,
double ed,
String name)
s - Signal histogramb - Background histogramd - Data histogrames - Systematic on signaleb - Systematic on backgrounded - Systematic on dataname - Name for this channel
public void addChannel(P1D s,
P1D b,
P1D d,
double es,
double eb,
double ed,
String name)
s - Expected signal P1Db - Expected background P1Dd - Measured data P1Des - systematic on signaleb - systematic on backgrounded - systematic on dataname - name for this channelpublic int getNumberChennels()
public void SetOwner()
swtch -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||