24 #define ATOMIC_LEVEL 0 //assume data is synchronized
26 namespace jsoncollector {
34 typedef std::map<unsigned int,JsonMonPtr>
MonPtrMap;
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 trackVectorUInt(std::string const &name, std::vector< unsigned int > *monvec, bool NAifZeroUpdates)
void updateDefinition(std::string const &definition)
static const std::string SOURCE
void trackDummy(std::string const &name, bool setNAifZeroUpdates)
void mergeAndSerialize(Json::Value &jsonRoot, unsigned int lumi, bool initJsonValue)
virtual void serialize(Json::Value &root) const
void trackMonitorable(JsonMonitorable *monitorable, bool NAifZeroUpdates)
std::map< unsigned int, JsonMonPtr > MonPtrMap
static std::string const input
static const std::string DATA
std::vector< MonPtrMap > streamDataMaps_
void snapGlobal(unsigned int lumi)
void setStreamLumiPtr(std::vector< unsigned int > *streamLumiPtr)
std::vector< std::string > data_
JsonMonitorable * mergeAndRetrieveValue(unsigned int forLumi)
virtual void deserialize(Json::Value &root)
void trackVectorUIntAtomic(std::string const &name, std::vector< AtomicMonUInt * > *monvec, bool NAifZeroUpdates)
unsigned int AtomicMonUInt
void setOperation(OperationType op)
std::string & getDefinition()
void snapStreamAtomic(unsigned int lumi, unsigned int streamID)
std::string const & getName()
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.