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
AlCaElectronTracksReducer::generalTracksToken_
edm::EDGetTokenT< reco::TrackCollection > generalTracksToken_
Definition:
AlCaElectronTracksReducer.h:47
AlCaElectronTracksReducer::AlCaElectronTracksReducer
AlCaElectronTracksReducer(const edm::ParameterSet &)
Definition:
AlCaElectronTracksReducer.cc:5
edm::StreamID
Definition:
StreamID.h:30
Event.h
TrackFwd.h
edm::EDGetTokenT< reco::GsfElectronCollection >
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AlCaElectronTracksReducer
Definition:
AlCaElectronTracksReducer.h:37
AlCaElectronTracksReducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
AlCaElectronTracksReducer.cc:20
ParameterSet.h
AlCaElectronTracksReducer::electronToken_
edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
Definition:
AlCaElectronTracksReducer.h:46
edm::EventSetup
Definition:
EventSetup.h:59
edm::global::EDProducer
Definition:
EDProducer.h:32
TrackExtraFwd.h
GsfElectronFwd.h
AlCaElectronTracksReducer::alcaTrackCollection_
std::string alcaTrackCollection_
Definition:
AlCaElectronTracksReducer.h:51
EDProducer.h
InputTag.h
AlCaElectronTracksReducer::generalTracksExtraToken_
edm::EDGetTokenT< reco::TrackExtraCollection > generalTracksExtraToken_
Definition:
AlCaElectronTracksReducer.h:48
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
AlCaElectronTracksReducer::alcaTrackExtraCollection_
std::string alcaTrackExtraCollection_
Definition:
AlCaElectronTracksReducer.h:52
MakerMacros.h
Generated for CMSSW Reference Manual by
1.8.14