11#include <TEfficiency.h>
12#include <calibration/CalibrationAlgorithm.h>
13#include <framework/database/DBObjPtr.h>
15#include <cdc/dbobjects/CDCGeometry.h>
16#include <cdc/dbobjects/CDCBadWires.h>
46 double chiTest(TGraphAsymmErrors* graph1, TGraphAsymmErrors* graph2,
double minVale,
double maxValue);
Database object for bad wires.
TList * m_efficiencyList
TList of efficiencies.
double chiTest(TGraphAsymmErrors *graph1, TGraphAsymmErrors *graph2, double minVale, double maxValue)
chitest
~WireEfficiencyAlgorithm()
Destructor.
void detectBadWires()
detects bad wires.
CDCBadWires * m_badWireList
BadWireList that willbe built.
DBObjPtr< CDCGeometry > m_cdcGeo
Geometry of CDC.
void setHistFileName(const std::string &name)
Set name for histogram output.
WireEfficiencyAlgorithm()
Constructor.
EResult calibrate() override
Run algo on data.
bool buildEfficiencies()
create 2D TEfficiency for each wire and return True if more than 1000 entries
std::string m_outputFileName
name of the output file
EResult
The result of calibration.
CalibrationAlgorithm(const std::string &collectorModuleName)
Constructor - sets the prefix for collected objects (won't be accesses until execute(....
Class for accessing objects in the database.
Abstract base class for different kinds of events.