59 const std::string& treeprefix =
"",
60 const std::string& branchprefix =
"")
override;
124 std::vector<std::vector<TH2D>>
fH2iv;
125 std::vector<std::vector<TH2D>>
fH2dv;
169 std::vector<const VQwHardwareChannel*>
fAllVar;
198 Int_t
getMeanP(
const int i, Double_t &mean)
const;
199 Int_t
getMeanY(
const int i, Double_t &mean)
const;
203 Int_t
getSigmaP(
const int i, Double_t &sigma)
const;
204 Int_t
getSigmaY(
const int i, Double_t &sigma)
const;
#define REGISTER_DATA_HANDLER_FACTORY(A)
std::ostream & operator<<(std::ostream &stream, const GrandCorrelator &h)
Output stream operator.
Virtual base class for data handlers accessing multiple subsystems.
Command-line and configuration file options processor.
Configuration file parser with flexible tokenization and search capabilities.
A wrapper class for a ROOT file or memory mapped file.
Data handler computing correlations and linear-regression coefficients.
std::ofstream fAliasOutputFile
std::string fAliasOutputFileSuff
void printSummaryAlphas() const
void printSummaryMeansWithUncCorrected() const
std::vector< int > fErrCounts_ALL
Int_t getSigmaP(const int i, Double_t &sigma) const
Get mean value of a variable, returns error code.
friend std::ostream & operator<<(std::ostream &stream, const GrandCorrelator &h)
Output stream operator.
Int_t fErrorFlag
is information valid
TMatrixD mVPY
unnormalized covariances
std::vector< const VQwHardwareChannel * > fAllVar
TMatrixD mSPY
normalized covariances
GrandCorrelator & operator+=(const std::pair< TVectorD, TVectorD > &rhs)
std::vector< std::string > fAllName
std::string fAliasOutputFileBase
Int_t getMeanY(const int i, Double_t &mean) const
void ClearEventData() override
std::vector< double > fAllValues
void printSummaryMeansWithUnc() const
Int_t getMeanYprime(const int i, Double_t &mean) const
std::string fAlphaOutputFileSuff
void ProcessOptions(QwOptions &options)
void printSummaryY() const
void printSummaryP() const
void OpenAlphaFile(const std::string &prefix)
std::vector< int > fErrCounts_DV
void FillHistograms() override
Fill the histograms.
GrandCorrelator(const TString &name)
Constructor with name.
static void DefineOptions(QwOptions &options)
std::vector< TH1D > fH1iv
std::string fAlphaOutputPath
void ProcessData() override
std::vector< TH1D > fHnames
void OpenAliasFile(const std::string &prefix)
void printSummaryYP() const
Int_t getSigmaYprime(const int i, Double_t &sigma) const
Long64_t fGoodEventNumber
accumulated so far
std::vector< std::string > fIndependentFull
void ConstructHistograms(TDirectory *folder, TString &prefix) override
Construct the histograms in a folder with a prefix.
Int_t getCovarianceY(int i, int j, Double_t &covar) const
void FinishDataHandler() override
Int_t ConnectChannels(QwSubsystemArrayParity &asym, QwSubsystemArrayParity &diff) override
Connect to Channels (asymmetry/difference only)
std::vector< std::vector< TH2D > > fH2dv
std::string fAliasOutputPath
TMatrixD mNij
new matrices and vectors
std::vector< EQwHandleType > fIndependentType
Int_t getCovariancePY(int ip, int iy, Double_t &covar) const
void ConstructTreeBranches(QwRootFile *treerootfile, const std::string &treeprefix="", const std::string &branchprefix="") override
Construct the tree branches.
std::vector< std::vector< TH2D > > fH2iv
std::vector< std::string > fIndependentName
~GrandCorrelator() override
Int_t getMeanP(const int i, Double_t &mean) const
Get mean value of a variable, returns error code.
std::vector< Double_t > fIndependentValues
std::vector< int > fErrCounts_IV
std::vector< const VQwHardwareChannel * > fIndependentVar
void ParseConfigFile(QwParameterFile &file) override
double getUsedEve() const
void setDims(int a, int b)
Int_t getSigmaY(const int i, Double_t &sigma) const
std::vector< bool > fAllGood
std::string fAlphaOutputFileBase
static bool fPrintCorrelations
Int_t getCovarianceP(int i, int j, Double_t &covar) const
Get mean value of a variable, returns error code.
void FillTreeBranches(QwRootFile *treerootfile) override
Fill the tree branches.
std::vector< TH1D > fH1dv
TMatrixD mRPY
correlations
friend GrandCorrelator operator+(GrandCorrelator lhs, const GrandCorrelator &rhs)
Subsystem array container specialized for parity analysis with asymmetry calculations.
Abstract base for handlers that consume multiple subsystems and produce derived outputs.
void AccumulateRunningSum()
VQwDataHandler(const TString &name)