24 #define ATOMIC_LEVEL 0 //assume data is synchronized
26 namespace jsoncollector {
34 typedef std::map<unsigned int, JsonMonPtr>
MonPtrMap;
78 std::vector<AtomicMonUInt*>
const* monvec,
79 bool NAifZeroUpdates);
std::vector< std::string > & getData()
void setNBins(unsigned int *nBins)
void snap(unsigned int lumi)
std::vector< unsigned int > * streamLumisPtr_
void discardCollected(unsigned int forLumi)
void updateDefinition(std::string const &definition)
static const std::string SOURCE
void trackDummy(std::string const &name, bool setNAifZeroUpdates)
std::map< unsigned int, JsonMonPtr > MonPtrMap
void trackMonitorable(JsonMonitorable const *monitorable, bool NAifZeroUpdates)
static std::string const input
std::string const & getName() const
static const std::string DATA
std::vector< MonPtrMap > streamDataMaps_
void snapGlobal(unsigned int lumi)
void setStreamLumiPtr(std::vector< unsigned int > *streamLumiPtr)
void serialize(Json::Value &root) const override
std::vector< std::string > data_
JsonMonitorable * mergeAndRetrieveValue(unsigned int forLumi)
std::string fastOutCSV(int sid=-1)
void trackVectorUIntAtomic(std::string const &name, std::vector< AtomicMonUInt * > const *monvec, bool NAifZeroUpdates)
void trackVectorUInt(std::string const &name, std::vector< unsigned int > const *monvec, bool NAifZeroUpdates)
unsigned int AtomicMonUInt
void setOperation(OperationType op)
void deserialize(Json::Value &root) override
std::string & getDefinition()
void mergeAndSerialize(Json::Value &jsonRoot, unsigned int lumi, bool initJsonValue, int sid)
void snapStreamAtomic(unsigned int lumi, unsigned int streamID)
void makeStreamLumiMap(unsigned int size)
DataPoint(std::string const &source, std::string const &definition, bool fast=false)
static const std::string DEFINITION
static std::string const source
tuple size
Write out results.