DQM
SiStripCommon
src
ExtractTObject.cc
Go to the documentation of this file.
1
#include "
DQM/SiStripCommon/interface/ExtractTObject.h
"
2
#include "
DQMServices/Core/interface/DQMStore.h
"
3
#include "TNamed.h"
4
#include "TH1.h"
5
#include "TH1C.h"
6
#include "TH1S.h"
7
#include "TH1I.h"
8
#include "TH1F.h"
9
#include "TH1D.h"
10
#include "TH2.h"
11
#include "TH2C.h"
12
#include "TH2S.h"
13
#include "TH2I.h"
14
#include "TH2F.h"
15
#include "TH2D.h"
16
#include "TProfile.h"
17
18
// -----------------------------------------------------------------------------
19
//
20
template
<
class
T>
21
T
*
ExtractTObject<T>::extract
(
MonitorElement
*
me
) {
22
return
me
?
dynamic_cast<
T
*
>
(
me
->getRootObject()) :
nullptr
;
23
}
24
// -----------------------------------------------------------------------------
25
//
26
template
class
ExtractTObject<TH1>
;
27
template
class
ExtractTObject<TH1C>
;
28
template
class
ExtractTObject<TH1S>
;
29
template
class
ExtractTObject<TH1I>
;
30
template
class
ExtractTObject<TH1F>
;
31
template
class
ExtractTObject<TH1D>
;
32
template
class
ExtractTObject<TH2>
;
33
template
class
ExtractTObject<TH2C>
;
34
template
class
ExtractTObject<TH2S>
;
35
template
class
ExtractTObject<TH2I>
;
36
template
class
ExtractTObject<TH2F>
;
37
template
class
ExtractTObject<TH2D>
;
38
template
class
ExtractTObject<TProfile>
;
ExtractTObject.h
DQMStore.h
hlt_dqm_clientPB-live_cfg.me
me
Definition:
hlt_dqm_clientPB-live_cfg.py:62
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:466
ExtractTObject::extract
static T * extract(MonitorElement *me)
Definition:
ExtractTObject.cc:21
ExtractTObject
Definition:
ExtractTObject.h:9
T
long double T
Definition:
Basic3DVectorLD.h:48
Generated for CMSSW Reference Manual by
1.8.14