fast pQCD calculations for hadron-induced processes
fastNLOCoeffData.h
1 #ifndef __fastNLOCoeffData__
2 #define __fastNLOCoeffData__
3 
4 #include "fastNLOCoeffBase.h"
5 #include "fastNLOConstants.h"
6 
7 
9 
10  friend class fastNLOTable;
11 
12 public:
13  fastNLOCoeffData() = delete;
14  fastNLOCoeffData(int NObsBin);
15  explicit fastNLOCoeffData(const fastNLOCoeffBase&);
16  virtual ~fastNLOCoeffData(){;};
17  virtual fastNLOCoeffData* Clone() const;
18  virtual void Read(std::istream& table);
19  virtual void Write(std::ostream& table, int ITabVersionWrite);
20  virtual void Print(int iprint) const;
21  static bool CheckCoeffConstants(const fastNLOCoeffBase* c, bool quiet = false);
22 
23  // Erase observable bin; iObsIdx is the C++ array index to be removed and
24  // not the observable bin no. running from 1 to fNObsBins
25  virtual void EraseBin(unsigned int iObsIdx);
26  virtual void MultiplyBin(unsigned int iObsIdx, double fact);
27  // Catenate observable to table
28  virtual void CatBin(const fastNLOCoeffData& other, unsigned int iObsIdx);
29  bool IsCatenable(const fastNLOCoeffData& other) const;
30 
31  // getter/setter
32  int GetNuncorrel() const {return Nuncorrel;}
33  void SetNuncorrel(int n){Nuncorrel = n;}
34  int GetNcorrel() const {return Ncorrel;}
35  void SetNcorrel(int n){Ncorrel = n;}
36  int GetNErrMatrix() const {return NErrMatrix;}
37  void SetNErrMatrix(int n){NErrMatrix = n;}
38 
39 protected:
40  void ReadCoeffData(std::istream& table);
41  void ReadRest(std::istream& table);
42 
43  int Nuncorrel;
44  std::vector<std::string > UncDescr;
45  int Ncorrel;
46  std::vector<std::string > CorDescr;
47  std::vector<double > Xcenter;
48  std::vector<double > Value;
49  fastNLO::v2d UncorLo;
50  fastNLO::v2d UncorHi;
51  fastNLO::v2d CorrLo;
52  fastNLO::v2d CorrHi;
53  int NErrMatrix;
54  fastNLO::v2d matrixelement;
55 
56 };
57 
58 #endif
Definition: fastNLOCoeffBase.h:15
Definition: fastNLOCoeffData.h:8
virtual void Read(std::istream &table)
_____________________________________________________________________________________________________...
Definition: fastNLOCoeffData.cc:45
bool IsCatenable(const fastNLOCoeffData &other) const
Definition: fastNLOCoeffData.cc:246
Definition: fastNLOTable.h:20
virtual fastNLOCoeffData * Clone() const
returns &#39;new&#39; copy of this instance.
Definition: fastNLOCoeffData.cc:38