![]() |
Belle II Software development
|
A calibration algorithm for CDC dE/dx electron: 1D enta cleanup correction. More...
#include <CDCDedx1DCellAlgorithm.h>
Public Types | |
| enum | EResult { c_OK , c_Iterate , c_NotEnoughData , c_Failure , c_Undefined } |
| The result of calibration. More... | |
Public Member Functions | |
| CDCDedx1DCellAlgorithm () | |
| Constructor: Sets the description, the properties and the parameters of the algorithm. | |
| virtual | ~CDCDedx1DCellAlgorithm () |
| Destructor. | |
| void | setEntaRange (double min=-1.0, double max=1.0) |
| function to set min/max range of entrance angle for calibration | |
| void | setEntaBins (unsigned int value=316) |
| function to set number of entrance angle bins for calibration | |
| void | setHistBins (int value=250) |
| function to set nbins of dedx dist for calibration | |
| void | setHistRange (double min=0.0, double max=5.0) |
| function to set min/max range of dedx dist for calibration | |
| void | setPtLimit (double value) |
| function to set pt limit | |
| void | setCosLimit (double value) |
| function to set costheta limit | |
| void | setTrucationBins (double lowedge, double upedge) |
| function to set bins of truncation from histogram | |
| void | setSplitFactor (int value) |
| set bin split factor for all range | |
| void | setChargeType (int value) |
| set charge type | |
| void | setAdjustmentFactor (int value) |
| set adjustment factor | |
| void | setLayerTrunc (bool value=false) |
| function to set truncation method (local vs global) | |
| void | setVariableBins (bool value) |
| Set Var bins flag to on or off. | |
| void | setRotSymmetry (bool value) |
| set rotation sys to copy constants from one region to other | |
| void | enableExtraPlots (bool value=false) |
| funtion to set flag active for plotting | |
| void | setPrintLog (bool value=false) |
| funtion to set flag to print log | |
| void | setMergePayload (bool value) |
| set false if generating absolute (not relative) payload | |
| void | setSuffix (const std::string &value) |
| adding suffix to control plots | |
| unsigned int | getRepresentativeLayer (unsigned int il) const |
| Representative CDC layer for each SL group (used to access group-wise constants): SL0 => 1, SL1 => 9, SL2-8 => 17. | |
| void | setBaselineFactor (double charge, double factor) |
| adjust baseline based on charge or global overall works for only single charge or both | |
| int | rotationalBin (int nbin, int ibin) |
| class function to set rotation symmetry | |
| void | getExpRunInfo () |
| function to extract calibration run/exp | |
| void | CreateBinMapping () |
| class function to create vectors for bin mapping (Var->symm) | |
| void | defineHisto (std::array< std::vector< TH1D * >, 3 > &hdedxhit, std::array< TH1D *, 3 > &hdedxlay, std::array< TH1D *, 3 > &hentalay) |
| function to define histograms | |
| void | getTruncatedBins (TH1D *hist, int &binlow, int &binhigh) |
| function to get bins of truncation from histogram | |
| double | getTruncationMean (TH1D *hist, int binlow, int binhigh) |
| function to get truncated mean | |
| void | createPayload () |
| function to generate final constants | |
| void | plotMergeFactor (std::map< int, std::vector< double > > bounds, const std::array< int, 2 > nDev, std::map< int, std::vector< int > > steps) |
| function to plot merging factor | |
| void | plotdedxHist (std::array< std::vector< TH1D * >, m_kNGroups > &hdedxhit) |
| function to draw the dE/dx histogram in enta bins | |
| void | plotLayerDist (std::array< TH1D *, m_kNGroups > &hdedxlay) |
| function to draw dedx dist. | |
| void | plotQaPars (std::array< TH1D *, m_kNGroups > &hentalay, TH2D *hptcosth) |
| function to draw pt vs costh and entrance angle distribution for Inner/Outer layer | |
| void | plotRelConst (std::vector< double >tempconst, std::vector< double >layerconst, int il) |
| function to draw symm/Var layer constant | |
| void | plotConstants () |
| function to draw the old/new final constants | |
| void | plotEventStats () |
| function to draw the stats plots | |
| const std::string & | getPrefix () const |
| Get the prefix used for getting calibration data. | |
| const std::string & | getCollectorName () const |
| Alias for prefix. | |
| void | setPrefix (const std::string &prefix) |
| Set the prefix used to identify datastore objects. | |
| void | setInputFileNames (PyObject *inputFileNames) |
| Set the input file names used for this algorithm from a Python list. | |
| PyObject * | getInputFileNames () |
| Get the input file names used for this algorithm and pass them out as a Python list of unicode strings. | |
| std::vector< Calibration::ExpRun > | getRunListFromAllData () const |
| Get the complete list of runs from inspection of collected data. | |
| RunRange | getRunRangeFromAllData () const |
| Get the complete RunRange from inspection of collected data. | |
| IntervalOfValidity | getIovFromAllData () const |
| Get the complete IoV from inspection of collected data. | |
| void | fillRunToInputFilesMap () |
| Fill the mapping of ExpRun -> Files. | |
| const std::string & | getGranularity () const |
| Get the granularity of collected data. | |
| EResult | execute (std::vector< Calibration::ExpRun > runs={}, int iteration=0, IntervalOfValidity iov=IntervalOfValidity()) |
| Runs calibration over vector of runs for a given iteration. | |
| EResult | execute (PyObject *runs, int iteration=0, IntervalOfValidity iov=IntervalOfValidity()) |
| Runs calibration over Python list of runs. Converts to C++ and then calls the other execute() function. | |
| std::list< Database::DBImportQuery > & | getPayloads () |
| Get constants (in TObjects) for database update from last execution. | |
| const std::list< Database::DBImportQuery > & | getPayloadValues () const |
| Get constants (in TObjects) for database update from last execution. | |
| bool | commit () |
| Submit constants from last calibration into database. | |
| bool | commit (std::list< Database::DBImportQuery > payloads) |
| Submit constants from a (potentially previous) set of payloads. | |
| const std::string & | getDescription () const |
| Get the description of the algorithm (set by developers in constructor) | |
| bool | loadInputJson (const std::string &jsonString) |
| Load the m_inputJson variable from a string (useful from Python interface). The return bool indicates success or failure. | |
| const std::string | dumpOutputJson () const |
| Dump the JSON string of the output JSON object. | |
| const std::vector< Calibration::ExpRun > | findPayloadBoundaries (std::vector< Calibration::ExpRun > runs, int iteration=0) |
| Used to discover the ExpRun boundaries that you want the Python CAF to execute on. This is optional and only used in some. | |
| template<> | |
| std::shared_ptr< TTree > | getObjectPtr (const std::string &name, const std::vector< Calibration::ExpRun > &requestedRuns) |
| Specialization of getObjectPtr<TTree>. | |
Static Public Member Functions | |
| static bool | checkPyExpRun (PyObject *pyObj) |
| Checks that a PyObject can be successfully converted to an ExpRun type. | |
| static Calibration::ExpRun | convertPyExpRun (PyObject *pyObj) |
| Performs the conversion of PyObject to ExpRun. | |
Static Public Attributes | |
| static constexpr int | m_kNGroups = 3 |
| SL grouping: inner (SL0), middle (SL1), outer (SL2–8) | |
Protected Member Functions | |
| virtual EResult | calibrate () override |
| 1D cell algorithm | |
| void | setInputFileNames (const std::vector< std::string > &inputFileNames) |
| Set the input file names used for this algorithm. | |
| virtual bool | isBoundaryRequired (const Calibration::ExpRun &) |
| Given the current collector data, make a decision about whether or not this run should be the start of a payload boundary. | |
| virtual void | boundaryFindingSetup (std::vector< Calibration::ExpRun >, int) |
| If you need to make some changes to your algorithm class before 'findPayloadBoundaries' is run, make them in this function. | |
| virtual void | boundaryFindingTearDown () |
| Put your algorithm back into a state ready for normal execution if you need to. | |
| const std::vector< Calibration::ExpRun > & | getRunList () const |
| Get the list of runs for which calibration is called. | |
| int | getIteration () const |
| Get current iteration. | |
| const std::vector< std::string > & | getVecInputFileNames () const |
| Get the input file names used for this algorithm as a STL vector. | |
| template<class T> | |
| std::shared_ptr< T > | getObjectPtr (const std::string &name, const std::vector< Calibration::ExpRun > &requestedRuns) |
| Get calibration data object by name and list of runs, the Merge function will be called to generate the overall object. | |
| template<class T> | |
| std::shared_ptr< T > | getObjectPtr (std::string name) |
| Get calibration data object (for all runs the calibration is requested for) This function will only work during or after execute() has been called once. | |
| template<> | |
| shared_ptr< TTree > | getObjectPtr (const string &name, const vector< ExpRun > &requestedRuns) |
| We cheekily cast the TChain to TTree for the returned pointer so that the user never knows Hopefully this doesn't cause issues if people do low level stuff to the tree... | |
| std::string | getGranularityFromData () const |
| Get the granularity of collected data. | |
| void | saveCalibration (TClonesArray *data, const std::string &name) |
| Store DBArray payload with given name with default IOV. | |
| void | saveCalibration (TClonesArray *data, const std::string &name, const IntervalOfValidity &iov) |
| Store DBArray with given name and custom IOV. | |
| void | saveCalibration (TObject *data) |
| Store DB payload with default name and default IOV. | |
| void | saveCalibration (TObject *data, const IntervalOfValidity &iov) |
| Store DB payload with default name and custom IOV. | |
| void | saveCalibration (TObject *data, const std::string &name) |
| Store DB payload with given name with default IOV. | |
| void | saveCalibration (TObject *data, const std::string &name, const IntervalOfValidity &iov) |
| Store DB payload with given name and custom IOV. | |
| void | setDescription (const std::string &description) |
| Set algorithm description (in constructor) | |
| void | clearCalibrationData () |
| Clear calibration data. | |
| void | resetInputJson () |
| Clears the m_inputJson member variable. | |
| void | resetOutputJson () |
| Clears the m_outputJson member variable. | |
| template<class T> | |
| void | setOutputJsonValue (const std::string &key, const T &value) |
| Set a key:value pair for the outputJson object, expected to used internally during calibrate() | |
| template<class T> | |
| const T | getOutputJsonValue (const std::string &key) const |
| Get a value using a key from the JSON output object, not sure why you would want to do this. | |
| template<class T> | |
| const T | getInputJsonValue (const std::string &key) const |
| Get an input JSON value using a key. The normal exceptions are raised when the key doesn't exist. | |
| const nlohmann::json & | getInputJsonObject () const |
| Get the entire top level JSON object. We explicitly say this must be of object type so that we might pick. | |
| bool | inputJsonKeyExists (const std::string &key) const |
| Test for a key in the input JSON object. | |
Static Protected Member Functions | |
| static void | updateDBObjPtrs (const unsigned int event, const int run, const int experiment) |
| Updates any DBObjPtrs by calling update(event) for DBStore. | |
| static Calibration::ExpRun | getAllGranularityExpRun () |
| Returns the Exp,Run pair that means 'Everything'. Currently unused. | |
Protected Attributes | |
| std::vector< Calibration::ExpRun > | m_boundaries |
| When using the boundaries functionality from isBoundaryRequired, this is used to store the boundaries. It is cleared when. | |
Private Member Functions | |
| std::string | getExpRunString (Calibration::ExpRun &expRun) const |
| Gets the "exp.run" string repr. of (exp,run) | |
| std::string | getFullObjectPath (const std::string &name, Calibration::ExpRun expRun) const |
| constructs the full TDirectory + Key name of an object in a TFile based on its name and exprun | |
Private Attributes | |
| double | m_eaMin |
| lower edge of entrance angle | |
| double | m_eaMax |
| upper edge of entrance angle | |
| double | m_eaBW |
| binwdith of entrance angle bin | |
| int | m_eaBin |
| int | m_eaB |
| reset # of bins for entrance angle for each experiment | |
| double | m_dedxMin |
| lower edge of dedxhit | |
| double | m_dedxMax |
| upper edge of dedxhit | |
| int | m_dedxBin |
| double | m_ptMax |
| a limit on transverse momentum | |
| double | m_cosMax |
| a limit on cos theta | |
| double | m_truncMin |
| lower threshold on truncation | |
| double | m_truncMax |
| upper threshold on truncation | |
| int | m_binSplit |
| multiply nbins by this factor in full range | |
| double | m_chargeType |
| charge type for baseline adj | |
| double | m_adjustFac |
| factor with that one what to adjust baseline | |
| bool | isFixTrunc |
| true = fix window for all out/inner layers | |
| bool | isVarBins |
| true: if variable bin size is requested | |
| bool | isRotSymm |
| if rotation symmetry requested | |
| bool | isMakePlots |
| produce plots for status | |
| bool | isPrintLog |
| print more debug information | |
| bool | isMerge |
| print more debug information | |
| std::string | m_suffix |
| add suffix to all plot name | |
| std::string | m_runExp |
| add run and exp to title of plot | |
| std::string | m_label [m_kNGroups] = {"SL0", "SL1", "SL2-8"} |
| add inner/outer superlayer label | |
| std::vector< int > | m_eaBinLocal |
| std::array< std::vector< int >, m_kNGroups > | m_binIndex |
| symm/Var bin numbers | |
| std::array< std::vector< double >, m_kNGroups > | m_binValue |
| enta Var bin values | |
| std::vector< std::vector< double > > | m_onedcors |
| final vectors of calibration | |
| DBObjPtr< CDCDedx1DCell > | m_DBOneDCell |
| One cell correction DB object. | |
| std::vector< std::string > | m_inputFileNames |
| List of input files to the Algorithm, will initially be user defined but then gets the wildcards expanded during execute() | |
| std::map< Calibration::ExpRun, std::vector< std::string > > | m_runsToInputFiles |
| Map of Runs to input files. Gets filled when you call getRunRangeFromAllData, gets cleared when setting input files again. | |
| std::string | m_granularityOfData |
| Granularity of input data. This only changes when the input files change so it isn't specific to an execution. | |
| ExecutionData | m_data |
| Data specific to a SINGLE execution of the algorithm. Gets reset at the beginning of execution. | |
| std::string | m_description {""} |
| Description of the algorithm. | |
| std::string | m_prefix {""} |
| The name of the TDirectory the collector objects are contained within. | |
| nlohmann::json | m_jsonExecutionInput = nlohmann::json::object() |
| Optional input JSON object used to make decisions about how to execute the algorithm code. | |
| nlohmann::json | m_jsonExecutionOutput = nlohmann::json::object() |
| Optional output JSON object that can be set during the execution by the underlying algorithm code. | |
Static Private Attributes | |
| static const Calibration::ExpRun | m_allExpRun = make_pair(-1, -1) |
| allExpRun | |
A calibration algorithm for CDC dE/dx electron: 1D enta cleanup correction.
Definition at line 28 of file CDCDedx1DCellAlgorithm.h.
|
inherited |
The result of calibration.
Definition at line 40 of file CalibrationAlgorithm.h.
Constructor: Sets the description, the properties and the parameters of the algorithm.
Definition at line 25 of file CDCDedx1DCellAlgorithm.cc.
|
inlinevirtual |
|
inlineprotectedvirtualinherited |
If you need to make some changes to your algorithm class before 'findPayloadBoundaries' is run, make them in this function.
Reimplemented in PXDAnalyticGainCalibrationAlgorithm, PXDValidationAlgorithm, SVD3SampleCoGTimeCalibrationAlgorithm, SVD3SampleELSTimeCalibrationAlgorithm, SVDCoGTimeCalibrationAlgorithm, TestBoundarySettingAlgorithm, and TestCalibrationAlgorithm.
Definition at line 252 of file CalibrationAlgorithm.h.
|
inlineprotectedvirtualinherited |
Put your algorithm back into a state ready for normal execution if you need to.
Definition at line 257 of file CalibrationAlgorithm.h.
|
overrideprotectedvirtual |
1D cell algorithm
Implements CalibrationAlgorithm.
Definition at line 55 of file CDCDedx1DCellAlgorithm.cc.
|
staticinherited |
Checks that a PyObject can be successfully converted to an ExpRun type.
Checks if the PyObject can be converted to ExpRun.
Definition at line 28 of file CalibrationAlgorithm.cc.
|
inlineprotectedinherited |
Clear calibration data.
Definition at line 324 of file CalibrationAlgorithm.h.
|
inherited |
Submit constants from last calibration into database.
Definition at line 302 of file CalibrationAlgorithm.cc.
|
inherited |
Submit constants from a (potentially previous) set of payloads.
Definition at line 312 of file CalibrationAlgorithm.cc.
|
staticinherited |
Performs the conversion of PyObject to ExpRun.
Converts the PyObject to an ExpRun. We've preoviously checked the object so this assumes a lot about the PyObject.
Definition at line 70 of file CalibrationAlgorithm.cc.
| void CreateBinMapping | ( | ) |
class function to create vectors for bin mapping (Var->symm)
Definition at line 257 of file CDCDedx1DCellAlgorithm.cc.
| void createPayload | ( | ) |
function to generate final constants
Definition at line 410 of file CDCDedx1DCellAlgorithm.cc.
| void defineHisto | ( | std::array< std::vector< TH1D * >, 3 > & | hdedxhit, |
| std::array< TH1D *, 3 > & | hdedxlay, | ||
| std::array< TH1D *, 3 > & | hentalay ) |
function to define histograms
Definition at line 322 of file CDCDedx1DCellAlgorithm.cc.
|
inlineinherited |
Dump the JSON string of the output JSON object.
Definition at line 223 of file CalibrationAlgorithm.h.
|
inline |
funtion to set flag active for plotting
Definition at line 115 of file CDCDedx1DCellAlgorithm.h.
|
inherited |
Runs calibration over Python list of runs. Converts to C++ and then calls the other execute() function.
Definition at line 83 of file CalibrationAlgorithm.cc.
|
inherited |
Runs calibration over vector of runs for a given iteration.
You can also specify the IoV to save the database payload as. By default the Algorithm will create an IoV from your requested ExpRuns, or from the overall ExpRuns of the input data if you haven't specified ExpRuns in this function.
No checks are performed to make sure that a IoV you specify matches the data you ran over, it simply labels the IoV to commit to the database later.
Definition at line 114 of file CalibrationAlgorithm.cc.
|
inherited |
Fill the mapping of ExpRun -> Files.
Definition at line 331 of file CalibrationAlgorithm.cc.
|
inherited |
Used to discover the ExpRun boundaries that you want the Python CAF to execute on. This is optional and only used in some.
Definition at line 521 of file CalibrationAlgorithm.cc.
|
inlinestaticprotectedinherited |
Returns the Exp,Run pair that means 'Everything'. Currently unused.
Definition at line 327 of file CalibrationAlgorithm.h.
|
inlineinherited |
Alias for prefix.
For convenience and less writing, we say developers to set this to default collector module name in constructor of base class. One can however use the dublets of collector+algorithm multiple times with different settings. To bind these together correctly, the prefix has to be set the same for algo and collector. So we call the setter setPrefix rather than setModuleName or whatever. This getter will work out of the box for default cases -> return the name of module you have to add to your path to collect data for this algorithm.
Definition at line 164 of file CalibrationAlgorithm.h.
|
inlineinherited |
Get the description of the algorithm (set by developers in constructor)
Definition at line 216 of file CalibrationAlgorithm.h.
| void getExpRunInfo | ( | ) |
function to extract calibration run/exp
Definition at line 232 of file CDCDedx1DCellAlgorithm.cc.
|
privateinherited |
Gets the "exp.run" string repr. of (exp,run)
Definition at line 254 of file CalibrationAlgorithm.cc.
|
privateinherited |
constructs the full TDirectory + Key name of an object in a TFile based on its name and exprun
Definition at line 263 of file CalibrationAlgorithm.cc.
|
inlineinherited |
Get the granularity of collected data.
Definition at line 188 of file CalibrationAlgorithm.h.
|
protectedinherited |
Get the granularity of collected data.
Definition at line 384 of file CalibrationAlgorithm.cc.
|
inherited |
Get the input file names used for this algorithm and pass them out as a Python list of unicode strings.
Definition at line 245 of file CalibrationAlgorithm.cc.
|
inlineprotectedinherited |
Get the entire top level JSON object. We explicitly say this must be of object type so that we might pick.
Definition at line 357 of file CalibrationAlgorithm.h.
|
inlineprotectedinherited |
Get an input JSON value using a key. The normal exceptions are raised when the key doesn't exist.
Definition at line 350 of file CalibrationAlgorithm.h.
|
inherited |
Get the complete IoV from inspection of collected data.
Definition at line 326 of file CalibrationAlgorithm.cc.
|
inlineprotectedinherited |
Get current iteration.
Definition at line 269 of file CalibrationAlgorithm.h.
|
inlineprotectedinherited |
Get calibration data object (for all runs the calibration is requested for) This function will only work during or after execute() has been called once.
Definition at line 285 of file CalibrationAlgorithm.h.
|
inlineprotectedinherited |
Get a value using a key from the JSON output object, not sure why you would want to do this.
Definition at line 342 of file CalibrationAlgorithm.h.
|
inlineinherited |
Get constants (in TObjects) for database update from last execution.
Definition at line 204 of file CalibrationAlgorithm.h.
|
inlineinherited |
Get constants (in TObjects) for database update from last execution.
Definition at line 207 of file CalibrationAlgorithm.h.
|
inlineinherited |
Get the prefix used for getting calibration data.
Definition at line 146 of file CalibrationAlgorithm.h.
|
inline |
Representative CDC layer for each SL group (used to access group-wise constants): SL0 => 1, SL1 => 9, SL2-8 => 17.
Definition at line 137 of file CDCDedx1DCellAlgorithm.h.
|
inlineprotectedinherited |
Get the list of runs for which calibration is called.
Definition at line 266 of file CalibrationAlgorithm.h.
Get the complete list of runs from inspection of collected data.
Definition at line 319 of file CalibrationAlgorithm.cc.
|
inherited |
Get the complete RunRange from inspection of collected data.
Definition at line 362 of file CalibrationAlgorithm.cc.
| void getTruncatedBins | ( | TH1D * | hist, |
| int & | binlow, | ||
| int & | binhigh ) |
function to get bins of truncation from histogram
Definition at line 362 of file CDCDedx1DCellAlgorithm.cc.
| double getTruncationMean | ( | TH1D * | hist, |
| int | binlow, | ||
| int | binhigh ) |
function to get truncated mean
Definition at line 389 of file CDCDedx1DCellAlgorithm.cc.
|
inlineprotectedinherited |
Get the input file names used for this algorithm as a STL vector.
Definition at line 275 of file CalibrationAlgorithm.h.
|
inlineprotectedinherited |
Test for a key in the input JSON object.
Definition at line 360 of file CalibrationAlgorithm.h.
|
inlineprotectedvirtualinherited |
Given the current collector data, make a decision about whether or not this run should be the start of a payload boundary.
Reimplemented in PXDAnalyticGainCalibrationAlgorithm, PXDValidationAlgorithm, SVD3SampleCoGTimeCalibrationAlgorithm, SVD3SampleELSTimeCalibrationAlgorithm, SVDCoGTimeCalibrationAlgorithm, TestBoundarySettingAlgorithm, and TestCalibrationAlgorithm.
Definition at line 243 of file CalibrationAlgorithm.h.
|
inherited |
Load the m_inputJson variable from a string (useful from Python interface). The return bool indicates success or failure.
Definition at line 503 of file CalibrationAlgorithm.cc.
| void plotConstants | ( | ) |
function to draw the old/new final constants
Definition at line 672 of file CDCDedx1DCellAlgorithm.cc.
| void plotdedxHist | ( | std::array< std::vector< TH1D * >, m_kNGroups > & | hdedxhit | ) |
function to draw the dE/dx histogram in enta bins
Definition at line 526 of file CDCDedx1DCellAlgorithm.cc.
| void plotEventStats | ( | ) |
function to draw the stats plots
Definition at line 735 of file CDCDedx1DCellAlgorithm.cc.
| void plotLayerDist | ( | std::array< TH1D *, m_kNGroups > & | hdedxlay | ) |
function to draw dedx dist.
for Inner/outer layer
Definition at line 569 of file CDCDedx1DCellAlgorithm.cc.
| void plotMergeFactor | ( | std::map< int, std::vector< double > > | bounds, |
| const std::array< int, 2 > | nDev, | ||
| std::map< int, std::vector< int > > | steps ) |
function to plot merging factor
Definition at line 489 of file CDCDedx1DCellAlgorithm.cc.
| void plotQaPars | ( | std::array< TH1D *, m_kNGroups > & | hentalay, |
| TH2D * | hptcosth ) |
function to draw pt vs costh and entrance angle distribution for Inner/Outer layer
Definition at line 602 of file CDCDedx1DCellAlgorithm.cc.
| void plotRelConst | ( | std::vector< double > | tempconst, |
| std::vector< double > | layerconst, | ||
| int | il ) |
function to draw symm/Var layer constant
Definition at line 626 of file CDCDedx1DCellAlgorithm.cc.
|
inlineprotectedinherited |
Clears the m_inputJson member variable.
Definition at line 330 of file CalibrationAlgorithm.h.
|
inlineprotectedinherited |
Clears the m_outputJson member variable.
Definition at line 333 of file CalibrationAlgorithm.h.
|
inline |
class function to set rotation symmetry
Definition at line 161 of file CDCDedx1DCellAlgorithm.h.
|
protectedinherited |
Store DBArray payload with given name with default IOV.
Definition at line 297 of file CalibrationAlgorithm.cc.
|
protectedinherited |
Store DBArray with given name and custom IOV.
Definition at line 276 of file CalibrationAlgorithm.cc.
|
protectedinherited |
Store DB payload with default name and default IOV.
Definition at line 287 of file CalibrationAlgorithm.cc.
|
protectedinherited |
Store DB payload with default name and custom IOV.
Definition at line 282 of file CalibrationAlgorithm.cc.
|
protectedinherited |
Store DB payload with given name with default IOV.
Definition at line 292 of file CalibrationAlgorithm.cc.
|
protectedinherited |
Store DB payload with given name and custom IOV.
Definition at line 270 of file CalibrationAlgorithm.cc.
|
inline |
set adjustment factor
Definition at line 95 of file CDCDedx1DCellAlgorithm.h.
|
inline |
adjust baseline based on charge or global overall works for only single charge or both
Definition at line 147 of file CDCDedx1DCellAlgorithm.h.
|
inline |
|
inline |
function to set costheta limit
Definition at line 72 of file CDCDedx1DCellAlgorithm.h.
|
inlineprotectedinherited |
Set algorithm description (in constructor)
Definition at line 321 of file CalibrationAlgorithm.h.
|
inline |
function to set number of entrance angle bins for calibration
Definition at line 52 of file CDCDedx1DCellAlgorithm.h.
|
inline |
function to set min/max range of entrance angle for calibration
Definition at line 47 of file CDCDedx1DCellAlgorithm.h.
|
inline |
function to set nbins of dedx dist for calibration
Definition at line 57 of file CDCDedx1DCellAlgorithm.h.
|
inline |
function to set min/max range of dedx dist for calibration
Definition at line 62 of file CDCDedx1DCellAlgorithm.h.
|
protectedinherited |
Set the input file names used for this algorithm.
Set the input file names used for this algorithm and resolve the wildcards.
Definition at line 194 of file CalibrationAlgorithm.cc.
|
inherited |
Set the input file names used for this algorithm from a Python list.
Set the input file names used for this algorithm and resolve the wildcards.
Definition at line 166 of file CalibrationAlgorithm.cc.
|
inline |
function to set truncation method (local vs global)
Definition at line 100 of file CDCDedx1DCellAlgorithm.h.
|
inline |
set false if generating absolute (not relative) payload
Definition at line 126 of file CDCDedx1DCellAlgorithm.h.
|
inlineprotectedinherited |
Set a key:value pair for the outputJson object, expected to used internally during calibrate()
Definition at line 337 of file CalibrationAlgorithm.h.
|
inlineinherited |
Set the prefix used to identify datastore objects.
Definition at line 167 of file CalibrationAlgorithm.h.
|
inline |
funtion to set flag to print log
Definition at line 120 of file CDCDedx1DCellAlgorithm.h.
|
inline |
function to set pt limit
Definition at line 67 of file CDCDedx1DCellAlgorithm.h.
|
inline |
set rotation sys to copy constants from one region to other
Definition at line 110 of file CDCDedx1DCellAlgorithm.h.
|
inline |
set bin split factor for all range
Definition at line 85 of file CDCDedx1DCellAlgorithm.h.
|
inline |
adding suffix to control plots
Definition at line 131 of file CDCDedx1DCellAlgorithm.h.
|
inline |
function to set bins of truncation from histogram
Definition at line 77 of file CDCDedx1DCellAlgorithm.h.
|
inline |
Set Var bins flag to on or off.
Definition at line 105 of file CDCDedx1DCellAlgorithm.h.
|
staticprotectedinherited |
Updates any DBObjPtrs by calling update(event) for DBStore.
Definition at line 405 of file CalibrationAlgorithm.cc.
|
private |
true = fix window for all out/inner layers
Definition at line 267 of file CDCDedx1DCellAlgorithm.h.
|
private |
produce plots for status
Definition at line 270 of file CDCDedx1DCellAlgorithm.h.
|
private |
print more debug information
Definition at line 272 of file CDCDedx1DCellAlgorithm.h.
|
private |
print more debug information
Definition at line 271 of file CDCDedx1DCellAlgorithm.h.
|
private |
if rotation symmetry requested
Definition at line 269 of file CDCDedx1DCellAlgorithm.h.
|
private |
true: if variable bin size is requested
Definition at line 268 of file CDCDedx1DCellAlgorithm.h.
|
private |
factor with that one what to adjust baseline
Definition at line 265 of file CDCDedx1DCellAlgorithm.h.
|
staticprivateinherited |
allExpRun
Definition at line 364 of file CalibrationAlgorithm.h.
|
private |
symm/Var bin numbers
Definition at line 279 of file CDCDedx1DCellAlgorithm.h.
|
private |
multiply nbins by this factor in full range
Definition at line 262 of file CDCDedx1DCellAlgorithm.h.
|
private |
enta Var bin values
Definition at line 280 of file CDCDedx1DCellAlgorithm.h.
|
protectedinherited |
When using the boundaries functionality from isBoundaryRequired, this is used to store the boundaries. It is cleared when.
Definition at line 261 of file CalibrationAlgorithm.h.
|
private |
charge type for baseline adj
Definition at line 264 of file CDCDedx1DCellAlgorithm.h.
|
private |
a limit on cos theta
Definition at line 257 of file CDCDedx1DCellAlgorithm.h.
|
privateinherited |
Data specific to a SINGLE execution of the algorithm. Gets reset at the beginning of execution.
Definition at line 382 of file CalibrationAlgorithm.h.
|
private |
One cell correction DB object.
Definition at line 284 of file CDCDedx1DCellAlgorithm.h.
|
private |
Definition at line 254 of file CDCDedx1DCellAlgorithm.h.
|
private |
upper edge of dedxhit
Definition at line 253 of file CDCDedx1DCellAlgorithm.h.
|
private |
lower edge of dedxhit
Definition at line 252 of file CDCDedx1DCellAlgorithm.h.
|
privateinherited |
|
private |
reset # of bins for entrance angle for each experiment
Definition at line 250 of file CDCDedx1DCellAlgorithm.h.
|
private |
Definition at line 249 of file CDCDedx1DCellAlgorithm.h.
|
private |
Definition at line 278 of file CDCDedx1DCellAlgorithm.h.
|
private |
binwdith of entrance angle bin
Definition at line 248 of file CDCDedx1DCellAlgorithm.h.
|
private |
upper edge of entrance angle
Definition at line 247 of file CDCDedx1DCellAlgorithm.h.
|
private |
lower edge of entrance angle
Definition at line 246 of file CDCDedx1DCellAlgorithm.h.
|
privateinherited |
Granularity of input data. This only changes when the input files change so it isn't specific to an execution.
Definition at line 379 of file CalibrationAlgorithm.h.
|
privateinherited |
List of input files to the Algorithm, will initially be user defined but then gets the wildcards expanded during execute()
Definition at line 373 of file CalibrationAlgorithm.h.
|
privateinherited |
Optional input JSON object used to make decisions about how to execute the algorithm code.
Definition at line 397 of file CalibrationAlgorithm.h.
|
privateinherited |
Optional output JSON object that can be set during the execution by the underlying algorithm code.
Definition at line 403 of file CalibrationAlgorithm.h.
|
staticconstexpr |
SL grouping: inner (SL0), middle (SL1), outer (SL2–8)
Definition at line 32 of file CDCDedx1DCellAlgorithm.h.
|
private |
add inner/outer superlayer label
Definition at line 276 of file CDCDedx1DCellAlgorithm.h.
|
private |
final vectors of calibration
Definition at line 282 of file CDCDedx1DCellAlgorithm.h.
|
privateinherited |
The name of the TDirectory the collector objects are contained within.
Definition at line 388 of file CalibrationAlgorithm.h.
|
private |
a limit on transverse momentum
Definition at line 256 of file CDCDedx1DCellAlgorithm.h.
|
private |
add run and exp to title of plot
Definition at line 275 of file CDCDedx1DCellAlgorithm.h.
|
privateinherited |
Map of Runs to input files. Gets filled when you call getRunRangeFromAllData, gets cleared when setting input files again.
Definition at line 376 of file CalibrationAlgorithm.h.
|
private |
add suffix to all plot name
Definition at line 274 of file CDCDedx1DCellAlgorithm.h.
|
private |
upper threshold on truncation
Definition at line 260 of file CDCDedx1DCellAlgorithm.h.
|
private |
lower threshold on truncation
Definition at line 259 of file CDCDedx1DCellAlgorithm.h.