Main Page
Namespaces
Classes
Package Documentation
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
{
30
public
:
31
explicit
TreeSplitter
(
const
edm::ParameterSet
&);
32
~TreeSplitter
()
override
;
33
34
private
:
35
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
{};
36
void
endJob
()
override
;
37
38
TString
treeFileName_
;
39
TString
outputFileName_
;
40
int32_t
maxEvents_
;
41
uint32_t
subSampleFirstEvent_
;
42
uint32_t
subSampleMaxEvents_
;
43
};
44
45
#endif // TREESPLITTER_HH
TreeSplitter::subSampleFirstEvent_
uint32_t subSampleFirstEvent_
Definition:
TreeSplitter.h:41
TreeSplitter::TreeSplitter
TreeSplitter(const edm::ParameterSet &)
Definition:
TreeSplitter.cc:6
Event.h
MakerMacros.h
Frameworkfwd.h
ParameterSet.h
TreeSplitter::treeFileName_
TString treeFileName_
Definition:
TreeSplitter.h:38
TreeSplitter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
TreeSplitter.h:35
TreeSplitter::outputFileName_
TString outputFileName_
Definition:
TreeSplitter.h:39
TreeSplitter::~TreeSplitter
~TreeSplitter() override
Definition:
TreeSplitter.cc:15
edm::EventSetup
Definition:
EventSetup.h:52
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
TreeSplitter::endJob
void endJob() override
Definition:
TreeSplitter.cc:19
TreeSplitter::subSampleMaxEvents_
uint32_t subSampleMaxEvents_
Definition:
TreeSplitter.h:42
TreeSplitter
Definition:
TreeSplitter.h:28
RootTreeHandler.h
edm::ParameterSet
Definition:
ParameterSet.h:36
TreeSplitter::maxEvents_
int32_t maxEvents_
Definition:
TreeSplitter.h:40
edm::Event
Definition:
Event.h:70
Generated for CMSSW Reference Manual by
1.8.11