|
JAPAn
Just Another Parity Analyzer
|
Data handler computing correlations and linear-regression coefficients. More...
#include <QwCorrelatorNew.h>
Inheritance diagram for QwCorrelatorNew:
Collaboration diagram for QwCorrelatorNew:Public Member Functions | |
| QwCorrelatorNew (const TString &name) | |
| Constructor with name. | |
| QwCorrelatorNew (const QwCorrelatorNew &name) | |
| ~QwCorrelatorNew () override | |
| void | ProcessOptions (QwOptions &options) |
| void | ParseConfigFile (QwParameterFile &file) override |
| Int_t | LoadChannelMap (const std::string &mapfile) override |
| Int_t | ConnectChannels (QwSubsystemArrayParity &asym, QwSubsystemArrayParity &diff) override |
| Connect to Channels (asymmetry/difference only) | |
| void | ProcessData () override |
| void | FinishDataHandler () override |
| void | CalcCorrelations () |
| void | ConstructTreeBranches (QwRootFile *treerootfile, const std::string &treeprefix="", const std::string &branchprefix="") override |
| Construct the tree branches. | |
| void | FillTreeBranches (QwRootFile *treerootfile) override |
| Fill the tree branches. | |
| void | ConstructHistograms (TDirectory *folder, TString &prefix) override |
| Construct the histograms in a folder with a prefix. | |
| void | FillHistograms () override |
| Fill the histograms. | |
| void | ClearEventData () override |
| void | AccumulateRunningSum (VQwDataHandler &value, Int_t count=0, Int_t ErrorMask=0xFFFFFFF) override |
| void | solve () |
| bool | failed () |
| void | printSummaryP () const |
| void | printSummaryY () const |
| void | printSummaryYP () const |
| void | printSummaryAlphas () const |
| void | printSummaryMeansWithUnc () const |
| void | printSummaryMeansWithUncCorrected () const |
| void | print () |
| void | init () |
| void | clear () |
| void | setDims (int a, int b) |
| Int_t | getMeanP (const int i, Double_t &mean) const |
| Get mean value of a variable, returns error code. | |
| Int_t | getMeanY (const int i, Double_t &mean) const |
| Int_t | getMeanYprime (const int i, Double_t &mean) const |
| Int_t | getSigmaP (const int i, Double_t &sigma) const |
| Get mean value of a variable, returns error code. | |
| Int_t | getSigmaY (const int i, Double_t &sigma) const |
| Int_t | getSigmaYprime (const int i, Double_t &sigma) const |
| Int_t | getCovarianceP (int i, int j, Double_t &covar) const |
| Get mean value of a variable, returns error code. | |
| Int_t | getCovariancePY (int ip, int iy, Double_t &covar) const |
| Int_t | getCovarianceY (int i, int j, Double_t &covar) const |
| double | getUsedEve () const |
| QwCorrelatorNew & | operator+= (const std::pair< TVectorD, TVectorD > &rhs) |
| QwCorrelatorNew & | operator+= (const QwCorrelatorNew &rhs) |
Public Member Functions inherited from VQwDataHandler | |
| VQwDataHandler (const TString &name) | |
| VQwDataHandler (const VQwDataHandler &source) | |
| void | SetPointer (QwHelicityPattern *ptr) |
| void | SetPointer (QwSubsystemArrayParity *ptr) |
| virtual Int_t | ConnectChannels (QwSubsystemArrayParity &, QwSubsystemArrayParity &asym, QwSubsystemArrayParity &diff) |
| virtual Int_t | ConnectChannels (QwSubsystemArrayParity &) |
| Int_t | ConnectChannels (QwHelicityPattern &helicitypattern) |
| virtual void | UpdateBurstCounter (Short_t burstcounter) |
| ~VQwDataHandler () override | |
| TString | GetName () |
| void | InitRunningSum () |
| void | AccumulateRunningSum () |
| void | CalculateRunningAverage () |
| void | PrintValue () const |
| void | WritePromptSummary (QwPromptSummary *ps, TString type) |
| virtual void | ConstructNTupleFields (QwRootFile *treerootfile, const std::string &treeprefix="", const std::string &branchprefix="") |
| RNTuple methods. | |
| virtual void | FillNTupleFields (QwRootFile *treerootfile) |
| void | FillTreeVector (QwRootTreeBranchVector &values) const |
| void | ConstructBranchAndVector (TTree *tree, TString &prefix, QwRootTreeBranchVector &values) |
| void | SetRunLabel (TString x) |
| Int_t | LoadChannelMap () |
| Bool_t | PublishInternalValues () const override |
| Publish all variables of the subsystem. | |
| Bool_t | PublishByRequest (TString device_name) override |
| Try to publish an internal variable matching the submitted name. | |
Public Member Functions inherited from MQwPublishable_child< QwDataHandlerArray, VQwDataHandler > | |
| MQwPublishable_child () | |
| Default constructor Initializes the child object and sets up self-reference for publishing. | |
| MQwPublishable_child (const MQwPublishable_child &source) | |
| Copy constructor. | |
| virtual | ~MQwPublishable_child () |
| Virtual destructor. | |
| void | SetParent (QwDataHandlerArray *parent) |
| Set the parent container for this child object. | |
| QwDataHandlerArray * | GetParent () const |
| Get the parent container for this child object. | |
Public Member Functions inherited from MQwCloneable< VQwDataHandler, QwCorrelatorNew > | |
| ~MQwCloneable () override | |
| Virtual destructor. | |
| VQwDataHandler * | Clone () const override |
| Concrete clone method. | |
| const VQwFactory< VQwDataHandler > * | Factory () const override |
| Factory getter. | |
Public Member Functions inherited from VQwCloneable< VQwDataHandler > | |
| virtual | ~VQwCloneable () |
| Virtual destructor. | |
| std::string | GetClassName () const |
| Get demangled name of this class. | |
Static Public Member Functions | |
| static void | DefineOptions (QwOptions &options) |
Static Public Member Functions inherited from MQwCloneable< VQwDataHandler, QwCorrelatorNew > | |
| static VQwDataHandler * | Create (const std::string &name) |
| Object creation. | |
| static QwCorrelatorNew * | Cast (QwCorrelatorNew *type) |
| Object dynamic cast. | |
Protected Member Functions | |
| void | OpenAlphaFile (const std::string &prefix) |
| void | WriteAlphaFile () |
| void | CloseAlphaFile () |
| void | OpenAliasFile (const std::string &prefix) |
| void | WriteAliasFile () |
| void | CloseAliasFile () |
Protected Member Functions inherited from VQwDataHandler | |
| VQwDataHandler () | |
| void | SetEventcutErrorFlagPointer (const UInt_t *errorflagptr) |
| UInt_t | GetEventcutErrorFlag () const |
| std::pair< EQwHandleType, std::string > | ParseHandledVariable (const std::string &variable) |
| void | CalcOneOutput (const VQwHardwareChannel *dv, VQwHardwareChannel *output, std::vector< const VQwHardwareChannel * > &ivs, std::vector< Double_t > &sens) |
Protected Member Functions inherited from MQwPublishable_child< QwDataHandlerArray, VQwDataHandler > | |
| Bool_t | RequestExternalValue (const TString &name, VQwHardwareChannel *value) const |
| Retrieve the variable name from other subsystem arrays Get the value corresponding to some variable name from a different data array. | |
| const VQwHardwareChannel * | RequestExternalPointer (const TString &name) const |
| Retrieve a pointer to an external variable by name Requests a direct pointer to a variable from sibling subsystems via the parent container. | |
| Bool_t | PublishInternalValue (const TString name, const TString desc, const VQwHardwareChannel *element) const |
| Publish a variable from this child into the parent container. | |
Protected Attributes | |
| Int_t | fBlock |
| bool | fDisableHistos |
| std::vector< std::string > | fIndependentFull |
| std::vector< EQwHandleType > | fIndependentType |
| std::vector< std::string > | fIndependentName |
| std::vector< const VQwHardwareChannel * > | fIndependentVar |
| std::vector< Double_t > | fIndependentValues |
| std::string | fAlphaOutputFileBase |
| std::string | fAlphaOutputFileSuff |
| std::string | fAlphaOutputPath |
| TFile * | fAlphaOutputFile |
| TTree * | fTree |
| std::string | fAliasOutputFileBase |
| std::string | fAliasOutputFileSuff |
| std::string | fAliasOutputPath |
| std::ofstream | fAliasOutputFile |
| int | fTotalCount |
| int | fGoodCount |
| int | fErrCounts_EF |
| std::vector< int > | fErrCounts_IV |
| std::vector< int > | fErrCounts_DV |
| unsigned int | fGoodEvent |
Protected Attributes inherited from VQwDataHandler | |
| Int_t | fPriority |
| Short_t | fBurstCounter |
| When a datahandler array is processed, handlers with lower priority will be processed before handlers with higher priority. | |
| TString | fName |
| std::string | fMapFile |
| std::string | fTreeName |
| std::string | fTreeComment |
| std::string | fPrefix |
| TString | run_label |
| const UInt_t * | fErrorFlagPtr |
| Error flag pointer. | |
| QwSubsystemArrayParity * | fSubsystemArray |
| Single event pointer. | |
| QwHelicityPattern * | fHelicityPattern |
| Helicity pattern pointer. | |
| std::vector< std::string > | fDependentFull |
| std::vector< EQwHandleType > | fDependentType |
| std::vector< std::string > | fDependentName |
| std::vector< const VQwHardwareChannel * > | fDependentVar |
| std::vector< Double_t > | fDependentValues |
| std::vector< VQwHardwareChannel * > | fOutputVar |
| std::vector< Double_t > | fOutputValues |
| std::vector< std::vector< TString > > | fPublishList |
| std::string | ParseSeparator |
| Bool_t | fKeepRunningSum |
| Bool_t | fRunningsumFillsTree |
| VQwDataHandler * | fRunningsum |
Private Member Functions | |
| QwCorrelatorNew () | |
Private Attributes | |
| TString | fNameNoSpaces |
| int | nP |
| int | nY |
| std::vector< TH1D > | fHnames |
| std::vector< TH1D > | fH1iv |
| std::vector< TH1D > | fH1dv |
| std::vector< std::vector< TH2D > > | fH2iv |
| std::vector< std::vector< TH2D > > | fH2dv |
| Int_t | fCycleCounter |
| Int_t | fErrorFlag |
| is information valid | |
| Long64_t | fGoodEventNumber |
| accumulated so far | |
| TMatrixD | mRPY |
| correlations | |
| TMatrixD | mRYP |
| TMatrixD | mRPP |
| TMatrixD | mRYY |
| TMatrixD | mRYYp |
| TMatrixD | mVPY |
| unnormalized covariances | |
| TMatrixD | mVYP |
| TMatrixD | mVPP |
| TMatrixD | mVYY |
| TMatrixD | mVYYp |
| TVectorD | mVP |
| variances | |
| TVectorD | mVY |
| TVectorD | mVYp |
| TMatrixD | mSPY |
| normalized covariances | |
| TMatrixD | mSYP |
| TMatrixD | mSPP |
| TMatrixD | mSYY |
| TMatrixD | mSYYp |
| TVectorD | mSP |
| sigmas | |
| TVectorD | mSY |
| TVectorD | mSYp |
| TVectorD | mMP |
| mean values | |
| TVectorD | mMY |
| TVectorD | mMYp |
| TMatrixD | Axy |
| slopes | |
| TMatrixD | Ayx |
| TMatrixD | dAxy |
| TMatrixD | dAyx |
Static Private Attributes | |
| static bool | fPrintCorrelations = false |
Friends | |
| QwCorrelatorNew | operator+ (QwCorrelatorNew lhs, const QwCorrelatorNew &rhs) |
| std::ostream & | operator<< (std::ostream &stream, const QwCorrelatorNew &h) |
| Output stream operator. | |
Additional Inherited Members | |
Public Types inherited from VQwDataHandler | |
| enum | EQwHandleType { kHandleTypeUnknown =0 , kHandleTypeMps , kHandleTypeAsym , kHandleTypeDiff , kHandleTypeYield } |
| typedef std::vector< VQwHardwareChannel * >::iterator | Iterator_HdwChan |
| typedef std::vector< VQwHardwareChannel * >::const_iterator | ConstIterator_HdwChan |
Data handler computing correlations and linear-regression coefficients.
Uses Bevington/Pebay algorithms to estimate correlations between independent and dependent variables selected from subsystem arrays. Produces summary histograms and optional output trees/files for further analysis.
Definition at line 26 of file QwCorrelatorNew.h.
| QwCorrelatorNew::QwCorrelatorNew | ( | const TString & | name | ) |
Constructor with name.
Definition at line 21 of file QwCorrelatorNew.cc.
References ClearEventData(), fAliasOutputFileBase, fAliasOutputFileSuff, fAliasOutputPath, fAlphaOutputFile, fAlphaOutputFileBase, fAlphaOutputFileSuff, fAlphaOutputPath, fBlock, fCycleCounter, fDisableHistos, fNameNoSpaces, fTree, VQwDataHandler::fTreeComment, VQwDataHandler::fTreeName, nP, nY, VQwDataHandler::ParseSeparator, and VQwDataHandler::VQwDataHandler().
Referenced by AccumulateRunningSum(), operator+, operator+=(), operator+=(), operator<<, and QwCorrelatorNew().
Here is the call graph for this function:
Here is the caller graph for this function:| QwCorrelatorNew::QwCorrelatorNew | ( | const QwCorrelatorNew & | name | ) |
Definition at line 709 of file QwCorrelatorNew.cc.
References ClearEventData(), QwLog::endl(), fAliasOutputFileBase, fAliasOutputFileSuff, fAliasOutputPath, fAlphaOutputFile, fAlphaOutputFileBase, fAlphaOutputFileSuff, fAlphaOutputPath, fBlock, fCycleCounter, fDisableHistos, fErrorFlag, fGoodEventNumber, fTree, nP, nY, QwCorrelatorNew(), QwMessage, QwWarning, and VQwDataHandler::VQwDataHandler().
Here is the call graph for this function:
|
override |
Definition at line 48 of file QwCorrelatorNew.cc.
References CloseAliasFile(), and CloseAlphaFile().
Here is the call graph for this function:
|
private |
Definition at line 701 of file QwCorrelatorNew.cc.
References fErrorFlag, fGoodEventNumber, nP, and nY.
|
overridevirtual |
Reimplemented from VQwDataHandler.
Definition at line 132 of file QwCorrelatorNew.cc.
References QwLog::endl(), operator+=(), QwCorrelatorNew(), QwWarning, and VQwDataHandler::VQwDataHandler().
Here is the call graph for this function:| void QwCorrelatorNew::CalcCorrelations | ( | ) |
Definition at line 144 of file QwCorrelatorNew.cc.
References QwLog::endl(), failed(), VQwDataHandler::fDependentVar, fErrCounts_DV, fErrCounts_EF, fErrCounts_IV, fGoodCount, fIndependentVar, fPrintCorrelations, fTotalCount, fTree, VQwDataHandler::GetName(), nP, nY, printSummaryAlphas(), printSummaryMeansWithUnc(), printSummaryMeansWithUncCorrected(), printSummaryP(), printSummaryY(), QwMessage, QwVerbose, QwWarning, solve(), WriteAliasFile(), and WriteAlphaFile().
Referenced by FinishDataHandler().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwCorrelatorNew::clear | ( | ) |
Definition at line 775 of file QwCorrelatorNew.cc.
References Axy, Ayx, dAxy, dAyx, fErrorFlag, fGoodEventNumber, mMP, mMY, mMYp, mRPP, mRPY, mRYP, mRYY, mRYYp, mSP, mSPP, mSPY, mSY, mSYP, mSYp, mSYY, mSYYp, mVP, mVPP, mVPY, mVY, mVYP, mVYp, mVYY, and mVYYp.
Referenced by ClearEventData().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from VQwDataHandler.
Definition at line 116 of file QwCorrelatorNew.cc.
References clear(), fErrCounts_DV, fErrCounts_EF, fErrCounts_IV, fGoodCount, fGoodEvent, and fTotalCount.
Referenced by QwCorrelatorNew(), and QwCorrelatorNew().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 657 of file QwCorrelatorNew.cc.
References QwLog::endl(), fAliasOutputFile, and QwWarning.
Referenced by ~QwCorrelatorNew().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 648 of file QwCorrelatorNew.cc.
References fAlphaOutputFile.
Referenced by ~QwCorrelatorNew().
Here is the caller graph for this function:
|
overridevirtual |
Connect to Channels (asymmetry/difference only)
| asym | Subsystem array with asymmetries |
| diff | Subsystem array with differences |
Fill vector of pointers to the relevant data elements
Reimplemented from VQwDataHandler.
Definition at line 259 of file QwCorrelatorNew.cc.
References QwLog::endl(), VQwDataHandler::fDependentFull, VQwDataHandler::fDependentName, VQwDataHandler::fDependentType, VQwDataHandler::fDependentValues, VQwDataHandler::fDependentVar, fErrCounts_DV, fErrCounts_IV, fIndependentFull, fIndependentName, fIndependentType, fIndependentValues, fIndependentVar, QwSubsystemArrayParity::GetEventcutErrorFlagPointer(), init(), VQwDataHandler::kHandleTypeAsym, VQwDataHandler::kHandleTypeDiff, VQwDataHandler::kHandleTypeMps, nP, nY, QwWarning, MQwPublishable< U, T >::RequestExternalPointer(), MQwPublishable_child< QwDataHandlerArray, VQwDataHandler >::RequestExternalPointer(), setDims(), and VQwDataHandler::SetEventcutErrorFlagPointer().
Here is the call graph for this function:
|
overridevirtual |
Construct the histograms in a folder with a prefix.
Reimplemented from VQwDataHandler.
Definition at line 440 of file QwCorrelatorNew.cc.
References VQwDataHandler::fDependentName, fDisableHistos, fH1dv, fH1iv, fH2dv, fH2iv, fHnames, fIndependentName, VQwDataHandler::fName, nP, and nY.
|
overridevirtual |
Construct the tree branches.
Reimplemented from VQwDataHandler.
Definition at line 352 of file QwCorrelatorNew.cc.
References Axy, dAxy, QwLog::endl(), fErrorFlag, fGoodCount, fGoodEventNumber, fTotalCount, fTree, VQwDataHandler::fTreeComment, VQwDataHandler::fTreeName, QwRootFile::GetTree(), mMP, mMY, mMYp, mRPP, mRPY, mRYP, mRYY, mRYYp, mSP, mSPP, mSPY, mSY, mSYP, mSYp, mSYY, mSYYp, mVPP, mVPY, mVYP, mVYY, mVYYp, QwRootFile::NewTree(), nP, nY, OpenAliasFile(), OpenAlphaFile(), and QwWarning.
Here is the call graph for this function:
|
static |
Definition at line 55 of file QwCorrelatorNew.cc.
References QwOptions::AddOptions(), and fPrintCorrelations.
Here is the call graph for this function:
|
inline |
Definition at line 167 of file QwCorrelatorNew.h.
References fGoodEventNumber, and nP.
Referenced by CalcCorrelations().
Here is the caller graph for this function:
|
overridevirtual |
Fill the histograms.
Reimplemented from VQwDataHandler.
Definition at line 524 of file QwCorrelatorNew.cc.
References VQwDataHandler::fDependentValues, fDisableHistos, fGoodEvent, fH1dv, fH1iv, fH2dv, fH2iv, fIndependentValues, nP, and nY.
|
inlineoverridevirtual |
Fill the tree branches.
Reimplemented from VQwDataHandler.
Definition at line 62 of file QwCorrelatorNew.h.
|
inlineoverridevirtual |
Reimplemented from VQwDataHandler.
Definition at line 51 of file QwCorrelatorNew.h.
References CalcCorrelations().
Here is the call graph for this function:| Int_t QwCorrelatorNew::getCovarianceP | ( | int | i, |
| int | j, | ||
| Double_t & | covar ) const |
Get mean value of a variable, returns error code.
Definition at line 979 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mVPP, and nP.
Referenced by printSummaryP().
Here is the caller graph for this function:| Int_t QwCorrelatorNew::getCovariancePY | ( | int | ip, |
| int | iy, | ||
| Double_t & | covar ) const |
Definition at line 992 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mVPY, nP, and nY.
Referenced by printSummaryYP().
Here is the caller graph for this function:| Int_t QwCorrelatorNew::getCovarianceY | ( | int | i, |
| int | j, | ||
| Double_t & | covar ) const |
Definition at line 1005 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mVYY, and nY.
| Int_t QwCorrelatorNew::getMeanP | ( | const int | i, |
| Double_t & | mean ) const |
Get mean value of a variable, returns error code.
Definition at line 912 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mMP, and nP.
Referenced by printSummaryP().
Here is the caller graph for this function:| Int_t QwCorrelatorNew::getMeanY | ( | const int | i, |
| Double_t & | mean ) const |
Definition at line 923 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mMY, and nY.
Referenced by printSummaryY(), and printSummaryYP().
Here is the caller graph for this function:| Int_t QwCorrelatorNew::getMeanYprime | ( | const int | i, |
| Double_t & | mean ) const |
Definition at line 934 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mMYp, and nY.
| Int_t QwCorrelatorNew::getSigmaP | ( | const int | i, |
| Double_t & | sigma ) const |
Get mean value of a variable, returns error code.
Definition at line 945 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mVPP, and nP.
Referenced by printSummaryP(), and printSummaryYP().
Here is the caller graph for this function:| Int_t QwCorrelatorNew::getSigmaY | ( | const int | i, |
| Double_t & | sigma ) const |
Definition at line 957 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mVYY, and nY.
Referenced by printSummaryY(), and printSummaryYP().
Here is the caller graph for this function:| Int_t QwCorrelatorNew::getSigmaYprime | ( | const int | i, |
| Double_t & | sigma ) const |
Definition at line 968 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mVYYp, and nY.
|
inline |
Definition at line 197 of file QwCorrelatorNew.h.
References fGoodEventNumber.
Referenced by WriteAlphaFile().
Here is the caller graph for this function:| void QwCorrelatorNew::init | ( | ) |
Definition at line 736 of file QwCorrelatorNew.cc.
References Axy, Ayx, dAxy, dAyx, fGoodEventNumber, mMP, mMY, mMYp, mRPP, mRPY, mRYP, mRYY, mRYYp, mSP, mSPP, mSPY, mSY, mSYP, mSYp, mSYY, mSYYp, mVP, mVPP, mVPY, mVY, mVYP, mVYp, mVYY, mVYYp, nP, and nY.
Referenced by ConnectChannels().
Here is the caller graph for this function:
|
overridevirtual |
Load the channel map
| mapfile | Filename of map file |
Reimplemented from VQwDataHandler.
Definition at line 217 of file QwCorrelatorNew.cc.
References QwLog::endl(), VQwDataHandler::fDependentFull, VQwDataHandler::fDependentName, VQwDataHandler::fDependentType, fIndependentFull, fIndependentName, fIndependentType, QwParameterFile::GetNextToken(), QwParameterFile::LineIsEmpty(), VQwDataHandler::ParseHandledVariable(), QwError, QwMessage, QwParameterFile::ReadNextLine(), QwParameterFile::TrimComment(), and QwParameterFile::TrimWhitespace().
Here is the call graph for this function:
|
protected |
Definition at line 630 of file QwCorrelatorNew.cc.
References QwLog::endl(), fAliasOutputFile, fAliasOutputFileBase, fAliasOutputFileSuff, fAliasOutputPath, QwWarning, and VQwDataHandler::run_label.
Referenced by ConstructTreeBranches().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 616 of file QwCorrelatorNew.cc.
References QwLog::endl(), fAlphaOutputFile, fAlphaOutputFileBase, fAlphaOutputFileSuff, fAlphaOutputPath, QwError, and VQwDataHandler::run_label.
Referenced by ConstructTreeBranches().
Here is the call graph for this function:
Here is the caller graph for this function:| QwCorrelatorNew & QwCorrelatorNew::operator+= | ( | const QwCorrelatorNew & | rhs | ) |
Definition at line 871 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mMP, mMY, mVPP, mVPY, mVYY, and QwCorrelatorNew().
Here is the call graph for this function:| QwCorrelatorNew & QwCorrelatorNew::operator+= | ( | const std::pair< TVectorD, TVectorD > & | rhs | ) |
Definition at line 832 of file QwCorrelatorNew.cc.
References fGoodEventNumber, mMP, mMY, mVPP, mVPY, mVYY, and QwCorrelatorNew().
Referenced by AccumulateRunningSum(), and ProcessData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Parse configuration file for map file, priority, tree settings.
Reimplemented from VQwDataHandler.
Definition at line 66 of file QwCorrelatorNew.cc.
References QwLog::endl(), fAliasOutputFileBase, fAliasOutputFileSuff, fAliasOutputPath, fAlphaOutputFileBase, fAlphaOutputFileSuff, fAlphaOutputPath, fBlock, fDisableHistos, VQwDataHandler::ParseConfigFile(), QwParameterFile::PopValue(), and QwWarning.
Here is the call graph for this function:| void QwCorrelatorNew::print | ( | ) |
| void QwCorrelatorNew::printSummaryAlphas | ( | ) | const |
Definition at line 1075 of file QwCorrelatorNew.cc.
References Axy, dAxy, QwLog::endl(), fGoodEventNumber, nP, nY, and QwMessage.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwCorrelatorNew::printSummaryMeansWithUnc | ( | ) | const |
Definition at line 1125 of file QwCorrelatorNew.cc.
References QwLog::endl(), mMY, mSY, nY, and QwMessage.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwCorrelatorNew::printSummaryMeansWithUncCorrected | ( | ) | const |
Definition at line 1138 of file QwCorrelatorNew.cc.
References QwLog::endl(), mMYp, mSYp, nY, and QwMessage.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwCorrelatorNew::printSummaryP | ( | ) | const |
Definition at line 1018 of file QwCorrelatorNew.cc.
References QwLog::endl(), fGoodEventNumber, getCovarianceP(), getMeanP(), getSigmaP(), nP, QwMessage, and QwWarning.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwCorrelatorNew::printSummaryY | ( | ) | const |
Definition at line 1055 of file QwCorrelatorNew.cc.
References QwLog::endl(), fGoodEventNumber, getMeanY(), getSigmaY(), nY, QwMessage, and QwWarning.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:| void QwCorrelatorNew::printSummaryYP | ( | ) | const |
Definition at line 1095 of file QwCorrelatorNew.cc.
References QwLog::endl(), fGoodEventNumber, getCovariancePY(), getMeanY(), getSigmaP(), getSigmaY(), nP, nY, QwMessage, and QwWarning.
Here is the call graph for this function:
|
overridevirtual |
Copy dependent variables to output variables (default processing).
Reimplemented from VQwDataHandler.
Definition at line 82 of file QwCorrelatorNew.cc.
References fBlock, VQwDataHandler::fDependentValues, VQwDataHandler::fDependentVar, fErrCounts_DV, fErrCounts_EF, fErrCounts_IV, fGoodCount, fGoodEvent, fIndependentValues, fIndependentVar, fTotalCount, VQwDataHandler::GetEventcutErrorFlag(), and operator+=().
Here is the call graph for this function:| void QwCorrelatorNew::ProcessOptions | ( | QwOptions & | options | ) |
Definition at line 62 of file QwCorrelatorNew.cc.
|
inline |
Definition at line 180 of file QwCorrelatorNew.h.
Referenced by ConnectChannels().
Here is the caller graph for this function:| void QwCorrelatorNew::solve | ( | ) |
normalized covariances
Definition at line 1151 of file QwCorrelatorNew.cc.
References Axy, Ayx, dAxy, dAyx, QwLog::endl(), fErrorFlag, fGoodEventNumber, mMP, mMY, mMYp, mRPP, mRPY, mRYY, mRYYp, mSP, mSPP, mSPY, mSY, mSYP, mSYp, mSYY, mSYYp, mVP, mVPP, mVPY, mVY, mVYP, mVYp, mVYY, mVYYp, nP, QwMessage, and QwWarning.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 668 of file QwCorrelatorNew.cc.
References Axy, QwLog::endl(), fAliasOutputFile, fCycleCounter, VQwDataHandler::fDependentFull, fIndependentFull, nP, nY, and QwWarning.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 550 of file QwCorrelatorNew.cc.
References Axy, Ayx, dAxy, fAlphaOutputFile, VQwDataHandler::fDependentFull, fIndependentFull, getUsedEve(), mMP, mMY, mMYp, mRPP, mRPY, mRYY, mRYYp, mSP, mSPP, mSPY, mSY, mSYp, mSYY, mSYYp, mVPP, mVPY, mVYY, mVYYp, nP, and nY.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 205 of file QwCorrelatorNew.h.
References QwCorrelatorNew().
|
friend |
Output stream operator.
Definition at line 217 of file QwCorrelatorNew.h.
References fGoodEventNumber, and QwCorrelatorNew().
|
private |
slopes
Definition at line 162 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryAlphas(), solve(), WriteAliasFile(), and WriteAlphaFile().
|
private |
Definition at line 162 of file QwCorrelatorNew.h.
Referenced by clear(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 162 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryAlphas(), solve(), and WriteAlphaFile().
|
private |
Definition at line 162 of file QwCorrelatorNew.h.
|
protected |
Definition at line 100 of file QwCorrelatorNew.h.
Referenced by CloseAliasFile(), OpenAliasFile(), and WriteAliasFile().
|
protected |
Definition at line 97 of file QwCorrelatorNew.h.
Referenced by OpenAliasFile(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 98 of file QwCorrelatorNew.h.
Referenced by OpenAliasFile(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 99 of file QwCorrelatorNew.h.
Referenced by OpenAliasFile(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 90 of file QwCorrelatorNew.h.
Referenced by CloseAlphaFile(), OpenAlphaFile(), QwCorrelatorNew(), QwCorrelatorNew(), and WriteAlphaFile().
|
protected |
Definition at line 87 of file QwCorrelatorNew.h.
Referenced by OpenAlphaFile(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 88 of file QwCorrelatorNew.h.
Referenced by OpenAlphaFile(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 89 of file QwCorrelatorNew.h.
Referenced by OpenAlphaFile(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 74 of file QwCorrelatorNew.h.
Referenced by ParseConfigFile(), ProcessData(), QwCorrelatorNew(), and QwCorrelatorNew().
|
private |
Definition at line 126 of file QwCorrelatorNew.h.
Referenced by QwCorrelatorNew(), QwCorrelatorNew(), and WriteAliasFile().
|
protected |
Definition at line 76 of file QwCorrelatorNew.h.
Referenced by ConstructHistograms(), FillHistograms(), ParseConfigFile(), QwCorrelatorNew(), and QwCorrelatorNew().
|
protected |
Definition at line 110 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ClearEventData(), ConnectChannels(), and ProcessData().
|
protected |
Definition at line 108 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ClearEventData(), and ProcessData().
|
protected |
Definition at line 109 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ClearEventData(), ConnectChannels(), and ProcessData().
|
private |
is information valid
Definition at line 133 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), QwCorrelatorNew(), QwCorrelatorNew(), and solve().
|
protected |
Definition at line 106 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ClearEventData(), ConstructTreeBranches(), and ProcessData().
|
protected |
Definition at line 112 of file QwCorrelatorNew.h.
Referenced by ClearEventData(), FillHistograms(), and ProcessData().
|
private |
accumulated so far
Definition at line 134 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), failed(), getCovarianceP(), getCovariancePY(), getCovarianceY(), getMeanP(), getMeanY(), getMeanYprime(), getSigmaP(), getSigmaY(), getSigmaYprime(), getUsedEve(), init(), operator+=(), operator+=(), operator<<, printSummaryAlphas(), printSummaryP(), printSummaryY(), printSummaryYP(), QwCorrelatorNew(), QwCorrelatorNew(), and solve().
|
private |
Definition at line 122 of file QwCorrelatorNew.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 121 of file QwCorrelatorNew.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 124 of file QwCorrelatorNew.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 123 of file QwCorrelatorNew.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 120 of file QwCorrelatorNew.h.
Referenced by ConstructHistograms().
|
protected |
Definition at line 78 of file QwCorrelatorNew.h.
Referenced by ConnectChannels(), LoadChannelMap(), WriteAliasFile(), and WriteAlphaFile().
|
protected |
Definition at line 82 of file QwCorrelatorNew.h.
Referenced by ConnectChannels(), ConstructHistograms(), and LoadChannelMap().
|
protected |
Definition at line 81 of file QwCorrelatorNew.h.
Referenced by ConnectChannels(), and LoadChannelMap().
|
protected |
Definition at line 85 of file QwCorrelatorNew.h.
Referenced by ConnectChannels(), FillHistograms(), and ProcessData().
|
protected |
Definition at line 84 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ConnectChannels(), and ProcessData().
|
private |
Definition at line 116 of file QwCorrelatorNew.h.
Referenced by QwCorrelatorNew().
|
staticprivate |
Definition at line 35 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), and DefineOptions().
|
protected |
Definition at line 105 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ClearEventData(), ConstructTreeBranches(), and ProcessData().
|
protected |
Definition at line 95 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ConstructTreeBranches(), QwCorrelatorNew(), and QwCorrelatorNew().
|
private |
mean values
Definition at line 158 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getMeanP(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 158 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getMeanY(), init(), operator+=(), operator+=(), print(), printSummaryMeansWithUnc(), solve(), and WriteAlphaFile().
|
private |
Definition at line 158 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getMeanYprime(), init(), printSummaryMeansWithUncCorrected(), solve(), and WriteAlphaFile().
|
private |
Definition at line 138 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
correlations
Definition at line 137 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 137 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), and init().
|
private |
Definition at line 138 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 139 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
sigmas
Definition at line 154 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 151 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
normalized covariances
Definition at line 150 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 154 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryMeansWithUnc(), solve(), and WriteAlphaFile().
|
private |
Definition at line 150 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), and solve().
|
private |
Definition at line 155 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryMeansWithUncCorrected(), solve(), and WriteAlphaFile().
|
private |
Definition at line 151 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 152 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
variances
Definition at line 146 of file QwCorrelatorNew.h.
|
private |
Definition at line 143 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getCovarianceP(), getSigmaP(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
unnormalized covariances
Definition at line 142 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getCovariancePY(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 146 of file QwCorrelatorNew.h.
|
private |
Definition at line 142 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), init(), and solve().
|
private |
Definition at line 147 of file QwCorrelatorNew.h.
|
private |
Definition at line 143 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getCovarianceY(), getSigmaY(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 144 of file QwCorrelatorNew.h.
Referenced by clear(), ConstructTreeBranches(), getSigmaYprime(), init(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 117 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ConnectChannels(), ConstructHistograms(), ConstructTreeBranches(), failed(), FillHistograms(), getCovarianceP(), getCovariancePY(), getMeanP(), getSigmaP(), init(), print(), printSummaryAlphas(), printSummaryP(), printSummaryYP(), QwCorrelatorNew(), QwCorrelatorNew(), QwCorrelatorNew(), setDims(), solve(), WriteAliasFile(), and WriteAlphaFile().
|
private |
Definition at line 117 of file QwCorrelatorNew.h.
Referenced by CalcCorrelations(), ConnectChannels(), ConstructHistograms(), ConstructTreeBranches(), FillHistograms(), getCovariancePY(), getCovarianceY(), getMeanY(), getMeanYprime(), getSigmaY(), getSigmaYprime(), init(), print(), printSummaryAlphas(), printSummaryMeansWithUnc(), printSummaryMeansWithUncCorrected(), printSummaryY(), printSummaryYP(), QwCorrelatorNew(), QwCorrelatorNew(), QwCorrelatorNew(), setDims(), WriteAliasFile(), and WriteAlphaFile().