Class for ER background as published in PRL for run 8 Everything is tabulated. More...
#include <XeAnalysis.h>
Public Member Functions | |
| bool | checkBand (int band) |
| Check whether a band index is correct and prints a warning if not. | |
| bool | checkIt () |
| Check the run attributes and recompute what is needed. | |
| void | checkTheCuts () |
| Internal method: were thu cuts applied? | |
| void | computeBackgrounds () |
| compute background bands from data, and estimate background | |
| bool | computeSignal () |
| compute exoeceted Er and S1 spectra for signal, fill bands, etc. | |
| void | computeSignalBands (double LEFFt) |
| compute the signal bands for a given LEff t-value | |
| double | defaultAmBeNormalizationToEvents () |
| Return default Neutron/gamma normalisation (i.e. | |
| double | defaultDarkMatterNormalization () |
| Return default DarkMatter normalisation (i.e. | |
| double | defaultEGammaNormalizationToEvents () |
| Return default E/gamma normalisation (i.e. | |
| double | dRate (double Er) |
| Compute event rates in events/KeV. | |
| void | draw () |
| Draw it, being and S1S2Object object. | |
| void | drawCuts () |
| Draw the cuts. | |
| double | ErMax () |
| Return maximum Recoil energy for given mass. | |
| double | ErToNPhotons (double Er) |
| Return expected number of photons. | |
| double | expectedNumberOfNeutrons (double peMin, double peMax) |
| Return expected number of neutrons between two PE. | |
| double | expectedSignal (double leffT) |
| return the expected number of events pass all cuts | |
| double | expectedSignalInErWindow (double E1=-1., double E2=-1.) |
| Compute the expected number of signal events in an ERecoil window. | |
| void | fillDataBands () |
| Fill all data bands, after they have been defined. | |
| void | fillSelectionCutsBreakdown (vector< double > &remaining, double LEfft=0.) |
| Fill the expected number of signal events for the sequence of selection cuts. | |
| bool | fillSimulatedDataAndBands (int band, double s1) |
| fill simulated data, and corresponding band/slices | |
| double | flatten (double S1, double S2) |
| compute flattened log(s1/s2) | |
| void | forceSignalERecoilSpectrum (double *Er=NULL) |
| Set SignalERecoil spectrum by brute force for (mainly for debugging). | |
| double * | getAllBackgroundsInBandsS1Distribution (int band=ALL) |
| Return the array of distribution of the background for a given band. | |
| double * | getAllBackgroundsInBandsS1Spectrum (int band=ALL) |
| Return array o fthe spectrum of the background for a given band. | |
| TabulatedDist * | getAllBackgroundsInBandsS1XeDist (int band=ALL) |
| Return the distribution of the background for a given band. | |
| XeSpectrum * | getAllBackgroundsInBandsS1XeSpectrum (int band=ALL) |
| Return the spectrum of the background for a given band. | |
| XeSetOfCuts * | getAllCuts () |
| Return all the cuts. | |
| double | getAnalysisS1Max () |
| Get overall S1 max for the s1,s2 analysis. | |
| double | getAnalysisS1Min () |
| Get overall S1 min for the s1,s2 analysis. | |
| double * | getBackgroundS1Distribution (int background) |
| Return the S1 distribution for a given type of background. | |
| double * | getBackgroundS1Spectrum (int background) |
| Return the S1 spectrum for a given type of background. | |
| TabulatedDist * | getBackgroundS1XeDist (int background) |
| get the S1 distribution (normalized to 1) for a given type of background | |
| XeSpectrum * | getBackgroundS1XeSpectrum (int background) |
| get the S1 spectrum for a given type of background | |
| double | getBandContent (int type, int band=ALL) |
| Return content of a given band. | |
| XeSetOfCuts * | getDarkMatterCuts () |
| Return the dark matter cuts. | |
| int | getDataType () |
| return data type | |
| string | getDataTypeName () |
| get the data type name for the current name | |
| ElectronBackgroundModel * | getElectronBackgroundModel () |
| return pointer to Electron Background Model in use | |
| double | getExposure () |
| Return exposure (in days). | |
| double | getFiducialMass () |
| Return fiducial mass. | |
| RunFlattener * | getFlattener () |
| Return object which flattens log(s2/s1). | |
| GalaxyModel * | getGalaxyModel () |
| Return Galaxy model. | |
| double | getHighestS2OverS1 () |
| Get highest overall s2/s1 for the s1,s2 analysis. | |
| Interaction * | getInteraction () |
| Return interaction. | |
| LEff * | getLEff () |
| Return L-effective model user for Light yield computation. | |
| double | getLEffErMin () |
| get hard cut of lowest energy for which LEff>0 | |
| double | getLEffTValue () |
| Return current "t-value" for L-effective. | |
| double | getLightYield () |
| Return light yield. | |
| double | getLowestS2OverS1 () |
| Get lowest overall s2/s1 for the s1,s2 analysis. | |
| string | getName () |
| Method overriding the default one for XeObject. | |
| NeutronBackgroundModel * | getNeutronBackgroundModel () |
| return pointer to Neutron Background Model in use | |
| int | getNSelectionCuts () |
| return number of selection cuts | |
| int | getNumber () |
| return run number | |
| PValue * | getPValue () |
| Return the pValue currently is use. | |
| S1S2Bands * | getReferenceBands () |
| Get reference bands. | |
| S1S2Bands * | getS1S2Bands (int type) |
| Get bands of a given data type. | |
| S1S2Data * | getS1S2Data (int type) |
| Get data set. | |
| double | getSe () |
| Return Se used for Light yield computation. | |
| SelectionCut * | getSelectionCutBySequence (int i) |
| Return a selection cut, given its sequence number. | |
| XeSetOfSelectionCuts * | getSelectionCuts () |
| Return all the selection cuts. | |
| double | getSelectionS1Max () |
| Return smeared S1 max for the relevant cuts. | |
| double | getSelectionS1Min () |
| Return smeared S1 min for the relevant cuts. | |
| double | getSelectionUS1Min () |
| Return unsmeared S1 min for the relevant cuts. | |
| string | getShortTypeName (int type) |
| return short type type name, using value of cross section for graphs | |
| double | getSigmaForReports () |
| Fet the wimp-nucleon cross section for reports, graphs, tables. | |
| double | getSigmaNucleon () |
| Return wimp-nucleon cross section. | |
| double | getSigmaPMT () |
| Return resolution of PMT. | |
| double * | getSignalERecoilDistribution () |
| Return the distrbution of Energy recoil, for current interaction, mass ,. | |
| double * | getSignalERecoilSpectrum () |
| Return the spectrum of Energy recoil, for current interaction, mass ,. | |
| TabulatedDist * | getSignalERecoilXeDist () |
| get the distribution of Signal ERecoil | |
| XeSpectrum * | getSignalERecoilXeSpectrum () |
| get the spectrum of Signal ERecoil | |
| double * | getSignalS1Distribution (double tLEff=0.) |
| Return the distribution of Signal S1, for current interaction, mass ,. | |
| double * | getSignalS1Spectrum (int tindex=SIDE_LEFF_TABULATED) |
| Return the spectrum of Signal S1, for current interaction, mass ,. | |
| double * | getSignalS1Spectrum (double tLEff) |
| Return the spectrum of Signal S1, for current interaction, mass ,. | |
| TabulatedDist * | getSignalS1XeDist (double tLEff=0.) |
| get the distribution of Signal S1 | |
| XeSpectrum * | getSignalS1XeSpectrum (int tindex=SIDE_LEFF_TABULATED) |
| get the spectrum of Signal S1 | |
| XeSpectrum * | getSignalS1XeSpectrum (double lLEff) |
| get the spectrum of Signal S1 | |
| double | getSr () |
| Return Sr used for Light yield computation. | |
| Target * | getTarget () |
| Return target. | |
| double | getTheoreticalUpperSigma (double cl=DEFAULT_CL, bool afterCuts=true) |
| Return theoretical upper poission sigma limit, assuming no background. | |
| double | getTotalContent (int type) |
| Return total content. | |
| double | getTypicalErMin () |
| get typical lower cut on recooil energy corresponding to cuts | |
| double | getValue (int what, double x) |
| events rate for integration | |
| Wimp * | getWimp () |
| Return WIMP. | |
| double | getWimpMass () |
| return Wimp Mass | |
| double | maxS1 (int type) |
| return maximum S1 for a given data type | |
| double | maxS1 () |
| Return overall S1 max. | |
| double | maxS2 (int type) |
| return maximum S2 for a given data type | |
| double | maxS2 () |
| Return overall S2 max. | |
| double | maxX (int type) |
| return maximum 'X' for a given data type | |
| double | maxX () |
| Return maximum 'X' value, as requested by being an S1S2Object object. | |
| double | maxY (int type) |
| return maximum 'Y' for a given data type | |
| double | maxY () |
| Return maximum 'y' value, as requested by being an S1S2Object object. | |
| double | minS1 (int type) |
| return minimum S1 for a given data type | |
| double | minS1 () |
| Return overall S1 min. | |
| double | minS2 (int type) |
| return minimum S2 for a given data type | |
| double | minS2 () |
| Return overall S2 min. | |
| double | minX (int type) |
| return minimum 'X' for a given data type | |
| double | minX () |
| Return minimum 'X' value, as requested by being an S1S2Object object. | |
| double | minY (int type) |
| return minimum 'Y' for a given data type | |
| double | minY () |
| Return minimum 'Y' value, as requested by being an S1S2Object object. | |
| TH2F * | new2DHistogram (int type, int plot=NONE) |
| create a 2d histogram whose content is follows slices and bands | |
| TH2F * | new2DHistogramOfSignalERecoilDistribution (XeRange *mr=NULL, int plot=NONE) |
| Create a 2D histogram of Energy Recoil return Pointer to a new TH2F. | |
| TH2F * | new2DHistogramOfSignalERecoilSpectrum (XeRange *mr=NULL, int plot=NONE) |
| Create a 2D histogram of Er signal spectrum, after cuts. | |
| TH2F * | new2DHistogramOfSignalS1Distribution (XeRange *mr=NULL, int plot=NONE, int tIndex=SIDE_LEFF_TABULATED) |
| Create an histogram of the shape of S1 distribution for a signal. | |
| TH2F * | new2DHistogramOfSignalS1Spectrum (XeRange *mr=NULL, int plot=NONE, int tindex=SIDE_LEFF_TABULATED) |
| create a 2D histogram of S1 spectrum for the expected signal | |
| ElectronBackgroundModel * | newDefaultElectronBackgroundModel () |
| return pointer to a default Electron Background Model | |
| LEff * | newDefaultLEff () |
| return Pointer to a default LEff class | |
| NeutronBackgroundModel * | newDefaultNeutronBackgroundModel () |
| return Pointer to a default Neutron Background Model | |
| XeSetOfCuts * | newDefaultXeSetOfDarkMatterCuts () |
| return Pointer to a default Set Of Dark Matter Cuts | |
| XeSetOfSelectionCuts * | newDefaultXeSetOfSelectionCuts () |
| return Pointer to a default Set Of Selection Cuts | |
| TabulatedDist * | newDistributionOfSignalAndBackgroundS1 (int tindex=SIDE_LEFF_TABULATED) |
| Create Distribution of signal + background. | |
| XeGraph * | newGraphOfAllBackgroundsInBandsS1Distribution (int band=ALL, int plot=NONE) |
| Produce a Graph of the S1 distribution of the background. | |
| XeGraph * | newGraphOfAllBackgroundsInBandsS1Spectrum (int band=ALL, int plot=NONE) |
| Produce a Graph of the S1 spectrum of the background. | |
| XeGraph * | newGraphOfBackgroundS1Distribution (int background, int plot=NONE) |
| Create a graph of the shape of S1 distribution for a given background. | |
| XeGraph * | newGraphOfCurrentLEff (ErRange *er=NULL, int plot=NONE) |
| Create a graph of LEffective for the current value. | |
| XeGraph * | newGraphOfExpectedSignal (XeRange *mr=NULL, double tl=0., int plot=NONE) |
| Create a graph of the number of signal events passing all cuts. | |
| XeGraph * | newGraphOfExpectedSignalInErWindow (XeRange *mr=NULL, int plot=NONE) |
| Create a graph of the number of expected events in Er Window, before cuts. | |
| XeGraph * | newGraphOfLEff (ErRange *er=NULL, double t=0., int plot=NONE) |
| Create a graph of LEffective for the central value. | |
| XeGraph * | newGraphOfSelectionCutsAcceptance (S1Range *srange=NULL, bool smear=true, int plot=NONE) |
| Create a graph of the acceptance of the selection. | |
| XeGraph * | newGraphOfSignalAndBackgroundS1Distribution (int plot=NONE, int tindex=SIDE_LEFF_TABULATED) |
| create a graph of S1 spectrum for the expected signal and all backgrounds | |
| XeGraph * | newGraphOfSignalAndBackgroundS1Spectrum (int plot=NONE, int tindex=SIDE_LEFF_TABULATED) |
| create a graph of S1 spectrum for the expected signal and all backgrounds | |
| XeGraph * | newGraphOfSignalERecoilDistribution (int plot=NONE) |
| Create a graph of Signal Energy Recoil, normalized to 1. | |
| XeGraph * | newGraphOfSignalERecoilSpectrum (int plot=NONE) |
| Create a graph of Signal Energy Recoil. | |
| XeGraph * | newGraphOfSignalS1Distribution (int plot=NONE, int tIndex=SIDE_LEFF_TABULATED) |
| Create a graph of the shape of S1 distribution for a signal. | |
| XeGraph * | newGraphOfSignalS1Spectrum (int plot=NONE, int tindex=SIDE_LEFF_TABULATED) |
| create a graph of S1 spectrum for the expected signal | |
| XeGraph * | newGraphOfTheoreticalUpperSigma (XeRange *mr=NULL, double cl=DEFAULT_CL, bool afterCuts=true, int plot=NONE) |
| Create a graph of the theoretical upper sigma in the absence of bkg. | |
| TH1F * | newHistogramOfBackgroundS1Distribution (int background, int plot=NONE) |
| Return histogram of the shape of S1 distribution for a given background. | |
| TH1F * | newHistogramOfSignalERecoilDisribution (int plot=NONE) |
| Create an histogram of Energy Recoil, normalized to 1. | |
| TH1F * | newHistogramOfSignalERecoilSpectrum (int plot=NONE) |
| Create an histogram of Energy Recoil. | |
| TH1F * | newHistogramOfSignalS1Distribution (int plot=NONE, int tIndex=SIDE_LEFF_TABULATED) |
| Create an histogram of the shape of S1 distribution for a signal. | |
| TH1F * | newHistogramOfSignalS1Spectrum (int plot=NONE, int tindex=SIDE_LEFF_TABULATED) |
| create an histogram of S1 spectrum for the expected signal | |
| XeMultiGraph * | newMultiGraphOfAllBackgroundsInBandsS1Distribution (int plot=NONE) |
| Produce a multi graph of the S1 distribution of the background for all bands. | |
| XeMultiGraph * | newMultiGraphOfAllBackgroundsInBandsS1Spectrum (int plot=NONE) |
| Produce a multi graph of the S1 spectrum of the background for all bands. | |
| XeMultiGraph * | newMultiGraphOfExpectedSignalByLEff (XeRange *mr=NULL, tValueRange *tRange=NULL, int plot=NONE) |
| Create a Multigraph of the number of signal events passing all cuts when LEff varies. | |
| XeMultiGraph * | newMultiGraphOfExpectedSignalByVEsc (XeRange *mr=NULL, VEscRange *vRange=NULL, int plot=NONE) |
| Create a Multigraph of the number of signal events passing all cuts when VEsc varies. | |
| XeMultiGraph * | newMultiGraphOfS1Distributions (int plot=NONE) |
| Return a Multigraph of the shape of S1 distribution for the signal, neutron and electron background. | |
| XeMultiGraph * | newMultiGraphOfSignalERecoilDistribution (XeRange *mr=NULL, int plot=NONE) |
| Create a Multigraph of Energy Recoil, normalized to 1. | |
| XeMultiGraph * | newMultiGraphOfSignalERecoilSpectrum (XeRange *mr=NULL, int plot=NONE) |
| Create a Multigraph of Energy Recoil. | |
| XeMultiGraph * | newMultiGraphOfSignalS1Distribution (XeRange *mr=NULL, int plot=NONE, int tIndex=SIDE_LEFF_TABULATED) |
| Create a Multigraph of the shape of S1 distribution for various masses. | |
| XeMultiGraph * | newMultiGraphOfSignalS1Spectrum (int step=1, int plot=NONE) |
| Create a multigraph of S1 distribution for various LEff t-values. | |
| XeSpectrum * | newSpectrumOfSignalAndBackgroundS1 (int tindex=SIDE_LEFF_TABULATED) |
| Create Spectrum of signal + background. | |
| TTree * | newTree (int type) |
| Get a tree corresponding to a given data file. | |
| double | NPhotonsToEr (double nP) |
| Return Recoil energy, given expect number of photons. | |
| double | nSignalPerCm2 (double lt=0.) |
| return expected number of signal events for 1 cm2 cross section | |
| void | printBandCLsCounting (int nb) |
| Print the CLs limits while cumulating bands one to one. | |
| void | printBandContent (double leffT=0.) |
| print details of band contents for variable LEff | |
| bool | printCandidates (int maxBand) |
| Dump "candidates" (i.e. | |
| void | printDataSummary () |
| Print a summary of the data bands. | |
| bool | printEvents (int dt, int maxBand) |
| Dump events of a give data source looking like "candidates" (i.e. | |
| bool | printIt (int level=1) |
| print this run | |
| void | printSelectionCutsBreakdown (double mass=0., double sigma=0., double LEfft=0.) |
| Dump of the expected number of signal events for the sequence of selection cuts. | |
| void | printSignalERecoilSpectrum () |
| Print the spectrum of E-Recoil. | |
| bool | recomputeEverything () |
| Force all run checks and band recomputing. | |
| void | setAnalysisS1Max (double s1Max) |
| set the highest s1 value for band analysis | |
| void | setAnalysisS1Min (double s1Min) |
| set the lowest s1 value for band analysis | |
| void | setDarkMatterCuts (XeSetOfCuts *cuts) |
| Set analysis (dark matter) cuts. | |
| void | setElectronBackgroundModel (ElectronBackgroundModel *model) |
| Set model for computing electronic background (leakage). | |
| void | setEquallyFilledS1Slices (bool equal=false) |
| Set the mode when s1 slices are equally filled. | |
| void | setGalaxyModel (GalaxyModel *gal) |
| Set the Galaxy model. | |
| void | setHighestS2OverS1 (double S2OverS1Max) |
| set the highest S2OverS1 limit in band 0 | |
| void | setInteraction (Interaction *inter) |
| Set the interaction. | |
| void | setLEff (LEff *leff) |
| Set the LEffective model. | |
| void | setLEffErMin (double e) |
| set hard cut of lowest energy for which LEff>0 | |
| void | setLEffTValue (double tValue) |
| Set the LEffective "t-value". | |
| void | setLightYield (double lightYield) |
| Set the light yield. | |
| void | setLowestS2OverS1 (double S2OverS1Min) |
| set the lowest S2OverS1 limit in band 0 | |
| void | setNeutronBackgroundModel (NeutronBackgroundModel *model) |
| Set model for computing neutron background. | |
| void | setPValue (PValue *pV) |
| Set the pValue currently is use. | |
| void | setSelectionCuts (XeSetOfSelectionCuts *cuts) |
| Set selection cuts. | |
| void | setSelectionCutTValue (int i, double t) |
| Set the "t-value" for a selection cut. | |
| void | setSigmaForReports (double sigma, int unit=SIGMA_UNIT) |
| Set the wimp-nucleon cross section for reports, graphs, tables. | |
| void | setSigmaNucleon (double sigma) |
| Set the wimp-nucleon cross section. | |
| void | setTarget (Target *target) |
| Set the target. | |
| void | setWimp (Wimp *wimp) |
| Set the WIMP Particle. | |
| void | setWimpMass (double mass) |
| Set the WIMP mass. | |
| void | simulate (double sigma=0.) |
| simulate a run (i.e. | |
| void | tabulateSignalERecoilSpectrum () |
| Tabulate SignalERecoil spectrum, in the usual case it's not forced. | |
| void | tabulateSignalS1Spectrum (int tIndex) |
| Tabulate S1 spectrum for one t value. | |
| void | tabulateSignalS1Spectrum () |
| Tabulate S1 spectrum. | |
| virtual bool | update () |
| As requested by being a p-value, recompute what is needed when smthg has changed. | |
| bool | withBands () |
| Does the current run have bands. | |
| bool | withData () |
| This run was defined with data, i.e. | |
| bool | withoutBands () |
| Is the current run without bands? | |
| bool | withoutData () |
| This run was defined without data, i.e. | |
| XeRun (int run, int datatype, string file="", string dmGraph="grData", string erGraph="grCo60", string nrGraph="grAmBe") | |
| XeRun () | |
| No arg constructor for root. | |
Static Public Member Functions | |
| static string | getDataTypeName (int dt) |
| get the data type name for a given data type | |
| static string | getDefaultFileName (int rn) |
| get the default file name for a given run | |
| static Target * | getTarget (int a) |
| Get the target in use for the run. | |
| static void | setNBands (int nb=DEFAULT_N_BANDS) |
| Set number of bands for analysis. | |
| static void | setNSlices (int ns=DEFAULT_N_SLICES) |
| Set number of slices for analysis. | |
Protected Member Functions | |
| bool | checkS1LimitsConsistency () |
| check that all S1 limits (data, cuts, user analysis) are consistent | |
| void | deleteTheBand (int data_type) |
| delete a given S1S2Bands | |
| void | deleteTheBands (int first=0, int last=N_ALL_DATA_TYPES-1) |
| delete S1S2Bands | |
| void | initialize () |
| Initialize members to their default values. | |
| void | instantiateSignalBandsIfNeeded () |
| Instantiate signal bands, if needed. | |
| pair< int, double > | LEffTBinAndFraction (double leffT) |
| Convert a L-Effective t-value into in index and a fraction ,for interplation. | |
| void | resetAllFlags () |
| all operation flags reset to 'undone' | |
| void | setAutomaticLimits (bool var=true) |
| Will pLots be in variable limits (i.e. | |
| void | setNormalization (double egamma=UNDEFINED, double ambe=UNDEFINED, double darkMatter=UNDEFINED) |
| Set the relative normalizaition. | |
| void | smearPMT (bool smear=true) |
| set the smear PMT flag | |
| void | traceTheFlags () |
| print flags for tracing purpose | |
Static Protected Member Functions | |
| static string | getTheName (int runNumber) |
| Return the standard run name. | |
Protected Attributes | |
| vector< double * > | AllBackgroundsInBandsS1Distribution |
| vector< double * > | AllBackgroundsInBandsS1Spectrum |
| vector< TabulatedDist * > | AllBackgroundsInBandsS1XeDist |
| vector< XeSpectrum * > | AllBackgroundsInBandsS1XeSpectrum |
| XeSetOfCuts | allCuts |
| double | AmBeNormalizationToEvents |
| double | AnalysisS1Max |
| double | AnalysisS1Min |
| double * | BackgroundS1SDistribution [N_BACKGROUNDS] |
| double * | BackgroundS1Spectrum [N_BACKGROUNDS] |
| TabulatedDist * | BackgroundS1XeDist [N_BACKGROUNDS] |
| XeSpectrum * | BackgroundS1XeSpectrum [N_BACKGROUNDS] |
| bool | backgroundsComputed |
| vector< double > | BackgroundsInBands [N_BACKGROUNDS] |
| S1S2Bands * | bands [N_ALL_DATA_TYPES] |
| XeSetOfCuts * | darkMatterCuts |
| double | DarkMatterNormalization |
| bool | dataBandsAreBuilt |
| int | dataType |
| ElectronBackgroundModel * | ebm |
| double | EGammaNormalizationToEvents |
| bool | equallyFilledS1Slices |
| double | Exposure |
| double | FiducialMass |
| int | firstAnalysisS1Bin |
| RunFlattener * | flattener |
| bool | forcedSignalERecoilSpectrum |
| int | lastAnalysisS1Bin |
| LEff * | leff |
| double | LEffErMin |
| double | LightYield |
| NeutronBackgroundModel * | nbm |
| PValue * | pValue |
| S1S2Bands * | referenceBands |
| int | runNumber |
| S1S2Data * | s1s2 [N_CUT_DATA_TYPES] |
| double | S2OverS1Max |
| double | S2OverS1Min |
| double | Se |
| XeSetOfSelectionCuts * | selectionCuts |
| double | SelectionS1Max |
| double | SelectionS1Min |
| double | SelectionUS1Min |
| double | sigmaFactor |
| double | sigmaForReports |
| double | SigmaPMT |
| double * | SignalERecoilDistribution |
| double * | SignalERecoilSpectrum |
| TabulatedDist * | SignalERecoilXeDist |
| XeSpectrum * | SignalERecoilXeSpectrum |
| double * | SignalS1Distribution [N_LEFF_TABULATED] |
| double * | SignalS1Spectrum [N_LEFF_TABULATED] |
| double | SignalS1Total [N_LEFF_TABULATED] |
| TabulatedDist * | SignalS1XeDist [N_LEFF_TABULATED] |
| XeSpectrum * | SignalS1XeSpectrum [N_LEFF_TABULATED] |
| bool | signalTabulated |
| bool | smearingPMT |
| double | Sr |
| Target * | target |
| double | TotalContent [N_BACKGROUNDS] |
| double | typicalErMin |
Static Protected Attributes | |
| static int | nBands |
| static int | nSlices |
Class for ER background as published in PRL for run 8 Everything is tabulated.
constructor
| run | XeRun on which the model is applied No arg constructor for root return Bands for anomalous background return Bands for (regular) background Set tabulated background | |
| backgrounds | a pointer to the array Set tabulated anomalous background | |
| backgrounds | a pointer to the array print this background model | |
| level | print level The basis for an analysis : a Run with its (optional) data . Contains S1S2Data for each of AM_BE_DATA , E_GAMMA_DATA , DM_DATA , AM_BE_CUT_DATA , E_GAMMA_CUT_DATA , DM_CUT_DATA . Contains S1S2Bands for the same data sets. S1S2Bands of (nominal) background are created; they are called: ER_BACKGROUND, ER_LEAKAGE, NR_BACKGROUND and ALL_BACKGROUNDS |
| XeRun::XeRun | ( | int | run, | |
| int | datatype, | |||
| string | file = "", |
|||
| string | dmGraph = "grData", |
|||
| string | erGraph = "grCo60", |
|||
| string | nrGraph = "grAmBe" | |||
| ) |
| run | runNumber | |
| datatype | data type (REAL_DATA or NO_DATA) | |
| file | name of root file containing graphs | |
| dmGraph | TGraph containing DM data | |
| erGraph | TGraph containing Electronic recoil data | |
| nrGraph | TGraph containing neutron recoil data |
| bool XeRun::checkBand | ( | int | band | ) |
Check whether a band index is correct and prints a warning if not.
| banf | band index, from 0 to nBands-1, or "ALL" |
| bool XeRun::checkIt | ( | ) | [virtual] |
Check the run attributes and recompute what is needed.
Reimplemented from XeObject.
| bool XeRun::checkS1LimitsConsistency | ( | ) | [protected] |
check that all S1 limits (data, cuts, user analysis) are consistent
| bool XeRun::computeSignal | ( | ) |
compute exoeceted Er and S1 spectra for signal, fill bands, etc.
..
| void XeRun::computeSignalBands | ( | double | LEFFt | ) |
| double XeRun::defaultAmBeNormalizationToEvents | ( | ) |
Return default Neutron/gamma normalisation (i.e.
expected number of bkg events)
| double XeRun::defaultDarkMatterNormalization | ( | ) |
Return default DarkMatter normalisation (i.e.
1)
| double XeRun::defaultEGammaNormalizationToEvents | ( | ) |
Return default E/gamma normalisation (i.e.
expected number of bkg events)
| void XeRun::deleteTheBand | ( | int | data_type | ) | [protected] |
delete a given S1S2Bands
| data_type | data type (DM_DATA, ...) |
| void XeRun::deleteTheBands | ( | int | first = 0, |
|
| int | last = N_ALL_DATA_TYPES-1 | |||
| ) | [protected] |
| double XeRun::dRate | ( | double | Er | ) |
Compute event rates in events/KeV.
| Er | Recoil energy |
| double XeRun::ErToNPhotons | ( | double | Er | ) |
Return expected number of photons.
| Er | Recoil Energy |
| double XeRun::expectedNumberOfNeutrons | ( | double | peMin, | |
| double | peMax | |||
| ) |
Return expected number of neutrons between two PE.
| peMin | Lower bound | |
| peMax | Upper bound |
| double XeRun::expectedSignal | ( | double | leffT | ) |
return the expected number of events pass all cuts
| leffT | LEff t-value |
| double XeRun::expectedSignalInErWindow | ( | double | E1 = -1., |
|
| double | E2 = -1. | |||
| ) |
Compute the expected number of signal events in an ERecoil window.
| E1 | lower bound of the integral | |
| E2 | upper bound of the integral |
| void XeRun::fillSelectionCutsBreakdown | ( | vector< double > & | remaining, | |
| double | LEfft = 0. | |||
| ) |
Fill the expected number of signal events for the sequence of selection cuts.
| remaining | vector of remaing events after each selection cut | |
| LEfft | LEffective t-parameter |
| bool XeRun::fillSimulatedDataAndBands | ( | int | band, | |
| double | s1 | |||
| ) |
fill simulated data, and corresponding band/slices
| band | band number to be filled | |
| s1 | simulated S1 |
| double XeRun::flatten | ( | double | S1, | |
| double | S2 | |||
| ) |
compute flattened log(s1/s2)
| S1 | S1 value | |
| S2 | S2 value |
| void XeRun::forceSignalERecoilSpectrum | ( | double * | Er = NULL |
) |
Set SignalERecoil spectrum by brute force for (mainly for debugging).
| Er | Spectrum, for 0 to N_ERS_POINTS*ER_STEP; If NULL, assumes that the spectrum is already filled in |
| double* XeRun::getAllBackgroundsInBandsS1Distribution | ( | int | band = ALL |
) |
Return the array of distribution of the background for a given band.
| band | from 0 to nBands-1; if 'ALL', means all of them |
| double* XeRun::getAllBackgroundsInBandsS1Spectrum | ( | int | band = ALL |
) |
Return array o fthe spectrum of the background for a given band.
| band | from 0 to nBands-1; if 'ALL', means all of them |
| TabulatedDist* XeRun::getAllBackgroundsInBandsS1XeDist | ( | int | band = ALL |
) |
Return the distribution of the background for a given band.
| band | from 0 to nBands-1; if 'ALL', means all of them |
| XeSpectrum* XeRun::getAllBackgroundsInBandsS1XeSpectrum | ( | int | band = ALL |
) |
Return the spectrum of the background for a given band.
| band | from 0 to nBands-1; if 'ALL', means all of them |
| XeSetOfCuts* XeRun::getAllCuts | ( | ) |
Return all the cuts.
| double* XeRun::getBackgroundS1Distribution | ( | int | background | ) |
Return the S1 distribution for a given type of background.
| background | : ER_BACKGROUND, ER_LEAKAGE , NR_BACKGROUND or ALL_BACKGROUNDS |
| double* XeRun::getBackgroundS1Spectrum | ( | int | background | ) |
Return the S1 spectrum for a given type of background.
| background | : ER_BACKGROUND, ER_LEAKAGE , NR_BACKGROUND or ALL_BACKGROUNDS |
| TabulatedDist* XeRun::getBackgroundS1XeDist | ( | int | background | ) |
get the S1 distribution (normalized to 1) for a given type of background
| background | : ER_BACKGROUND, ER_LEAKAGE , NR_BACKGROUND or ALL_BACKGROUNDS |
| XeSpectrum* XeRun::getBackgroundS1XeSpectrum | ( | int | background | ) |
get the S1 spectrum for a given type of background
| background | : ER_BACKGROUND, ER_LEAKAGE , NR_BACKGROUND or ALL_BACKGROUNDS |
| double XeRun::getBandContent | ( | int | type, | |
| int | band = ALL | |||
| ) |
Return content of a given band.
| band | which band (ALL means the all together= the sum) | |
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| XeSetOfCuts* XeRun::getDarkMatterCuts | ( | ) |
Return the dark matter cuts.
| int XeRun::getDataType | ( | ) |
return data type
| static string XeRun::getDataTypeName | ( | int | dt | ) | [static] |
get the data type name for a given data type
| dt | data type (NO_DATA, REAL_DATA or SIMULATED_DATA) |
| static string XeRun::getDefaultFileName | ( | int | rn | ) | [static] |
get the default file name for a given run
| rn | run number |
| RunFlattener* XeRun::getFlattener | ( | ) |
Return object which flattens log(s2/s1).
| GalaxyModel* XeRun::getGalaxyModel | ( | ) |
Return Galaxy model.
| Interaction* XeRun::getInteraction | ( | ) |
Return interaction.
| LEff* XeRun::getLEff | ( | ) |
| string XeRun::getName | ( | ) |
| S1S2Bands* XeRun::getReferenceBands | ( | ) |
| S1S2Bands* XeRun::getS1S2Bands | ( | int | type | ) |
Get bands of a given data type.
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| S1S2Data* XeRun::getS1S2Data | ( | int | type | ) |
Get data set.
| type | either AM_BE_DATA,E_GAMMA_DATA, or DM_CUT_DATA |
| SelectionCut* XeRun::getSelectionCutBySequence | ( | int | i | ) |
Return a selection cut, given its sequence number.
| i | index running from 0 |
| XeSetOfSelectionCuts* XeRun::getSelectionCuts | ( | ) |
Return all the selection cuts.
| string XeRun::getShortTypeName | ( | int | type | ) |
return short type type name, using value of cross section for graphs
| type | Data type |
| double XeRun::getSigmaForReports | ( | ) |
Fet the wimp-nucleon cross section for reports, graphs, tables.
..
| double* XeRun::getSignalERecoilDistribution | ( | ) |
Return the distrbution of Energy recoil, for current interaction, mass ,.
..
| double* XeRun::getSignalERecoilSpectrum | ( | ) |
Return the spectrum of Energy recoil, for current interaction, mass ,.
..
| TabulatedDist* XeRun::getSignalERecoilXeDist | ( | ) |
get the distribution of Signal ERecoil
| XeSpectrum* XeRun::getSignalERecoilXeSpectrum | ( | ) |
get the spectrum of Signal ERecoil
| double* XeRun::getSignalS1Distribution | ( | double | tLEff = 0. |
) |
Return the distribution of Signal S1, for current interaction, mass ,.
| tLEff | "t-value" of L-effective |
| double* XeRun::getSignalS1Spectrum | ( | int | tindex = SIDE_LEFF_TABULATED |
) |
Return the spectrum of Signal S1, for current interaction, mass ,.
| tindex | index of the tabulation |
| double* XeRun::getSignalS1Spectrum | ( | double | tLEff | ) |
Return the spectrum of Signal S1, for current interaction, mass ,.
| tLEff | "t-value" of L-effective |
| TabulatedDist* XeRun::getSignalS1XeDist | ( | double | tLEff = 0. |
) |
get the distribution of Signal S1
| tLEff | "t-value" of L-effective |
| XeSpectrum* XeRun::getSignalS1XeSpectrum | ( | int | tindex = SIDE_LEFF_TABULATED |
) |
get the spectrum of Signal S1
| tindex | index of the tabulation |
| XeSpectrum* XeRun::getSignalS1XeSpectrum | ( | double | lLEff | ) |
get the spectrum of Signal S1
| tLEff | "t-value" of L-effective |
| static Target* XeRun::getTarget | ( | int | a | ) | [static] |
Get the target in use for the run.
| a | mass number 129/131/... or NATURAL,DEPLETED , XE100_MIXTURE |
| static string XeRun::getTheName | ( | int | runNumber | ) | [static, protected] |
Return the standard run name.
| runNumber | run number |
| double XeRun::getTheoreticalUpperSigma | ( | double | cl = DEFAULT_CL, |
|
| bool | afterCuts = true | |||
| ) |
Return theoretical upper poission sigma limit, assuming no background.
| cl | confidence level | |
| afterCuts | evaluated after the cuts (alternative: before) |
| double XeRun::getTotalContent | ( | int | type | ) |
Return total content.
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::getValue | ( | int | what, | |
| double | x | |||
| ) | [virtual] |
events rate for integration
| what | Sor far implemented RATE -> dRate(x) | |
| x | the point for the integrable is computed |
Implements integrable.
| pair<int,double> XeRun::LEffTBinAndFraction | ( | double | leffT | ) | [protected] |
Convert a L-Effective t-value into in index and a fraction ,for interplation.
| lefft | L-Effective "t-value" |
| double XeRun::maxS1 | ( | int | type | ) |
return maximum S1 for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::maxS2 | ( | int | type | ) |
return maximum S2 for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::maxX | ( | int | type | ) |
return maximum 'X' for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::maxY | ( | int | type | ) |
return maximum 'Y' for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::minS1 | ( | int | type | ) |
return minimum S1 for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::minS2 | ( | int | type | ) |
return minimum S2 for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::minX | ( | int | type | ) |
return minimum 'X' for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| double XeRun::minY | ( | int | type | ) |
return minimum 'Y' for a given data type
| type | can be AM_BE_DATA,E_GAMMA_DATA,DM_DATA,ER_BACKGROUND,... |
| TH2F* XeRun::new2DHistogram | ( | int | type, | |
| int | plot = NONE | |||
| ) |
create a 2d histogram whose content is follows slices and bands
| type | data type | |
| plot | Do we want to plot the content? can be NONE,LINEAR,LOG |
| TH2F* XeRun::new2DHistogramOfSignalERecoilDistribution | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE | |||
| ) |
Create a 2D histogram of Energy Recoil return Pointer to a new TH2F.
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH2F* XeRun::new2DHistogramOfSignalERecoilSpectrum | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE | |||
| ) |
Create a 2D histogram of Er signal spectrum, after cuts.
| Mr | Mass Range (XeRange) if NULL, use default one | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH2F* XeRun::new2DHistogramOfSignalS1Distribution | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE, |
|||
| int | tIndex = SIDE_LEFF_TABULATED | |||
| ) |
Create an histogram of the shape of S1 distribution for a signal.
| tIndex | Index of LEff t-value | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH2F* XeRun::new2DHistogramOfSignalS1Spectrum | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE, |
|||
| int | tindex = SIDE_LEFF_TABULATED | |||
| ) |
create a 2D histogram of S1 spectrum for the expected signal
| tindex | which of the tabulated LEff t values is to be plotted. | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| TabulatedDist* XeRun::newDistributionOfSignalAndBackgroundS1 | ( | int | tindex = SIDE_LEFF_TABULATED |
) |
Create Distribution of signal + background.
| tindex | which of the tabulated LEff t values is to be plotted. |
| XeGraph* XeRun::newGraphOfAllBackgroundsInBandsS1Distribution | ( | int | band = ALL, |
|
| int | plot = NONE | |||
| ) |
Produce a Graph of the S1 distribution of the background.
| band | from 0 to nBands-1; if 'ALL', means all of them | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfAllBackgroundsInBandsS1Spectrum | ( | int | band = ALL, |
|
| int | plot = NONE | |||
| ) |
Produce a Graph of the S1 spectrum of the background.
| band | from 0 to nBands-1; if 'ALL', means all of them | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfBackgroundS1Distribution | ( | int | background, | |
| int | plot = NONE | |||
| ) |
Create a graph of the shape of S1 distribution for a given background.
| background | : ER_BACKGROUND, ER_LEAKAGE , NR_BACKGROUND or ALL_BACKGROUNDS | |
| plot | either NONE, AUTO, LINEAR, or LOG |
Create a graph of the number of signal events passing all cuts.
| mr | Mass range (NULL : default one) | |
| tl | LEff t-value | |
| plot | either NONE, AUTO, LINEAR, or LOG |
Create a graph of the number of expected events in Er Window, before cuts.
| mr | Mass range (NULL : default one) | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfSelectionCutsAcceptance | ( | S1Range * | srange = NULL, |
|
| bool | smear = true, |
|||
| int | plot = NONE | |||
| ) |
Create a graph of the acceptance of the selection.
| srange | S1 range (NULL : default one) | |
| smear | accpetance of smeared (true) or unsmeared (false)? | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfSignalAndBackgroundS1Distribution | ( | int | plot = NONE, |
|
| int | tindex = SIDE_LEFF_TABULATED | |||
| ) |
| XeGraph* XeRun::newGraphOfSignalAndBackgroundS1Spectrum | ( | int | plot = NONE, |
|
| int | tindex = SIDE_LEFF_TABULATED | |||
| ) |
| XeGraph* XeRun::newGraphOfSignalERecoilDistribution | ( | int | plot = NONE |
) |
Create a graph of Signal Energy Recoil, normalized to 1.
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfSignalERecoilSpectrum | ( | int | plot = NONE |
) |
Create a graph of Signal Energy Recoil.
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfSignalS1Distribution | ( | int | plot = NONE, |
|
| int | tIndex = SIDE_LEFF_TABULATED | |||
| ) |
Create a graph of the shape of S1 distribution for a signal.
| tIndex | Index of LEff t-value | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeGraph* XeRun::newGraphOfSignalS1Spectrum | ( | int | plot = NONE, |
|
| int | tindex = SIDE_LEFF_TABULATED | |||
| ) |
| XeGraph* XeRun::newGraphOfTheoreticalUpperSigma | ( | XeRange * | mr = NULL, |
|
| double | cl = DEFAULT_CL, |
|||
| bool | afterCuts = true, |
|||
| int | plot = NONE | |||
| ) |
Create a graph of the theoretical upper sigma in the absence of bkg.
| mr | Mass range (NULL : default one) | |
| cl | confidence level | |
| after | cuts assuming a CLs anaylsis and consider all cuts | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH1F* XeRun::newHistogramOfBackgroundS1Distribution | ( | int | background, | |
| int | plot = NONE | |||
| ) |
Return histogram of the shape of S1 distribution for a given background.
| background | : ER_BACKGROUND, ER_LEAKAGE , NR_BACKGROUND or ALL_BACKGROUNDS | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH1F* XeRun::newHistogramOfSignalERecoilDisribution | ( | int | plot = NONE |
) |
Create an histogram of Energy Recoil, normalized to 1.
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH1F* XeRun::newHistogramOfSignalERecoilSpectrum | ( | int | plot = NONE |
) |
Create an histogram of Energy Recoil.
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH1F* XeRun::newHistogramOfSignalS1Distribution | ( | int | plot = NONE, |
|
| int | tIndex = SIDE_LEFF_TABULATED | |||
| ) |
Create an histogram of the shape of S1 distribution for a signal.
| tIndex | Index of LEff t-value | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| TH1F* XeRun::newHistogramOfSignalS1Spectrum | ( | int | plot = NONE, |
|
| int | tindex = SIDE_LEFF_TABULATED | |||
| ) |
| XeMultiGraph* XeRun::newMultiGraphOfAllBackgroundsInBandsS1Distribution | ( | int | plot = NONE |
) |
Produce a multi graph of the S1 distribution of the background for all bands.
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfAllBackgroundsInBandsS1Spectrum | ( | int | plot = NONE |
) |
Produce a multi graph of the S1 spectrum of the background for all bands.
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfExpectedSignalByLEff | ( | XeRange * | mr = NULL, |
|
| tValueRange * | tRange = NULL, |
|||
| int | plot = NONE | |||
| ) |
Create a Multigraph of the number of signal events passing all cuts when LEff varies.
| mr | Mass range (NULL : default one) | |
| tRange | Tvalue Range (NULL= default one) | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfExpectedSignalByVEsc | ( | XeRange * | mr = NULL, |
|
| VEscRange * | vRange = NULL, |
|||
| int | plot = NONE | |||
| ) |
Create a Multigraph of the number of signal events passing all cuts when VEsc varies.
| mr | Mass range (NULL : default one) | |
| vRange | VEscape Range (NULL= default one) | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfS1Distributions | ( | int | plot = NONE |
) |
Return a Multigraph of the shape of S1 distribution for the signal, neutron and electron background.
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfSignalERecoilDistribution | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE | |||
| ) |
Create a Multigraph of Energy Recoil, normalized to 1.
| Mr | Mass Range (XeRange) if NULL, use default one | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfSignalERecoilSpectrum | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE | |||
| ) |
Create a Multigraph of Energy Recoil.
| Mr | Mass Range (XeRange) if NULL, use default one | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeMultiGraph* XeRun::newMultiGraphOfSignalS1Distribution | ( | XeRange * | mr = NULL, |
|
| int | plot = NONE, |
|||
| int | tIndex = SIDE_LEFF_TABULATED | |||
| ) |
Create a Multigraph of the shape of S1 distribution for various masses.
| XeMultiGraph* XeRun::newMultiGraphOfSignalS1Spectrum | ( | int | step = 1, |
|
| int | plot = NONE | |||
| ) |
Create a multigraph of S1 distribution for various LEff t-values.
| s1Max | Max S1 scale | |
| step | distance between 2 t-index | |
| plot | either NONE, AUTO, LINEAR, or LOG |
| XeSpectrum* XeRun::newSpectrumOfSignalAndBackgroundS1 | ( | int | tindex = SIDE_LEFF_TABULATED |
) |
Create Spectrum of signal + background.
| tindex | which of the tabulated LEff t values is to be plotted. |
| TTree* XeRun::newTree | ( | int | type | ) |
Get a tree corresponding to a given data file.
| type | data type |
| double XeRun::NPhotonsToEr | ( | double | nP | ) |
Return Recoil energy, given expect number of photons.
| nP | expected number of photons |
| double XeRun::nSignalPerCm2 | ( | double | lt = 0. |
) |
return expected number of signal events for 1 cm2 cross section
| lt | L-Eff t-value |
| void XeRun::printBandCLsCounting | ( | int | nb | ) |
Print the CLs limits while cumulating bands one to one.
| nb | number of bands to consider |
| void XeRun::printBandContent | ( | double | leffT = 0. |
) |
| bool XeRun::printCandidates | ( | int | maxBand | ) |
Dump "candidates" (i.e.
events in lowest bands)
| Maximum | band number (number from 0) |
| bool XeRun::printEvents | ( | int | dt, | |
| int | maxBand | |||
| ) |
Dump events of a give data source looking like "candidates" (i.e.
events in lowest bands)
| dt | datatype` | |
| Maximum | band number (number from 0) |
| bool XeRun::printIt | ( | int | level = 1 |
) | [virtual] |
| void XeRun::printSelectionCutsBreakdown | ( | double | mass = 0., |
|
| double | sigma = 0., |
|||
| double | LEfft = 0. | |||
| ) |
Dump of the expected number of signal events for the sequence of selection cuts.
| mass | WIMP mass (0.: keep unchanged) | |
| sigma | cross section (0.: keep unchanged) | |
| LEfft | LEffective t-parameter |
| bool XeRun::recomputeEverything | ( | ) |
Force all run checks and band recomputing.
| void XeRun::setAnalysisS1Max | ( | double | s1Max | ) |
set the highest s1 value for band analysis
| s1Max | the maximal value |
| void XeRun::setAnalysisS1Min | ( | double | s1Min | ) |
set the lowest s1 value for band analysis
| s1Min | the minimal value |
| void XeRun::setAutomaticLimits | ( | bool | var = true |
) | [protected, virtual] |
Will pLots be in variable limits (i.e.
according to min and max) ?
| var | true is automatic limits, false in fixed limits |
Reimplemented from S1S2Object.
| void XeRun::setDarkMatterCuts | ( | XeSetOfCuts * | cuts | ) |
Set analysis (dark matter) cuts.
| cuts | analysis (dark matter) cuts to be set |
| void XeRun::setElectronBackgroundModel | ( | ElectronBackgroundModel * | model | ) |
Set model for computing electronic background (leakage).
| model | The model to be used |
| void XeRun::setEquallyFilledS1Slices | ( | bool | equal = false |
) |
Set the mode when s1 slices are equally filled.
| equal | true if yes, general case is no |
| void XeRun::setGalaxyModel | ( | GalaxyModel * | gal | ) |
Set the Galaxy model.
| gal | pointer to the GalaxyModel |
| void XeRun::setHighestS2OverS1 | ( | double | S2OverS1Max | ) |
set the highest S2OverS1 limit in band 0
| S2OverS1Max | the maximal value |
| void XeRun::setInteraction | ( | Interaction * | inter | ) |
Set the interaction.
| inter | a pointer the Interaction |
| void XeRun::setLEff | ( | LEff * | leff | ) |
| void XeRun::setLEffErMin | ( | double | e | ) |
set hard cut of lowest energy for which LEff>0
| e | energy in KeV |
| void XeRun::setLEffTValue | ( | double | tValue | ) |
Set the LEffective "t-value".
| tValue | How many sigmas above or below central L-effective |
| void XeRun::setLightYield | ( | double | lightYield | ) |
Set the light yield.
| lightYield | the value |
| void XeRun::setLowestS2OverS1 | ( | double | S2OverS1Min | ) |
set the lowest S2OverS1 limit in band 0
| S2OverS1Min | the minimal value |
| static void XeRun::setNBands | ( | int | nb = DEFAULT_N_BANDS |
) | [static] |
Set number of bands for analysis.
| nb | number of bands |
| void XeRun::setNeutronBackgroundModel | ( | NeutronBackgroundModel * | model | ) |
Set model for computing neutron background.
| model | The model to be used |
| void XeRun::setNormalization | ( | double | egamma = UNDEFINED, |
|
| double | ambe = UNDEFINED, |
|||
| double | darkMatter = UNDEFINED | |||
| ) | [protected] |
Set the relative normalizaition.
| egamma | e/gamma run/DM runs normalization | |
| ambe | AmBe run/DM runs normalization | |
| darkMatter | Dark Matter/DM runs normalization (usually 1.) |
| static void XeRun::setNSlices | ( | int | ns = DEFAULT_N_SLICES |
) | [static] |
Set number of slices for analysis.
| ns | Number of slices |
| void XeRun::setPValue | ( | PValue * | pV | ) |
Set the pValue currently is use.
| pV | current PValue |
| void XeRun::setSelectionCuts | ( | XeSetOfSelectionCuts * | cuts | ) |
Set selection cuts.
| cuts | selection cuts to be set |
| void XeRun::setSelectionCutTValue | ( | int | i, | |
| double | t | |||
| ) |
Set the "t-value" for a selection cut.
| i | cut index starting at zero | |
| tValue | How many sigmas above or below central cut |
| void XeRun::setSigmaForReports | ( | double | sigma, | |
| int | unit = SIGMA_UNIT | |||
| ) |
Set the wimp-nucleon cross section for reports, graphs, tables.
..
| sigma | the cross section | |
| unit | either SIGMA_UNIT or EVENT_UNIT |
| void XeRun::setSigmaNucleon | ( | double | sigma | ) |
Set the wimp-nucleon cross section.
| sigma | the cross section |
| void XeRun::setTarget | ( | Target * | target | ) |
| void XeRun::setWimpMass | ( | double | mass | ) |
Set the WIMP mass.
| mass | the requested mass |
| void XeRun::simulate | ( | double | sigma = 0. |
) |
simulate a run (i.e.
fill DM_CUT_DATA data sets and bands)
| sigma | cross section being simulated |
| void XeRun::smearPMT | ( | bool | smear = true |
) | [protected] |
set the smear PMT flag
| smear | do we want to smear? (default is YES) |
| void XeRun::tabulateSignalS1Spectrum | ( | int | tIndex | ) |
Tabulate S1 spectrum for one t value.
| tIndex | Index (from 0 to 2*SIDE_LEFF_TABULATED) |
| bool XeRun::withData | ( | ) |
This run was defined with data, i.e.
it's not a mock-up
| bool XeRun::withoutData | ( | ) |
This run was defined without data, i.e.
it's a mock-up
vector<double*> XeRun::AllBackgroundsInBandsS1Distribution [protected] |
Distribution of all backgrounfs for each band
vector<double*> XeRun::AllBackgroundsInBandsS1Spectrum [protected] |
Spectra of all backgrounds for each band
vector<TabulatedDist*> XeRun::AllBackgroundsInBandsS1XeDist [protected] |
Distribution of all backgrounfs for each band
vector<XeSpectrum*> XeRun::AllBackgroundsInBandsS1XeSpectrum [protected] |
Spectra of all backgrounds for each band
XeSetOfCuts XeRun::allCuts [protected] |
Set of all the cuts
double XeRun::AmBeNormalizationToEvents [protected] |
Normalisation of AmBe runs
double XeRun::AnalysisS1Max [protected] |
Maximum S1 for the analysis
double XeRun::AnalysisS1Min [protected] |
Minimum S1 for the analysis
double* XeRun::BackgroundS1SDistribution[N_BACKGROUNDS] [protected] |
pointer to S1 distribution for various backgrounds
double* XeRun::BackgroundS1Spectrum[N_BACKGROUNDS] [protected] |
pointer to S1 spectrum for various backgrounds
TabulatedDist* XeRun::BackgroundS1XeDist[N_BACKGROUNDS] [protected] |
S1 distributions for various backgrounds
XeSpectrum* XeRun::BackgroundS1XeSpectrum[N_BACKGROUNDS] [protected] |
S1 spectrum for various backgrounds
bool XeRun::backgroundsComputed [protected] |
Have all background been computed ?
vector<double> XeRun::BackgroundsInBands[N_BACKGROUNDS] [protected] |
Nominal background count for each band
S1S2Bands* XeRun::bands[N_ALL_DATA_TYPES] [protected] |
pointer to all S1S2 bands
XeSetOfCuts* XeRun::darkMatterCuts [protected] |
pointer to set of dark matter cuts
double XeRun::DarkMatterNormalization [protected] |
Normalisation of DM (1.)
bool XeRun::dataBandsAreBuilt [protected] |
Have Dark matter and calibration bands been filled?
int XeRun::dataType [protected] |
Data type, NO_DATA, REAL_DATA or SIMULATED_DATA
ElectronBackgroundModel* XeRun::ebm [protected] |
pointer to electron background model
double XeRun::EGammaNormalizationToEvents [protected] |
Normalisatoin of ER runs
bool XeRun::equallyFilledS1Slices [protected] |
Do we want S1 slices defined by equal content? (default:no)
double XeRun::Exposure [protected] |
Run exposure (in days)
double XeRun::FiducialMass [protected] |
Fiducial mass (in kg)
int XeRun::firstAnalysisS1Bin [protected] |
Lowest S1 bin for the analysis
RunFlattener* XeRun::flattener [protected] |
pointer to S1S2 flattener
bool XeRun::forcedSignalERecoilSpectrum [protected] |
Force spectrum of SignalERecoil
int XeRun::lastAnalysisS1Bin [protected] |
Highest S1 bin for the analysis
LEff* XeRun::leff [protected] |
pointer to description of L-Effective
double XeRun::LEffErMin [protected] |
Hard cut of LEff
double XeRun::LightYield [protected] |
Light yield (in pe/Kev>
int XeRun::nBands [static, protected] |
Number of bands in the analysis
NeutronBackgroundModel* XeRun::nbm [protected] |
pointer to neutron background model
int XeRun::nSlices [static, protected] |
Number of slices in the analysis
PValue* XeRun::pValue [protected] |
pointer to PValue currently in use
S1S2Bands* XeRun::referenceBands [protected] |
pointer to S1S2 reference bands
int XeRun::runNumber [protected] |
Run number
S1S2Data* XeRun::s1s2[N_CUT_DATA_TYPES] [protected] |
pointer to all S1S2 data sets
double XeRun::S2OverS1Max [protected] |
upper limit of S2/S1 for the analysis
double XeRun::S2OverS1Min [protected] |
Lower limit of S2/S1 for the analysis
double XeRun::Se [protected] |
Field quenching for Electronic recoil
XeSetOfSelectionCuts* XeRun::selectionCuts [protected] |
pointer to set of selection cuts
double XeRun::SelectionS1Max [protected] |
Maximum S1 in smeared selection cuts
double XeRun::SelectionS1Min [protected] |
Minimum S1 in smeared selection cuts
double XeRun::SelectionUS1Min [protected] |
Minimum S1 in unsmeared selection cuts
double XeRun::sigmaFactor [protected] |
sigmaForReports/getSigmaNucleon()
double XeRun::sigmaForReports [protected] |
Cross section used in plots,graphs,reports
double XeRun::SigmaPMT [protected] |
Sigma when smearing PMT response
double* XeRun::SignalERecoilDistribution [protected] |
pointer to current SignalERecoil distribution
double* XeRun::SignalERecoilSpectrum [protected] |
pointer to current the SignalERecoil spectrum
TabulatedDist* XeRun::SignalERecoilXeDist [protected] |
SignalERecoil TabulatedDist
XeSpectrum* XeRun::SignalERecoilXeSpectrum [protected] |
Current SignalERecoil XeSpectrum
double* XeRun::SignalS1Distribution[N_LEFF_TABULATED] [protected] |
pointers to expected signal S1 dist. for various Leff
double* XeRun::SignalS1Spectrum[N_LEFF_TABULATED] [protected] |
pointers to expected signal S1 spect. for various Leff
double XeRun::SignalS1Total[N_LEFF_TABULATED] [protected] |
Total events for various Leff
TabulatedDist* XeRun::SignalS1XeDist[N_LEFF_TABULATED] [protected] |
Signal S1 distribution, for various Leff
XeSpectrum* XeRun::SignalS1XeSpectrum[N_LEFF_TABULATED] [protected] |
p Signal S1 Spectrum, for various Leff
bool XeRun::signalTabulated [protected] |
Is signal tabulated?
bool XeRun::smearingPMT [protected] |
Are PMT signals to be smeared ? (default:yes)
double XeRun::Sr [protected] |
Field quenching for Neutron recoil
Target* XeRun::target [protected] |
pointer to Target in use
double XeRun::TotalContent[N_BACKGROUNDS] [protected] |
Total events for each background
double XeRun::typicalErMin [protected] |
Ermin,for fast evaluation of number of events
1.6.1