11#ifndef LArSamples_SimpleShape_H
12#define LArSamples_SimpleShape_H
40 SimpleShape(
const ShapeInfo& shapeInfo,
double scale = 1,
double shift = 0,
bool samplingTimeOnly =
false);
50 double time(
unsigned int i)
const;
58 bool add(
unsigned int k,
double value,
double error);
61 TH1D*
histogram(
const char* name =
"shape",
const char* title =
"",
bool timeInUnitOfSamples =
false)
const;
63 static bool add(std::unique_ptr<SimpleShape>& s1,
const AbsShape& s2);
64 static bool scaleAndShift(std::unique_ptr<SimpleShape>& s1,
double scale,
double shift = 0);
void diff(const Jet &rJet1, const Jet &rJet2, std::map< std::string, double > varDiff)
Difference between jets - Non-Class function required by trigger.
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
TVectorD values(int lwb, int upb) const
unsigned int nPoints() const
SimpleShape(const std::vector< double > &values, const std::vector< double > &errors, double timeInterval=25, double startTime=0)
Constructor.
SimpleShape(const SimpleShape &other)
double timeInterval() const
void set(unsigned int i, double value, double error=-1)
std::vector< double > m_errors
void setError(unsigned int i, double error)
double covariance(unsigned int i, unsigned int j) const
std::vector< double > m_values
double value(unsigned int i) const
bool add(const std::string &hname, TKey *tobj)