src
L1Trigger
L1TNtuples
interface
L1AnalysisRecoTrack.h
Go to the documentation of this file.
1
#ifndef __L1Analysis_L1AnalysisRecoTrack_H__
2
#define __L1Analysis_L1AnalysisRecoTrack_H__
3
4
//-------------------------------------------------------------------------------
5
// Created 15/04/2010 - A.C. Le Bihan
6
//
7
//
8
// Original code : L1Trigger/L1TNtuples/L1TrackVertexRecoTreeProducer - Jim Brooke
9
//-------------------------------------------------------------------------------
10
11
#include "
DataFormats/TrackReco/interface/Track.h
"
12
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
13
#include "
L1AnalysisRecoTrackDataFormat.h
"
14
15
namespace
L1Analysis
{
16
class
L1AnalysisRecoTrack
{
17
public
:
18
L1AnalysisRecoTrack
() {
Reset
(); };
19
~L1AnalysisRecoTrack
(){};
20
21
void
SetTracks
(
const
reco::TrackCollection
& trackColl,
unsigned
maxTrack);
22
L1Analysis::L1AnalysisRecoTrackDataFormat
*
getData
() {
return
(&
track_
); }
23
void
Reset
() {
track_
.
Reset
(); }
24
25
private
:
26
L1Analysis::L1AnalysisRecoTrackDataFormat
track_
;
27
};
28
}
// namespace L1Analysis
29
#endif
L1Analysis::L1AnalysisRecoTrack::~L1AnalysisRecoTrack
~L1AnalysisRecoTrack()
Definition:
L1AnalysisRecoTrack.h:19
L1Analysis::L1AnalysisRecoTrack::track_
L1Analysis::L1AnalysisRecoTrackDataFormat track_
Definition:
L1AnalysisRecoTrack.h:26
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
L1Analysis::L1AnalysisRecoTrack::getData
L1Analysis::L1AnalysisRecoTrackDataFormat * getData()
Definition:
L1AnalysisRecoTrack.h:22
TrackFwd.h
L1Analysis::L1AnalysisRecoTrack::SetTracks
void SetTracks(const reco::TrackCollection &trackColl, unsigned maxTrack)
Definition:
L1AnalysisRecoTrack.cc:3
L1Analysis::L1AnalysisRecoTrack::Reset
void Reset()
Definition:
L1AnalysisRecoTrack.h:23
L1AnalysisRecoTrackDataFormat.h
L1Analysis::L1AnalysisRecoTrack
Definition:
L1AnalysisRecoTrack.h:16
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:12
Track.h
L1Analysis::L1AnalysisRecoTrack::L1AnalysisRecoTrack
L1AnalysisRecoTrack()
Definition:
L1AnalysisRecoTrack.h:18
L1Analysis::L1AnalysisRecoTrackDataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoTrackDataFormat.h:18
L1Analysis::L1AnalysisRecoTrackDataFormat
Definition:
L1AnalysisRecoTrackDataFormat.h:14
Generated for CMSSW Reference Manual by
1.8.14