15 #include <unordered_set>
17 namespace jsoncollector {
42 std::vector<unsigned int> *
inputs,
bool NAifZeroUpdates,
unsigned int *nBins=
nullptr);
50 std::vector<AtomicMonUInt*> *
inputs,
bool NAifZeroUpdates,
unsigned int *nBins=
nullptr);
53 void commit(std::vector<unsigned int> *streamLumisPtr);
56 void snap(
unsigned int ls);
112 std::unordered_set<std::string>
uids_;
void registerFastGlobalMonitorable(JsonMonitorable *newMonitorable)
void addFastPathDefinition(std::string const &defPathFast, std::string const defGroupFast, bool strict)
void setDefPath(std::string const &dpath)
DataPointDefinition * dpdFast_
bool outputFullJSON(std::string const &path, unsigned int lumi, bool log=true)
std::string getCSVString()
void snapStreamAtomic(unsigned int ls, unsigned int streamID)
void registerStreamMonitorableUIntVecAtomic(std::string const &name, std::vector< AtomicMonUInt * > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
std::vector< DataPoint * > dataPointsFastOnly_
std::map< std::string, unsigned int > dpNameMap_
std::vector< DataPoint * > orphanedDps_
FastMonitor(std::string const &defPath, std::string const defGroup, bool strictChecking, bool useSource=true, bool useDefinition=true)
void registerGlobalMonitorable(JsonMonitorable *newMonitorable, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
std::vector< unsigned int > jsonDpIndex_
unsigned int recentSnaps_
std::vector< DataPoint * > dataPoints_
void registerStreamMonitorableUIntVec(std::string const &name, std::vector< unsigned int > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
std::unordered_set< std::string > uids_
void commit(std::vector< unsigned int > *streamLumisPtr)
std::vector< DataPoint * > jsonDpIndexFast_
void outputCSV(std::string const &path, std::string const &csvString)
void snap(unsigned int ls)
unsigned int fregDpCount_
DataPointDefinition * dpd_
bool fastPathStrictChecking_
JsonMonitorable * getMergedIntJForLumi(std::string const &name, unsigned int forLumi)
unsigned int recentSnapsTimer_
void getHostAndPID(std::string &sHPid)
void setNStreams(unsigned int nStreams)
void discardCollected(unsigned int forLumi)
void snapGlobal(unsigned int ls)