Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
edm::Service< TFileService >
HcalTestHistoManager::HcalTestHistoManager
HcalTestHistoManager(const std::string &)
Definition:
HcalTestHistoManager.cc:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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
HcalTestHistoClass.h
HcalTestHistoManager
Definition:
HcalTestHistoManager.h:22
HcalTestHistoClass
Definition:
HcalTestHistoClass.h:14
mergeVDriftHistosByStation.histos
dictionary histos
Definition:
mergeVDriftHistosByStation.py:61
HcalTestHistoManager::~HcalTestHistoManager
virtual ~HcalTestHistoManager()
Definition:
HcalTestHistoManager.cc:30
HcalTestHistoManager::fillTree
void fillTree(HcalTestHistoClass *histos)
Definition:
HcalTestHistoManager.cc:36
HcalTestHistoManager::fs_
edm::Service< TFileService > fs_
Definition:
HcalTestHistoManager.h:30
Generated for CMSSW Reference Manual by
1.8.5