SimG4CMS
Calo
interface
HcalTestHistoManager.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_HcalTestHistoManager_H
2
#define SimG4CMS_HcalTestHistoManager_H
3
// File: HcalTestHistoManager.h
5
// Histogram managing class for analysis in HcalTest
7
8
#include "
FWCore/ServiceRegistry/interface/Service.h
"
9
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
10
#include "
SimDataFormats/CaloTest/interface/HcalTestHistoClass.h
"
11
12
// root objects
13
#include "TROOT.h"
14
#include "TSystem.h"
15
#include "TFile.h"
16
#include "TDirectory.h"
17
#include "TTree.h"
18
19
#include <memory>
20
#include <string>
21
22
class
HcalTestHistoManager
{
23
public
:
24
HcalTestHistoManager
(
const
std::string
&);
25
virtual
~HcalTestHistoManager
();
26
27
void
fillTree
(
HcalTestHistoClass
*
histos
);
28
29
private
:
30
edm::Service<TFileService>
fs_
;
31
TTree*
tree_
;
32
std::unique_ptr<HcalTestHistoClass>
h_
;
33
int
kount_
;
34
};
35
36
#endif
HcalTestHistoManager::fs_
edm::Service< TFileService > fs_
Definition:
HcalTestHistoManager.h:30
HcalTestHistoClass.h
HcalTestHistoManager::kount_
int kount_
Definition:
HcalTestHistoManager.h:33
HcalTestHistoManager
Definition:
HcalTestHistoManager.h:22
Service.h
HcalTestHistoManager::HcalTestHistoManager
HcalTestHistoManager(const std::string &)
Definition:
HcalTestHistoManager.cc:17
HcalTestHistoManager::tree_
TTree * tree_
Definition:
HcalTestHistoManager.h:31
HcalTestHistoClass
Definition:
HcalTestHistoClass.h:14
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TFileService.h
edm::Service< TFileService >
HcalTestHistoManager::~HcalTestHistoManager
virtual ~HcalTestHistoManager()
Definition:
HcalTestHistoManager.cc:30
HcalTestHistoManager::fillTree
void fillTree(HcalTestHistoClass *histos)
Definition:
HcalTestHistoManager.cc:36
combine.histos
histos
Definition:
combine.py:4
HcalTestHistoManager::h_
std::unique_ptr< HcalTestHistoClass > h_
Definition:
HcalTestHistoManager.h:32
Generated for CMSSW Reference Manual by
1.8.16