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/global/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::global::EDProducer
<> {
38
public
:
39
explicit
AlCaElectronTracksReducer
(
const
edm::ParameterSet
&);
40
41
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
42
43
private
:
44
// ----------member data ---------------------------
45
// input collections
46
edm::EDGetTokenT<reco::GsfElectronCollection>
electronToken_
;
47
edm::EDGetTokenT<reco::TrackCollection>
generalTracksToken_
;
48
edm::EDGetTokenT<reco::TrackExtraCollection>
generalTracksExtraToken_
;
49
50
// output collection' names
51
std::string
alcaTrackCollection_
;
52
std::string
alcaTrackExtraCollection_
;
53
};
54
55
#endif
edm::StreamID
Definition:
StreamID.h:30
TrackExtraFwd.h
edm::EDGetTokenT< reco::GsfElectronCollection >
AlCaElectronTracksReducer::alcaTrackCollection_
std::string alcaTrackCollection_
Definition:
AlCaElectronTracksReducer.h:51
AlCaElectronTracksReducer
Definition:
AlCaElectronTracksReducer.h:37
AlCaElectronTracksReducer::alcaTrackExtraCollection_
std::string alcaTrackExtraCollection_
Definition:
AlCaElectronTracksReducer.h:52
AlCaElectronTracksReducer::generalTracksExtraToken_
edm::EDGetTokenT< reco::TrackExtraCollection > generalTracksExtraToken_
Definition:
AlCaElectronTracksReducer.h:48
MakerMacros.h
TrackFwd.h
edm::global::EDProducer
Definition:
EDProducer.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
GsfElectronFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
AlCaElectronTracksReducer::AlCaElectronTracksReducer
AlCaElectronTracksReducer(const edm::ParameterSet &)
Definition:
AlCaElectronTracksReducer.cc:5
edm::EventSetup
Definition:
EventSetup.h:58
InputTag.h
AlCaElectronTracksReducer::generalTracksToken_
edm::EDGetTokenT< reco::TrackCollection > generalTracksToken_
Definition:
AlCaElectronTracksReducer.h:47
Frameworkfwd.h
AlCaElectronTracksReducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
AlCaElectronTracksReducer.cc:20
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
AlCaElectronTracksReducer::electronToken_
edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
Definition:
AlCaElectronTracksReducer.h:46
Generated for CMSSW Reference Manual by
1.8.16