24 #define ATOMIC_LEVEL 0 //assume data is synchronized 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 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)
std::string fastOutCSV(int sid=-1)
void serialize(Json::Value &root) const override
void trackVectorUIntAtomic(std::string const &name, std::vector< AtomicMonUInt * > *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)
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