FCCAnalyses
Loading...
Searching...
No Matches
TrackSource.h
Go to the documentation of this file.
1#ifndef ANALYZERS_SOURCE_TRACK_H
2#define ANALYZERS_SOURCE_TRACK_H
3
4// std
5#include <cstddef>
6
7// ROOT
8#include "ROOT/RVec.hxx"
9
10// EDM4hep
11#include "edm4hep/TrackCollection.h"
12#include "edm4hep/TrackMCParticleLinkCollection.h"
13
14namespace FCCAnalyses ::PodioSource ::Track {
23struct selPDG {
24 explicit selPDG(const int pdgID, const bool chargeConjugateAllowed = false);
25 const int m_pdg;
27 edm4hep::TrackCollection
28 operator()(const edm4hep::TrackMCParticleLinkCollection &inLinkColl);
29};
30
35ROOT::VecOps::RVec<std::size_t>
36getNstates(const edm4hep::TrackCollection &inColl);
37
42ROOT::VecOps::RVec<float> getD0(const edm4hep::TrackCollection &inColl);
43} // namespace FCCAnalyses::PodioSource::Track
44
45#endif /* ANALYZERS_SOURCE_TRACK_H */
ROOT::VecOps::RVec< std::size_t > getNstates(const edm4hep::TrackCollection &inColl)
Analyzer to get number of track states.
Definition TrackSource.cc:29
ROOT::VecOps::RVec< float > getD0(const edm4hep::TrackCollection &inColl)
Analyzer to get track D0.
Definition TrackSource.cc:38
FCC analyzers collection.
Definition Algorithms.h:15
Analyzer to select tracks associated with a MC particle of a specified PDG ID.
Definition TrackSource.h:23
const bool m_chargeConjugateAllowed
Definition TrackSource.h:26
const int m_pdg
Definition TrackSource.h:25