1 #ifndef ValueQuantity_h
2 #define ValueQuantity_h
55 "N",
"Events",
"Energy",
"Timing",
"ADC",
"ADC",
"ADC",
56 "fC",
"fC",
"fC",
"Timing",
"Timing",
"LS",
"Et",
"Et",
57 "FG",
"Ratio",
"DigiSize",
"Q",
"Ratio",
58 "dEtRatio",
"SumdEt",
"Timing",
"ADC",
"TDC",
"TDC",
59 "Q",
"Ratio",
"N",
"Energy",
"N",
"Et",
"ADC",
"BX",
63 -0.05, 0, 0, -50, -0.5, -0.5, -0.5, 0, 0, 0, -0.5, 0, 0.5, 0,
64 0, 0, 0, -0.5, -1, 0.5, 0, 0, -0.5, -0.5, -0.5, -0.5,
65 0, 0, 0, 0, -0.05, -2, -2, -0.5, 0,
flag::fNA
68 1000, 1000, 200, 50, 127.5, 5, 15, 10000, 1000, 3000,
69 9.5, 9.5, 4000.5, 255.5, 255.5, 2, 1, 20.5, 1, 1.5,
70 1, 1000, 9.5, 255.5, 63.5, 15.5, 1, 2, 3000, 100000, 10000,
74 200, 200, 100, 200, 128, 100, 300, 1000, 200, 600,
75 10, 200, 4000, 256, 128, 2, 100, 20, 100, 100, 100, 100, 10,
76 256, 64, 16, 200, 100, 3000, 500, 100, 258, 130, 3601, 200,
134 virtual double min() {
return 0;}
140 std::vector<std::string> vnames;
141 for (std::vector<flag::Flag>::const_iterator
143 vnames.push_back(it->_name);
167 virtual double min() {
return 1;}
189 virtual double min() {
return 0;}
194 std::vector<std::string>
labels;
195 for (uint32_t
i=0;
i<
_runs.size();
i++)
197 sprintf(name,
"%d",
_runs[
i]);
198 labels.push_back(name);
205 for (uint32_t
i=0;
i<
_runs.size();
i++)
214 <<
"run number doens't exist " <<
run;
239 virtual double min() {
return 0.5;}
ValueQuantity(ValueQuantityType type, bool isLog=false)
virtual void setBits(TH1 *o)
int const nbins_value[nValueQuantityType]
virtual int getValue(int x)
std::string const name_value[nValueQuantityType]
FlagQuantity(std::vector< flag::Flag > const &flags)
std::vector< Variable::Flags > flags
virtual std::string name()
virtual void setLS(TH1 *o)
virtual LumiSection * makeCopy()
virtual std::string name()
virtual int getValue(int run)
virtual std::vector< std::string > getLabels()
virtual std::string name()
double const max_value[nValueQuantityType]
virtual void setMax(double x)
virtual uint32_t getBin(int run)
std::vector< flag::Flag > _flags
virtual uint32_t getBin(int l)
virtual ValueQuantity * makeCopy()
virtual int getValue(int f)
virtual uint32_t getBin(int f)
virtual double getValue(double x)
virtual std::vector< std::string > getLabels()
virtual FlagQuantity * makeCopy()
virtual void setBits(TH1 *o)
double const min_value[nValueQuantityType]
RunNumber(std::vector< int > runs)
virtual QuantityType type()
virtual std::string name()
virtual int getValue(int l)