Calibration
EcalAlCaRecoProducers
plugins
AlCaElectronTracksReducer.h
Go to the documentation of this file.
1
#ifndef _ALCAELECTRONTRACKSREDUCER_H
2
#define _ALCAELECTRONTRACKSREDUCER_H
3
4
// -*- C++ -*-
5
//
6
// Package: AlCaElectronTracksReducer
7
// Class: AlCaElectronTracksReducer
8
//
14
//
15
// Original Author: Shervin Nourbakhsh
16
// Created: Sat Feb 23 10:07:01 CEST 2013
17
// $Id: AlCaElectronTracksReducer.h,v 1.00 2013/02/23 10:10:34 shervin Exp $
18
//
19
20
// system include files
21
#include <memory>
22
23
// user include files
24
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
25
#include "
FWCore/Framework/interface/EDProducer.h
"
26
27
#include "
FWCore/Framework/interface/Event.h
"
28
#include "
FWCore/Framework/interface/MakerMacros.h
"
29
#include "
FWCore/Utilities/interface/InputTag.h
"
30
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
31
32
// input collections
33
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
34
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
35
#include "
DataFormats/TrackReco/interface/TrackExtraFwd.h
"
36
37
class
AlCaElectronTracksReducer
:
public
edm::EDProducer
{
38
public
:
39
explicit
AlCaElectronTracksReducer
(
const
edm::ParameterSet
&);
40
~AlCaElectronTracksReducer
()
override
;
41
42
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
43
44
private
:
45
// ----------member data ---------------------------
46
// input collections
47
edm::EDGetTokenT<reco::GsfElectronCollection>
electronToken_
;
48
edm::EDGetTokenT<reco::TrackCollection>
generalTracksToken_
;
49
edm::EDGetTokenT<reco::TrackExtraCollection>
generalTracksExtraToken_
;
50
51
// output collection' names
52
std::string
alcaTrackCollection_
;
53
std::string
alcaTrackExtraCollection_
;
54
};
55
56
#endif
TrackExtraFwd.h
EDProducer.h
edm::EDGetTokenT< reco::GsfElectronCollection >
AlCaElectronTracksReducer::alcaTrackCollection_
std::string alcaTrackCollection_
Definition:
AlCaElectronTracksReducer.h:52
AlCaElectronTracksReducer
Definition:
AlCaElectronTracksReducer.h:37
AlCaElectronTracksReducer::alcaTrackExtraCollection_
std::string alcaTrackExtraCollection_
Definition:
AlCaElectronTracksReducer.h:53
AlCaElectronTracksReducer::generalTracksExtraToken_
edm::EDGetTokenT< reco::TrackExtraCollection > generalTracksExtraToken_
Definition:
AlCaElectronTracksReducer.h:49
MakerMacros.h
TrackFwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
GsfElectronFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
AlCaElectronTracksReducer::AlCaElectronTracksReducer
AlCaElectronTracksReducer(const edm::ParameterSet &)
Definition:
AlCaElectronTracksReducer.cc:5
edm::EventSetup
Definition:
EventSetup.h:57
AlCaElectronTracksReducer::~AlCaElectronTracksReducer
~AlCaElectronTracksReducer() override
Definition:
AlCaElectronTracksReducer.cc:19
InputTag.h
AlCaElectronTracksReducer::generalTracksToken_
edm::EDGetTokenT< reco::TrackCollection > generalTracksToken_
Definition:
AlCaElectronTracksReducer.h:48
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:36
ParameterSet.h
edm::Event
Definition:
Event.h:73
AlCaElectronTracksReducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
AlCaElectronTracksReducer.cc:22
AlCaElectronTracksReducer::electronToken_
edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
Definition:
AlCaElectronTracksReducer.h:47
Generated for CMSSW Reference Manual by
1.8.16