|
JAPAn
Just Another Parity Analyzer
|
Data handler computing correlations and linear-regression coefficients. More...
#include <GrandCorrelator.h>
Inheritance diagram for GrandCorrelator:
Collaboration diagram for GrandCorrelator:Public Member Functions | |
| GrandCorrelator (const TString &name) | |
| Constructor with name. | |
| GrandCorrelator (const GrandCorrelator &name) | |
| ~GrandCorrelator () 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 |
| GrandCorrelator & | operator+= (const std::pair< TVectorD, TVectorD > &rhs) |
| GrandCorrelator & | operator+= (const GrandCorrelator &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, GrandCorrelator > | |
| ~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, GrandCorrelator > | |
| static VQwDataHandler * | Create (const std::string &name) |
| Object creation. | |
| static GrandCorrelator * | Cast (GrandCorrelator *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 |
| std::vector< int > | fErrCounts_ALL |
| 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 | |
| GrandCorrelator () | |
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 | mNij |
| new matrices and vectors | |
| TMatrixD | mSij |
| TMatrixD | mMij |
| TMatrixD | mCij |
| TMatrixD | mVij |
| TMatrixD | mRij |
| TMatrixD | mVFULL |
| TMatrixD | mRFULL |
| TMatrixD | mSFULL |
| TMatrixD | sigma_ij |
| TMatrixD | sigma_ji |
| TMatrixD | mVFULL_clean |
| TMatrixD | mSFULL_clean |
| std::vector< const VQwHardwareChannel * > | fAllVar |
| std::vector< double > | fAllValues |
| std::vector< bool > | fAllGood |
| std::vector< std::string > | fAllName |
| TMatrixD | Axy |
| slopes | |
| TMatrixD | Ayx |
| TMatrixD | dAxy |
| TMatrixD | dAyx |
Static Private Attributes | |
| static bool | fPrintCorrelations = false |
Friends | |
| GrandCorrelator | operator+ (GrandCorrelator lhs, const GrandCorrelator &rhs) |
| std::ostream & | operator<< (std::ostream &stream, const GrandCorrelator &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 GrandCorrelator.h.
| GrandCorrelator::GrandCorrelator | ( | const TString & | name | ) |
Constructor with name.
Definition at line 28 of file GrandCorrelator.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(), GrandCorrelator(), operator+, operator+=(), operator+=(), and operator<<.
Here is the call graph for this function:
Here is the caller graph for this function:| GrandCorrelator::GrandCorrelator | ( | const GrandCorrelator & | name | ) |
Definition at line 751 of file GrandCorrelator.cc.
References ClearEventData(), QwLog::endl(), fAliasOutputFileBase, fAliasOutputFileSuff, fAliasOutputPath, fAlphaOutputFile, fAlphaOutputFileBase, fAlphaOutputFileSuff, fAlphaOutputPath, fBlock, fCycleCounter, fDisableHistos, fErrorFlag, fGoodEventNumber, fTree, GrandCorrelator(), nP, nY, QwMessage, QwWarning, and VQwDataHandler::VQwDataHandler().
Here is the call graph for this function:
|
override |
Definition at line 55 of file GrandCorrelator.cc.
References CloseAliasFile(), and CloseAlphaFile().
Here is the call graph for this function:
|
private |
Definition at line 743 of file GrandCorrelator.cc.
References fErrorFlag, fGoodEventNumber, nP, and nY.
|
overridevirtual |
Reimplemented from VQwDataHandler.
Definition at line 169 of file GrandCorrelator.cc.
References QwLog::endl(), GrandCorrelator(), operator+=(), QwWarning, and VQwDataHandler::VQwDataHandler().
Here is the call graph for this function:| void GrandCorrelator::CalcCorrelations | ( | ) |
Definition at line 181 of file GrandCorrelator.cc.
References QwLog::endl(), failed(), VQwDataHandler::fDependentVar, fErrCounts_DV, fErrCounts_EF, fErrCounts_IV, fGoodEventNumber, 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 GrandCorrelator::clear | ( | ) |
Definition at line 833 of file GrandCorrelator.cc.
References Axy, Ayx, dAxy, dAyx, fErrorFlag, fGoodEventNumber, mCij, mMij, mMP, mMY, mMYp, mNij, mRFULL, mRij, mRPP, mRPY, mRYP, mRYY, mRYYp, mSFULL, mSFULL_clean, mSij, mSP, mSPP, mSPY, mSY, mSYP, mSYp, mSYY, mSYYp, mVFULL, mVFULL_clean, mVij, mVP, mVPP, mVPY, mVY, mVYP, mVYp, mVYY, mVYYp, sigma_ij, and sigma_ji.
Referenced by ClearEventData().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from VQwDataHandler.
Definition at line 153 of file GrandCorrelator.cc.
References clear(), fErrCounts_DV, fErrCounts_EF, fErrCounts_IV, fGoodEvent, fGoodEventNumber, and fTotalCount.
Referenced by GrandCorrelator(), and GrandCorrelator().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 705 of file GrandCorrelator.cc.
References QwLog::endl(), fAliasOutputFile, and QwWarning.
Referenced by ~GrandCorrelator().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 696 of file GrandCorrelator.cc.
References fAlphaOutputFile.
Referenced by ~GrandCorrelator().
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 293 of file GrandCorrelator.cc.
References QwLog::endl(), fAllGood, fAllValues, fAllVar, 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 488 of file GrandCorrelator.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 400 of file GrandCorrelator.cc.
References Axy, dAxy, QwLog::endl(), fErrorFlag, 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 62 of file GrandCorrelator.cc.
References QwOptions::AddOptions(), and fPrintCorrelations.
Here is the call graph for this function:
|
inline |
Definition at line 182 of file GrandCorrelator.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 572 of file GrandCorrelator.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 GrandCorrelator.h.
|
inlineoverridevirtual |
Reimplemented from VQwDataHandler.
Definition at line 51 of file GrandCorrelator.h.
References CalcCorrelations().
Here is the call graph for this function:| Int_t GrandCorrelator::getCovarianceP | ( | int | i, |
| int | j, | ||
| Double_t & | covar ) const |
Get mean value of a variable, returns error code.
Definition at line 1049 of file GrandCorrelator.cc.
References fGoodEventNumber, mVPP, and nP.
Referenced by printSummaryP().
Here is the caller graph for this function:| Int_t GrandCorrelator::getCovariancePY | ( | int | ip, |
| int | iy, | ||
| Double_t & | covar ) const |
Definition at line 1062 of file GrandCorrelator.cc.
References fGoodEventNumber, mVPY, nP, and nY.
Referenced by printSummaryYP().
Here is the caller graph for this function:| Int_t GrandCorrelator::getCovarianceY | ( | int | i, |
| int | j, | ||
| Double_t & | covar ) const |
Definition at line 1075 of file GrandCorrelator.cc.
References fGoodEventNumber, mVYY, and nY.
| Int_t GrandCorrelator::getMeanP | ( | const int | i, |
| Double_t & | mean ) const |
Get mean value of a variable, returns error code.
Definition at line 982 of file GrandCorrelator.cc.
References fGoodEventNumber, mMP, and nP.
Referenced by printSummaryP().
Here is the caller graph for this function:| Int_t GrandCorrelator::getMeanY | ( | const int | i, |
| Double_t & | mean ) const |
Definition at line 993 of file GrandCorrelator.cc.
References fGoodEventNumber, mMY, and nY.
Referenced by printSummaryY(), and printSummaryYP().
Here is the caller graph for this function:| Int_t GrandCorrelator::getMeanYprime | ( | const int | i, |
| Double_t & | mean ) const |
Definition at line 1004 of file GrandCorrelator.cc.
References fGoodEventNumber, mMYp, and nY.
| Int_t GrandCorrelator::getSigmaP | ( | const int | i, |
| Double_t & | sigma ) const |
Get mean value of a variable, returns error code.
Definition at line 1015 of file GrandCorrelator.cc.
References fGoodEventNumber, mVPP, and nP.
Referenced by printSummaryP(), and printSummaryYP().
Here is the caller graph for this function:| Int_t GrandCorrelator::getSigmaY | ( | const int | i, |
| Double_t & | sigma ) const |
Definition at line 1027 of file GrandCorrelator.cc.
References fGoodEventNumber, mVYY, and nY.
Referenced by printSummaryY(), and printSummaryYP().
Here is the caller graph for this function:| Int_t GrandCorrelator::getSigmaYprime | ( | const int | i, |
| Double_t & | sigma ) const |
Definition at line 1038 of file GrandCorrelator.cc.
References fGoodEventNumber, mVYYp, and nY.
|
inline |
Definition at line 212 of file GrandCorrelator.h.
References fGoodEventNumber.
Referenced by WriteAlphaFile().
Here is the caller graph for this function:| void GrandCorrelator::init | ( | ) |
Definition at line 778 of file GrandCorrelator.cc.
References Axy, Ayx, dAxy, dAyx, fGoodEventNumber, mCij, mMij, mMP, mMY, mMYp, mNij, mRFULL, mRij, mRPP, mRPY, mRYP, mRYY, mRYYp, mSFULL, mSFULL_clean, mSij, mSP, mSPP, mSPY, mSY, mSYP, mSYp, mSYY, mSYYp, mVFULL, mVFULL_clean, mVij, mVP, mVPP, mVPY, mVY, mVYP, mVYp, mVYY, mVYYp, nP, nY, sigma_ij, and sigma_ji.
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 252 of file GrandCorrelator.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 678 of file GrandCorrelator.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 664 of file GrandCorrelator.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:| GrandCorrelator & GrandCorrelator::operator+= | ( | const GrandCorrelator & | rhs | ) |
Definition at line 941 of file GrandCorrelator.cc.
References fGoodEventNumber, GrandCorrelator(), mMP, mMY, mVPP, mVPY, and mVYY.
Here is the call graph for this function:| GrandCorrelator & GrandCorrelator::operator+= | ( | const std::pair< TVectorD, TVectorD > & | rhs | ) |
Definition at line 903 of file GrandCorrelator.cc.
References fGoodEventNumber, GrandCorrelator(), mMP, mMY, mVPP, mVPY, and mVYY.
Referenced by AccumulateRunningSum().
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 73 of file GrandCorrelator.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 GrandCorrelator::print | ( | ) |
| void GrandCorrelator::printSummaryAlphas | ( | ) | const |
Definition at line 1144 of file GrandCorrelator.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 GrandCorrelator::printSummaryMeansWithUnc | ( | ) | const |
Definition at line 1194 of file GrandCorrelator.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 GrandCorrelator::printSummaryMeansWithUncCorrected | ( | ) | const |
Definition at line 1207 of file GrandCorrelator.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 GrandCorrelator::printSummaryP | ( | ) | const |
Definition at line 1088 of file GrandCorrelator.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 GrandCorrelator::printSummaryY | ( | ) | const |
Definition at line 1124 of file GrandCorrelator.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 GrandCorrelator::printSummaryYP | ( | ) | const |
Definition at line 1164 of file GrandCorrelator.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 90 of file GrandCorrelator.cc.
References fAllGood, fAllValues, fAllVar, fBlock, VQwDataHandler::fDependentValues, VQwDataHandler::fDependentVar, fErrCounts_DV, fErrCounts_EF, fErrCounts_IV, fGoodEvent, fGoodEventNumber, fIndependentValues, fIndependentVar, fTotalCount, VQwDataHandler::GetEventcutErrorFlag(), mCij, mMij, mNij, and mSij.
Here is the call graph for this function:| void GrandCorrelator::ProcessOptions | ( | QwOptions & | options | ) |
Definition at line 69 of file GrandCorrelator.cc.
|
inline |
Definition at line 195 of file GrandCorrelator.h.
Referenced by ConnectChannels().
Here is the caller graph for this function:| void GrandCorrelator::solve | ( | ) |
Definition at line 1219 of file GrandCorrelator.cc.
References Axy, Ayx, dAxy, dAyx, QwLog::endl(), fAllVar, fErrorFlag, fGoodEventNumber, mCij, mMP, mMY, mMYp, mNij, mRFULL, mRij, mRPP, mRPY, mRYY, mRYYp, mSFULL, mSFULL_clean, mSij, mSPP, mSPY, mSYp, mSYY, mSYYp, mVFULL, mVFULL_clean, mVij, mVP, mVPP, mVPY, mVY, mVYP, mVYp, mVYY, mVYYp, nP, nY, QwMessage, QwWarning, sigma_ij, and sigma_ji.
Referenced by CalcCorrelations().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 716 of file GrandCorrelator.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 598 of file GrandCorrelator.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 220 of file GrandCorrelator.h.
References GrandCorrelator().
|
friend |
Output stream operator.
Definition at line 232 of file GrandCorrelator.h.
References fGoodEventNumber, and GrandCorrelator().
|
private |
slopes
Definition at line 177 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryAlphas(), solve(), WriteAliasFile(), and WriteAlphaFile().
|
private |
Definition at line 177 of file GrandCorrelator.h.
Referenced by clear(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 177 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryAlphas(), solve(), and WriteAlphaFile().
|
private |
Definition at line 177 of file GrandCorrelator.h.
|
protected |
Definition at line 100 of file GrandCorrelator.h.
Referenced by CloseAliasFile(), OpenAliasFile(), and WriteAliasFile().
|
protected |
Definition at line 97 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), OpenAliasFile(), and ParseConfigFile().
|
protected |
Definition at line 98 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), OpenAliasFile(), and ParseConfigFile().
|
protected |
Definition at line 99 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), OpenAliasFile(), and ParseConfigFile().
|
private |
Definition at line 171 of file GrandCorrelator.h.
Referenced by ConnectChannels(), and ProcessData().
|
private |
Definition at line 172 of file GrandCorrelator.h.
|
private |
Definition at line 170 of file GrandCorrelator.h.
Referenced by ConnectChannels(), and ProcessData().
|
private |
Definition at line 169 of file GrandCorrelator.h.
Referenced by ConnectChannels(), ProcessData(), and solve().
|
protected |
Definition at line 90 of file GrandCorrelator.h.
Referenced by CloseAlphaFile(), GrandCorrelator(), GrandCorrelator(), OpenAlphaFile(), and WriteAlphaFile().
|
protected |
Definition at line 87 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), OpenAlphaFile(), and ParseConfigFile().
|
protected |
Definition at line 88 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), OpenAlphaFile(), and ParseConfigFile().
|
protected |
Definition at line 89 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), OpenAlphaFile(), and ParseConfigFile().
|
protected |
Definition at line 74 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), ParseConfigFile(), and ProcessData().
|
private |
Definition at line 127 of file GrandCorrelator.h.
Referenced by GrandCorrelator(), GrandCorrelator(), and WriteAliasFile().
|
protected |
Definition at line 76 of file GrandCorrelator.h.
Referenced by ConstructHistograms(), FillHistograms(), GrandCorrelator(), GrandCorrelator(), and ParseConfigFile().
|
protected |
Definition at line 111 of file GrandCorrelator.h.
|
protected |
Definition at line 110 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ClearEventData(), ConnectChannels(), and ProcessData().
|
protected |
Definition at line 108 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ClearEventData(), and ProcessData().
|
protected |
Definition at line 109 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ClearEventData(), ConnectChannels(), and ProcessData().
|
private |
is information valid
Definition at line 134 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), GrandCorrelator(), GrandCorrelator(), and solve().
|
protected |
Definition at line 106 of file GrandCorrelator.h.
|
protected |
Definition at line 113 of file GrandCorrelator.h.
Referenced by ClearEventData(), FillHistograms(), and ProcessData().
|
private |
accumulated so far
Definition at line 135 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), clear(), ClearEventData(), ConstructTreeBranches(), failed(), getCovarianceP(), getCovariancePY(), getCovarianceY(), getMeanP(), getMeanY(), getMeanYprime(), getSigmaP(), getSigmaY(), getSigmaYprime(), getUsedEve(), GrandCorrelator(), GrandCorrelator(), init(), operator+=(), operator+=(), operator<<, printSummaryAlphas(), printSummaryP(), printSummaryY(), printSummaryYP(), ProcessData(), and solve().
|
private |
Definition at line 123 of file GrandCorrelator.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 122 of file GrandCorrelator.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 125 of file GrandCorrelator.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 124 of file GrandCorrelator.h.
Referenced by ConstructHistograms(), and FillHistograms().
|
private |
Definition at line 121 of file GrandCorrelator.h.
Referenced by ConstructHistograms().
|
protected |
Definition at line 78 of file GrandCorrelator.h.
Referenced by ConnectChannels(), LoadChannelMap(), WriteAliasFile(), and WriteAlphaFile().
|
protected |
Definition at line 82 of file GrandCorrelator.h.
Referenced by ConnectChannels(), ConstructHistograms(), and LoadChannelMap().
|
protected |
Definition at line 81 of file GrandCorrelator.h.
Referenced by ConnectChannels(), and LoadChannelMap().
|
protected |
Definition at line 85 of file GrandCorrelator.h.
Referenced by ConnectChannels(), FillHistograms(), and ProcessData().
|
protected |
Definition at line 84 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ConnectChannels(), and ProcessData().
|
private |
Definition at line 117 of file GrandCorrelator.h.
Referenced by GrandCorrelator().
|
staticprivate |
Definition at line 35 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), and DefineOptions().
|
protected |
Definition at line 105 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ClearEventData(), ConstructTreeBranches(), and ProcessData().
|
protected |
Definition at line 95 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ConstructTreeBranches(), GrandCorrelator(), and GrandCorrelator().
|
private |
Definition at line 164 of file GrandCorrelator.h.
Referenced by clear(), init(), ProcessData(), and solve().
|
private |
Definition at line 163 of file GrandCorrelator.h.
Referenced by clear(), init(), and ProcessData().
|
private |
mean values
Definition at line 159 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getMeanP(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 159 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getMeanY(), init(), operator+=(), operator+=(), print(), printSummaryMeansWithUnc(), solve(), and WriteAlphaFile().
|
private |
Definition at line 159 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getMeanYprime(), init(), printSummaryMeansWithUncCorrected(), solve(), and WriteAlphaFile().
|
private |
new matrices and vectors
Definition at line 163 of file GrandCorrelator.h.
Referenced by clear(), init(), ProcessData(), and solve().
|
private |
Definition at line 165 of file GrandCorrelator.h.
|
private |
Definition at line 164 of file GrandCorrelator.h.
|
private |
Definition at line 139 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
correlations
Definition at line 138 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 138 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), and init().
|
private |
Definition at line 139 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 140 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 165 of file GrandCorrelator.h.
|
private |
Definition at line 168 of file GrandCorrelator.h.
|
private |
Definition at line 163 of file GrandCorrelator.h.
Referenced by clear(), init(), ProcessData(), and solve().
|
private |
sigmas
Definition at line 155 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), and WriteAlphaFile().
|
private |
Definition at line 152 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
normalized covariances
Definition at line 151 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 155 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryMeansWithUnc(), and WriteAlphaFile().
|
private |
Definition at line 151 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), and init().
|
private |
Definition at line 156 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), printSummaryMeansWithUncCorrected(), solve(), and WriteAlphaFile().
|
private |
Definition at line 152 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 153 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), solve(), and WriteAlphaFile().
|
private |
Definition at line 165 of file GrandCorrelator.h.
|
private |
Definition at line 167 of file GrandCorrelator.h.
|
private |
Definition at line 164 of file GrandCorrelator.h.
|
private |
variances
Definition at line 147 of file GrandCorrelator.h.
|
private |
Definition at line 144 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getCovarianceP(), getSigmaP(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
unnormalized covariances
Definition at line 143 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getCovariancePY(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 147 of file GrandCorrelator.h.
|
private |
Definition at line 143 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), init(), and solve().
|
private |
Definition at line 148 of file GrandCorrelator.h.
|
private |
Definition at line 144 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getCovarianceY(), getSigmaY(), init(), operator+=(), operator+=(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 145 of file GrandCorrelator.h.
Referenced by clear(), ConstructTreeBranches(), getSigmaYprime(), init(), print(), solve(), and WriteAlphaFile().
|
private |
Definition at line 118 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ConnectChannels(), ConstructHistograms(), ConstructTreeBranches(), failed(), FillHistograms(), getCovarianceP(), getCovariancePY(), getMeanP(), getSigmaP(), GrandCorrelator(), GrandCorrelator(), GrandCorrelator(), init(), print(), printSummaryAlphas(), printSummaryP(), printSummaryYP(), setDims(), solve(), WriteAliasFile(), and WriteAlphaFile().
|
private |
Definition at line 118 of file GrandCorrelator.h.
Referenced by CalcCorrelations(), ConnectChannels(), ConstructHistograms(), ConstructTreeBranches(), FillHistograms(), getCovariancePY(), getCovarianceY(), getMeanY(), getMeanYprime(), getSigmaY(), getSigmaYprime(), GrandCorrelator(), GrandCorrelator(), GrandCorrelator(), init(), print(), printSummaryAlphas(), printSummaryMeansWithUnc(), printSummaryMeansWithUncCorrected(), printSummaryY(), printSummaryYP(), setDims(), solve(), WriteAliasFile(), and WriteAlphaFile().
|
private |
Definition at line 166 of file GrandCorrelator.h.
|
private |
Definition at line 166 of file GrandCorrelator.h.