Go to the documentation of this file. 1 #ifndef EgammaCandidates_Conversion_h
2 #define EgammaCandidates_Conversion_h
46 const std::vector<math::XYZPointF>& trackPositionAtEcal,
48 const std::vector<reco::CaloClusterPtr>& matchingBC,
50 const std::vector<math::XYZPointF>& innPoint,
51 const std::vector<math::XYZVectorF>& trackPin,
52 const std::vector<math::XYZVectorF>& trackPout,
60 const std::vector<reco::TrackRef>& tr,
61 const std::vector<math::XYZPointF>& trackPositionAtEcal,
63 const std::vector<reco::CaloClusterPtr>& matchingBC,
65 const std::vector<math::XYZPointF>& innPoint,
66 const std::vector<math::XYZVectorF>& trackPin,
67 const std::vector<math::XYZVectorF>& trackPout,
72 const std::vector<reco::TrackRef>& tr,
86 std::vector<edm::RefToBase<reco::Track> >
const&
tracks()
const;
137 return dz(myBeamSpot) + myBeamSpot.z();
224 return "trackerOnly";
double dPhiTracksAtVtx() const
double pairCotThetaSeparation() const
Delta cot(Theta) where Theta is the angle in the (y,z) plane between the two tracks....
static const std::string algoNames[]
void setQuality(ConversionQuality q, bool b)
double MVAout() const
get the value of the TMVA output
std::vector< uint8_t > nHitsBeforeVtx_
number of hits before the vertex on each trackerOnly
const std::vector< math::XYZVectorF > & tracksPin() const
Vector of track momentum measured at the innermost hit.
unsigned int nTracks() const
Number of tracks= 0,1,2.
std::vector< edm::RefToBase< reco::Track > > const & tracks() const
vector of track to base references
double dz(const math::XYZPoint &myBeamSpot=math::XYZPoint()) const
std::vector< math::XYZPointF > theTrackInnerPosition_
P_in of tracks.
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > XYZTLorentzVectorF
Lorentz vector with cylindrical internal representation using pseudorapidity.
uint8_t algorithm_
conversion algorithm/provenance
double dPhiTracksAtEcal() const
double lz(const math::XYZPoint &myBeamSpot=math::XYZPoint()) const
double pairInvariantMass() const
if nTracks=2 returns the pair invariant mass. Original tracks are used here
double zOfPrimaryVertexFromTracks(const math::XYZPoint &myBeamSpot=math::XYZPoint()) const
const std::vector< Measurement1DFloat > & dlClosestHitToVtx() const
Vector of signed decay length with uncertainty from nearest hit on track to the conversion vtx positi...
std::vector< double > tracksSigned_d0() const
signed transverse impact parameter for each track
std::vector< edm::RefToBase< reco::Track > > trackToBaseRefs_
vector Track RefToBase
std::vector< math::XYZPointF > thePositionAtEcal_
position at the ECAl surface of the track extrapolation
std::vector< reco::CaloClusterPtr > theMatchingBCs_
Clusters mathing the tracks (these are not the seeds)
std::vector< math::XYZVectorF > theTrackPout_
P_out of tracks.
math::XYZTLorentzVectorF refittedPair4Momentum() const
Conversion track pair 4-momentum from the tracks refitted with vertex constraint.
float theMVAout_
TMVA output.
double lxy(const math::XYZPoint &myBeamSpot=math::XYZPoint()) const
void setMVAout(const float &mva)
set the value of the TMVA output
std::vector< Measurement1DFloat > dlClosestHitToVtx_
signed decay length and uncertainty from nearest hit on track to conversion vertex
math::XYZVectorF refittedPairMomentum() const
Conversion tracks momentum from the tracks refitted with vertex constraint.
math::XYZVectorF pairMomentum() const
Conversion tracks momentum from the tracks inner momentum.
const std::vector< uint8_t > & nHitsBeforeVtx() const
Vector of the number of hits before the vertex along each track trajector.
const std::vector< reco::CaloClusterPtr > & bcMatchingWithTracks() const
reco::CaloClusterPtrVector caloCluster_
vector pointer to a/multiple seed CaloCluster(s)
void setMatchingSuperCluster(const reco::CaloClusterPtrVector &sc)
reco::CaloClusterPtrVector caloCluster() const
Pointer to CaloCluster (foe Egamma Conversions it points to a SuperCluster)
bool isConverted() const
Bool flagging objects having track size >0.
XYZPointD XYZPoint
point in space with cartesian internal representation
bool quality(ConversionQuality q) const
std::vector< math::XYZVectorF > theTrackPin_
P_in of tracks.
const reco::Vertex & conversionVertex() const
returns the reco conversion vertex
const std::vector< math::XYZPointF > & ecalImpactPosition() const
double dxy(const math::XYZPoint &myBeamSpot=math::XYZPoint()) const
float theMinDistOfApproach_
Distance of min approach of the two tracks.
double distOfMinimumApproach() const
void setOneLegMVA(const std::vector< float > &mva)
set the MVS output from PF for one leg conversions
Conversion * clone() const
returns a clone of the candidate
reco::Vertex theConversionVertex_
Fitted Kalman conversion vertex.
uint8_t nSharedHits() const
number of shared hits btw the two track
const std::vector< float > oneLegMVA()
get the MVS output from PF for one leg conversions
static ConversionAlgorithm algoByName(const std::string &name)
double EoverPrefittedTracks() const
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float > > XYZVectorF
spatial vector with cartesian internal representation
void setConversionAlgorithm(const ConversionAlgorithm a, bool set=true)
Conversion Track algorithm/provenance.
ConversionAlgorithm algo() const
uint8_t nSharedHits_
number of shared hits between tracks
double dEtaTracksAtEcal() const
const std::vector< math::XYZVectorF > & tracksPout() const
Vector of track momentum measured at the outermost hit.
std::vector< float > theOneLegMVA_
vectors of TMVA outputs from pflow for one leg conversions
const std::vector< math::XYZPointF > & tracksInnerPosition() const
Vector containing the position of the innermost hit of each track.
std::string algoName() const