6 #ifndef CALIB_ATTENCACHE_H 7 #define CALIB_ATTENCACHE_H 13 #include "NovaDAQConventions/DAQConventions.h" 16 namespace geo{
class GeometryBase;
class PlaneGeo;}
25 AttenCache(
bool is_data,
int brightness_bin );
53 void GetEpochFromDB(
int idet,
bool forceData =
false);
59 int Run() {
return fRun; }
103 bool& inMuonCatcher)
const;
void ReadEpochsFromCSV(bool readEpochs=true)
void SetGainSetting(int g)
void UseCSVsFromUPS(bool use=true)
cout<< "Opened file "<< fin<< " ixs= "<< ixs<< endl;if(ixs==0) hhh=(TH1F *) fff-> Get("h1")
std::set< Key_t > fMapUncalibratedMask
bool fIsData
this is a cache for data calibrations or not
bool fInitializedUncalibratedMask
std::set< int > fDiblocks
Diblocks with calibrations.
void SetEpochTag(const std::string &tag)
Geometry information for a single readout plane.
bool operator<(StanConfig::Verbosity a, StanConfig::Verbosity b)
Allow for comparing them, since kQuiet is definitely "less" verbose than kVerbose.
std::map< Key_t, AttenCurve * > fMapMC
std::string fCSVSourceDir
void SetEpoch(const std::string &epoch)
The geometry of one entire detector (near, far, ipnd)
void SetCSVSource(const std::string &path)
static void Add(TH3D *h, const int bx, const int by, const int bz, const double w)
void SetTag(const std::string &tag)
Simple object representing a (plane, cell) pair.
Key_t(int d, geo::OfflineChan chan)
std::map< Key_t, AttenCurve * > fMapData
void SetUseEpochs(bool b)