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
// $Id: TreeSplitter.h,v 1.1 2010/07/13 10:50:38 demattia Exp $
20
//
21
22
#include "
FWCore/Framework/interface/MakerMacros.h
"
23
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
24
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
25
#include "
FWCore/Framework/interface/Event.h
"
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
#include <
MuonAnalysis/MomentumScaleCalibration/interface/RootTreeHandler.h
>
28
29
class
TreeSplitter
:
public
edm::EDAnalyzer
30
{
31
public
:
32
explicit
TreeSplitter
(
const
edm::ParameterSet
&);
33
~TreeSplitter
();
34
35
private
:
36
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&) {};
37
virtual
void
endJob
();
38
39
TString
treeFileName_
;
40
TString
outputFileName_
;
41
int32_t
maxEvents_
;
42
uint32_t
subSampleFirstEvent_
;
43
uint32_t
subSampleMaxEvents_
;
44
};
45
46
#endif // TREESPLITTER_HH
TreeSplitter::subSampleFirstEvent_
uint32_t subSampleFirstEvent_
Definition:
TreeSplitter.h:42
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:39
TreeSplitter::outputFileName_
TString outputFileName_
Definition:
TreeSplitter.h:40
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
TreeSplitter::subSampleMaxEvents_
uint32_t subSampleMaxEvents_
Definition:
TreeSplitter.h:43
TreeSplitter
Definition:
TreeSplitter.h:29
RootTreeHandler.h
TreeSplitter::endJob
virtual void endJob()
Definition:
TreeSplitter.cc:19
edm::ParameterSet
Definition:
ParameterSet.h:35
TreeSplitter::maxEvents_
int32_t maxEvents_
Definition:
TreeSplitter.h:41
edm::Event
Definition:
Event.h:50
TreeSplitter::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
TreeSplitter.h:36
Generated for CMSSW Reference Manual by
1.8.5