ATLAS Offline Software
LWHistAthMonWrapper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class LWHistAthMonWrapper //
9 // //
10 // Description: Utility methods to associate a few custom //
11 // fields (key and streamName) with LWHists. //
12 // This makes book-keeping simpler, and saves //
13 // needless string copies and map lookups. //
14 // //
15 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
16 // Initial version: March 2009 //
17 // //
19 
20 #ifndef LWHISTWRAPPER_H
21 #define LWHISTWRAPPER_H
22 
23 #include "LWHists/LWHist.h"
24 #include "LWHists/LWHistControls.h"
25 
27 public:
28 
29  static void setStreamName(LWHist*, const std::string& streamName);
30  static void setKey(LWHist*, const std::string& key);
31  static const std::string& streamName(LWHist*);
32  static const std::string& key(LWHist*);
33  static void deleteLWHist(LWHist*);//always use this to delete LWHists in this package
34  static void removeCustomData(LWHist*);
35 
36 private:
37  struct LWHistAthenaMonCustomData;
40 };
41 
42 #include "LWHistAthMonWrapper.icc"
43 
44 #endif
45 
LWHist
Definition: LWHist.h:26
LWHistAthMonWrapper::setStreamName
static void setStreamName(LWHist *, const std::string &streamName)
LWHistAthMonWrapper::streamName
static const std::string & streamName(LWHist *)
LWHistAthMonWrapper::~LWHistAthMonWrapper
~LWHistAthMonWrapper()
Definition: LWHistAthMonWrapper.h:39
LWHistAthMonWrapper::removeCustomData
static void removeCustomData(LWHist *)
LWHistAthMonWrapper
Definition: LWHistAthMonWrapper.h:26
LWHistAthMonWrapper::key
static const std::string & key(LWHist *)
LWHistAthMonWrapper::LWHistAthMonWrapper
LWHistAthMonWrapper()
Definition: LWHistAthMonWrapper.h:38
LWHistAthMonWrapper.icc
LWHistAthMonWrapper::setKey
static void setKey(LWHist *, const std::string &key)
LWHistAthMonWrapper::deleteLWHist
static void deleteLWHist(LWHist *)
LWHistControls.h
LWHist.h