MuonAnalysis
MomentumScaleCalibration
plugins
TreeSplitter.h
Go to the documentation of this file.
1
#ifndef TreeSplitter_HH
2
#define TreeSplitter_HH
3
4
// -*- C++ -*-
5
//
6
// Package: TreeSplitter
7
// Class: TreeSplitter
8
//
16
//
17
// Original Author: Marco De Mattia
18
// Created: Thu Sep 11 12:16:00 CEST 2008
19
//
20
21
#include "
FWCore/Framework/interface/MakerMacros.h
"
22
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
23
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
24
#include "
FWCore/Framework/interface/Event.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include <
MuonAnalysis/MomentumScaleCalibration/interface/RootTreeHandler.h
>
27
28
class
TreeSplitter
:
public
edm::EDAnalyzer
{
29
public
:
30
explicit
TreeSplitter
(
const
edm::ParameterSet
&);
31
~TreeSplitter
()
override
;
32
33
private
:
34
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
{};
35
void
endJob
()
override
;
36
37
TString
treeFileName_
;
38
TString
outputFileName_
;
39
int32_t
maxEvents_
;
40
uint32_t
subSampleFirstEvent_
;
41
uint32_t
subSampleMaxEvents_
;
42
};
43
44
#endif // TREESPLITTER_HH
TreeSplitter::maxEvents_
int32_t maxEvents_
Definition:
TreeSplitter.h:39
TreeSplitter::TreeSplitter
TreeSplitter(const edm::ParameterSet &)
Definition:
TreeSplitter.cc:6
TreeSplitter::endJob
void endJob() override
Definition:
TreeSplitter.cc:15
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
MakerMacros.h
TreeSplitter
Definition:
TreeSplitter.h:28
RootTreeHandler.h
TreeSplitter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TreeSplitter.h:34
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
TreeSplitter::subSampleMaxEvents_
uint32_t subSampleMaxEvents_
Definition:
TreeSplitter.h:41
Frameworkfwd.h
TreeSplitter::~TreeSplitter
~TreeSplitter() override
Definition:
TreeSplitter.cc:13
ParameterSet.h
edm::Event
Definition:
Event.h:73
TreeSplitter::subSampleFirstEvent_
uint32_t subSampleFirstEvent_
Definition:
TreeSplitter.h:40
TreeSplitter::outputFileName_
TString outputFileName_
Definition:
TreeSplitter.h:38
TreeSplitter::treeFileName_
TString treeFileName_
Definition:
TreeSplitter.h:37
Generated for CMSSW Reference Manual by
1.8.16