26 produces<reco::PFRecTrackCollection>();
29 std::vector<InputTag>
tags=iConfig.
getParameter< vector < InputTag > >(
"TkColList");
30 for(
unsigned int i=0;
i<tags.size();++
i)
36 (
"GsfTrackModuleLabel"));
59 auto_ptr< reco::PFRecTrackCollection >
73 pv = &*vertex->begin();
78 e(0, 0) = 0.0015 * 0.0015;
79 e(1, 1) = 0.0015 * 0.0015;
92 gsftracks = *(gsftrackcoll.
product());
107 vector<Trajectory> Tj(0);
117 for(
unsigned int i=0;
i<Tk.size();
i++){
124 bool isMuCandidate =
false;
129 for(
unsigned j=0;
j<recMuons->size();
j++) {
132 if( muonref->track() == trackRef && muonref->isGlobalMuon()){
149 for (
unsigned int igsf=0; igsf<gsftracks.size();igsf++) {
151 if (gsfTrackRef->seedRef().
isNull())
continue;
154 if(ElSeedRef->ctfTrack() == trackRef) preId =
true;
183 pftrack.setSTIP(stip);
184 PfTrColl->push_back(pftrack);
210 pftrack.setSTIP(stip);
211 PfTrColl->push_back(pftrack);
216 iEvent.
put(PfTrColl);
T getParameter(std::string const &) const
reconstructed track used as an input to particle flow
bool getByToken(EDGetToken token, Handle< PROD > &result) const
PFTrackProducer(const edm::ParameterSet &)
Constructor.
std::vector< Track > TrackCollection
collection of Tracks
reco::TransientTrack build(const reco::Track *p) const
math::Error< dimension >::type Error
covariance error matrix (3x3)
edm::EDGetTokenT< reco::GsfTrackCollection > gsfTrackLabel_
edm::EDGetTokenT< reco::VertexCollection > vtx_h
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
U second(std::pair< T, U > const &p)
bool isNonnull() const
Checks for non-null.
bool isNull() const
Checks for null.
virtual void endRun(const edm::Run &, const edm::EventSetup &) override
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool useQuality_
TRACK QUALITY.
std::vector< GsfTrack > GsfTrackCollection
collection of GsfTracks
math::XYZPoint Point
point in the space
edm::EDGetTokenT< reco::MuonCollection > muonColl_
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
static TrackQuality qualityByName(const std::string &name)
bool isValid() const
is this point valid ?
XYZVectorD XYZVector
spatial vector with cartesian internal representation
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
T const * product() const
T const * product() const
virtual void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
reco::TrackBase::TrackQuality trackQuality_
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
std::vector< PFRecTrack > PFRecTrackCollection
collection of PFRecTrack objects
~PFTrackProducer()
Destructor.