S1Slice Class Reference
A Slice (vertical cut in S1).
More...
#include <XeAnalysis.h>
List of all members.
Public Member Functions |
void | draw () |
| Draw it, being and S1S2Object object.
|
void | fill (int band, double w=1.) |
| fill one entry in a given band Warning! Should not be called independently, to avoir mismatch between bands and slices
|
void | fill (double s1, double s2, double w=1.) |
| fill one entry in a given band Warning! Should not be called independently, to avoir mismatch between bands and slices
|
void | fillForStudy (double s1, double s2) |
| Fill the S1overS2 table for study (i.e.
|
double | getArea () |
| Return area in s1*log(S2/S1) space.
|
double | getCentralS1 () |
| Return central value of S1.
|
double | getContent (int band) |
| Return count in given band.
|
double | getContent () |
| Return total count.
|
double | getMaxCount () |
| Return maximum count in all cells.
|
double | getMinCount () |
| Return minimum count in all cells.
|
double | getS1Max () |
| Return maximum value of S1.
|
double | getS1Min () |
| Return minimum value of S1.
|
double | getS1Width () |
| Return width of S1 interval.
|
XeBins * | getS2overS1Bins () |
| Return S2/S1 bins as an XeBins* XeObject.
|
double | getS2overS1Max () |
| Return largest S2overS1 bin.
|
double | getS2overS1Min () |
| Return smallest S2overS1 bin.
|
vector< double > * | getS2overS1Vector () |
| Return list of S2/S1 bins.
|
double | maxX () |
| Return maximum 'X' value, as requested by being an S1S2Object object.
|
double | maxY () |
| Return maximum 'Y' value, as requested by being an S1S2Object object.
|
double | minX () |
| Return minimum 'X' value, as requested by being an S1S2Object object.
|
double | minY () |
| Return minimum 'Y' value, as requested by being an S1S2Object object.
|
void | normalize (double ratio) |
| Normalize (i.e.
|
bool | printIt (int level=1) |
| print the S1 Slice
|
void | reset () |
| Empty content.
|
void | reweightTheBands (double *weights) |
| reweights contents inside slices
|
| S1Slice (int w, S1S2Bands *s1s2b) |
| Regulat constructor from an S1S2Bands XeObject.
|
void | setS1Max (double s1Max) |
| Set S1 maximum value.
|
void | setS1Min (double s1Min) |
| Set S1 minimum value.
|
void | setS2overS1Bins (XeBins *s2overS1Bins) |
Static Public Member Functions |
static string | getTheName (int s, S1S2Bands *s1s2b) |
Protected Attributes |
double | count |
vector< double > | counts |
S1S2Bands * | mother |
int | nBands |
XeRun * | run |
double | S1Max |
double | S1Min |
XeBins * | S2overS1Bins |
vector< double > | S2overS1Values |
int | sequence |
Detailed Description
A Slice (vertical cut in S1).
Defined by slice number, and characterized by S1Min, S1Max
Constructor & Destructor Documentation
S1Slice::S1Slice |
( |
int |
w, |
|
|
S1S2Bands * |
s1s2b | |
|
) |
| | |
Member Function Documentation
void S1Slice::fill |
( |
int |
band, |
|
|
double |
w = 1. | |
|
) |
| | |
fill one entry in a given band Warning! Should not be called independently, to avoir mismatch between bands and slices
- Parameters:
-
void S1Slice::fill |
( |
double |
s1, |
|
|
double |
s2, |
|
|
double |
w = 1. | |
|
) |
| | |
fill one entry in a given band Warning! Should not be called independently, to avoir mismatch between bands and slices
- Parameters:
-
| s1 | S1 value |
| s2 | S2 value |
| w | weight |
void S1Slice::fillForStudy |
( |
double |
s1, |
|
|
double |
s2 | |
|
) |
| | |
Fill the S1overS2 table for study (i.e.
define the bands)
- Parameters:
-
void S1Slice::normalize |
( |
double |
ratio |
) |
|
Normalize (i.e.
multiply by a factor)
- Parameters:
-
| ration | multiplicatoin factor |
bool S1Slice::printIt |
( |
int |
level = 1 |
) |
[virtual] |
print the S1 Slice
- Parameters:
-
Reimplemented from XeObject.
void S1Slice::reweightTheBands |
( |
double * |
weights |
) |
|
reweights contents inside slices
- Parameters:
-
| weights | relative weight of each band (sum[weights]=1); |
Member Data Documentation
Pointer to run (actually XeRun) it belongs to
Bands limits in S2/S1, as a XeBins
Values of S2/S1 for studies
slice sequence number, counting from 0
The documentation for this class was generated from the following file: