Main Page
Namespaces
Classes
Package Documentation
src
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
HcalTestHistoClass.h
plotFactory.histos
histos
Definition:
plotFactory.py:109
edm::Service< TFileService >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HcalTestHistoManager::HcalTestHistoManager
HcalTestHistoManager(const std::string &)
Definition:
HcalTestHistoManager.cc:15
TFileService.h
HcalTestHistoManager::tree_
TTree * tree_
Definition:
HcalTestHistoManager.h:31
HcalTestHistoManager::h_
std::unique_ptr< HcalTestHistoClass > h_
Definition:
HcalTestHistoManager.h:32
Service.h
HcalTestHistoManager::kount_
int kount_
Definition:
HcalTestHistoManager.h:33
HcalTestHistoManager
Definition:
HcalTestHistoManager.h:22
HcalTestHistoClass
Definition:
HcalTestHistoClass.h:16
HcalTestHistoManager::~HcalTestHistoManager
virtual ~HcalTestHistoManager()
Definition:
HcalTestHistoManager.cc:28
HcalTestHistoManager::fillTree
void fillTree(HcalTestHistoClass *histos)
Definition:
HcalTestHistoManager.cc:34
HcalTestHistoManager::fs_
edm::Service< TFileService > fs_
Definition:
HcalTestHistoManager.h:30
Generated for CMSSW Reference Manual by
1.8.11