59 const std::string& treeprefix =
"",
60 const std::string& branchprefix =
"")
override;
123 std::vector<std::vector<TH2D>>
fH2iv;
124 std::vector<std::vector<TH2D>>
fH2dv;
183 Int_t
getMeanP(
const int i, Double_t &mean)
const;
184 Int_t
getMeanY(
const int i, Double_t &mean)
const;
188 Int_t
getSigmaP(
const int i, Double_t &sigma)
const;
189 Int_t
getSigmaY(
const int i, Double_t &sigma)
const;
#define REGISTER_DATA_HANDLER_FACTORY(A)
std::ostream & operator<<(std::ostream &stream, const QwCorrelatorNew &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.
void printSummaryAlphas() const
Int_t fErrorFlag
is information valid
std::vector< TH1D > fH1iv
Int_t getMeanYprime(const int i, Double_t &mean) const
void ConstructHistograms(TDirectory *folder, TString &prefix) override
Construct the histograms in a folder with a prefix.
Int_t getSigmaP(const int i, Double_t &sigma) const
Get mean value of a variable, returns error code.
Long64_t fGoodEventNumber
accumulated so far
QwCorrelatorNew & operator+=(const std::pair< TVectorD, TVectorD > &rhs)
std::vector< Double_t > fIndependentValues
void ParseConfigFile(QwParameterFile &file) override
void ProcessData() override
Int_t getSigmaY(const int i, Double_t &sigma) const
Int_t getSigmaYprime(const int i, Double_t &sigma) const
std::vector< TH1D > fHnames
static void DefineOptions(QwOptions &options)
friend std::ostream & operator<<(std::ostream &stream, const QwCorrelatorNew &h)
Output stream operator.
void ConstructTreeBranches(QwRootFile *treerootfile, const std::string &treeprefix="", const std::string &branchprefix="") override
Construct the tree branches.
void printSummaryMeansWithUncCorrected() const
std::ofstream fAliasOutputFile
void OpenAliasFile(const std::string &prefix)
void FillHistograms() override
Fill the histograms.
double getUsedEve() const
std::vector< TH1D > fH1dv
std::vector< std::vector< TH2D > > fH2iv
void ClearEventData() override
Int_t getMeanP(const int i, Double_t &mean) const
Get mean value of a variable, returns error code.
std::string fAlphaOutputFileBase
Int_t ConnectChannels(QwSubsystemArrayParity &asym, QwSubsystemArrayParity &diff) override
Connect to Channels (asymmetry/difference only)
~QwCorrelatorNew() override
std::vector< int > fErrCounts_DV
Int_t getMeanY(const int i, Double_t &mean) const
TMatrixD mRPY
correlations
void printSummaryP() const
std::string fAliasOutputPath
std::vector< std::string > fIndependentFull
void printSummaryY() const
TMatrixD mSPY
normalized covariances
std::string fAlphaOutputPath
QwCorrelatorNew(const TString &name)
Constructor with name.
friend QwCorrelatorNew operator+(QwCorrelatorNew lhs, const QwCorrelatorNew &rhs)
std::string fAlphaOutputFileSuff
void FinishDataHandler() override
std::vector< int > fErrCounts_IV
std::vector< EQwHandleType > fIndependentType
TMatrixD mVPY
unnormalized covariances
std::vector< const VQwHardwareChannel * > fIndependentVar
std::vector< std::vector< TH2D > > fH2dv
void printSummaryYP() const
void FillTreeBranches(QwRootFile *treerootfile) override
Fill the tree branches.
void ProcessOptions(QwOptions &options)
std::string fAliasOutputFileSuff
static bool fPrintCorrelations
Int_t getCovariancePY(int ip, int iy, Double_t &covar) const
std::string fAliasOutputFileBase
void printSummaryMeansWithUnc() const
std::vector< std::string > fIndependentName
Int_t getCovarianceY(int i, int j, Double_t &covar) const
void OpenAlphaFile(const std::string &prefix)
Int_t getCovarianceP(int i, int j, Double_t &covar) const
Get mean value of a variable, returns error code.
void setDims(int a, int b)
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)