test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
33
34
private
:
35
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&) {};
36
virtual
void
endJob
();
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
TreeSplitter::~TreeSplitter
~TreeSplitter()
Definition:
TreeSplitter.cc:15
Event.h
MakerMacros.h
Frameworkfwd.h
ParameterSet.h
TreeSplitter::treeFileName_
TString treeFileName_
Definition:
TreeSplitter.h:38
TreeSplitter::outputFileName_
TString outputFileName_
Definition:
TreeSplitter.h:39
edm::EventSetup
Definition:
EventSetup.h:45
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
TreeSplitter::subSampleMaxEvents_
uint32_t subSampleMaxEvents_
Definition:
TreeSplitter.h:42
TreeSplitter
Definition:
TreeSplitter.h:28
RootTreeHandler.h
TreeSplitter::endJob
virtual void endJob()
Definition:
TreeSplitter.cc:19
edm::ParameterSet
Definition:
ParameterSet.h:36
TreeSplitter::maxEvents_
int32_t maxEvents_
Definition:
TreeSplitter.h:40
edm::Event
Definition:
Event.h:65
TreeSplitter::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TreeSplitter.h:35
Generated for CMSSW Reference Manual by
1.8.5