#include <Discriminants.h>
Public Member Functions | |
MainTrackAngle () | |
~MainTrackAngle () | |
Protected Member Functions | |
void | doComputation (PFTauDiscriminantManager *input, std::vector< double > &result) |
Definition at line 85 of file Discriminants.h.
PFTauDiscriminants::MainTrackAngle::MainTrackAngle | ( | ) | [inline] |
Definition at line 87 of file Discriminants.h.
:DiscriminantBase<double>("MainTrackAngle", "D", true, false, -1){};
PFTauDiscriminants::MainTrackAngle::~MainTrackAngle | ( | ) | [inline] |
Definition at line 88 of file Discriminants.h.
{};
void PFTauDiscriminants::MainTrackAngle::doComputation | ( | PFTauDiscriminantManager * | input, |
std::vector< double > & | result | ||
) | [protected, virtual] |
Implements PFTauDiscriminants::DiscriminantBase< double >.
Definition at line 62 of file Discriminants.cc.
References PFTauDiscriminants::PFTauDiscriminantManager::getDecayMode(), PFTauDiscriminants::PFTauDiscriminantManager::mainTrack(), reco::LeafCandidate::momentum(), and reco::Candidate::momentum().
{ math::XYZVector signalObjectsAxis = input->getDecayMode()->momentum(); const reco::Candidate* theMainTrack = input->mainTrack(); DeltaR<math::XYZVector> myDRComputer; if (theMainTrack) result.push_back(myDRComputer(theMainTrack->momentum(), signalObjectsAxis)); }