Rivet::Projection Class Referenceabstract Base class for all Rivet projections. More...
Inheritance diagram for Rivet::Projection:
![]()
Detailed DescriptionBase class for all Rivet projections. Projection is the base class of all Projections to be used by Rivet. A Projection object can be assigned to an Event object and will then define a processed part of the information available in the Event, which then can be used by other Projection objects and/or Analysis objects. The main virtual functions to be overridden by concrete sub-classes are project(const Event &) and compare(const Projection &). Member Function Documentation◆ addPdgIdPair()
◆ beamPairs()
Return the allowed beam pairs on which this projection can operate, not including recursion. Derived classes should ensure that all contained projections are registered in the _projections set for the beam constraint chaining to work.
References getLog(), Rivet::ProjectionApplier::getProjections(), and Rivet::intersection(). Referenced by name(). ◆ before()
Determine whether this object should be ordered before the object p given as argument. If p is of a different class than this, the before() function of the corresponding type_info objects is used. Otherwise, if the objects are of the same class, the virtual compare(const Projection &) will be returned. References Rivet::cmp(), and compare(). ◆ compare()
This function is used to define a unique ordering between different Projection objects of the same class. If this is considered to be equivalent to the Projector object, p, in the argument the function should return 0. If this object should be ordered before p a negative value should be returned, otherwise a positive value should be returned. This function must never be called explicitly, but should only be called from the operator<(const Projection &). When implementing the function in concrete sub-classes, it is then guaranteed that the Projection object p in the argument is of the same class as the sub-class and can be safely dynamically casted to that class. When implementing this function in a sub-class, the immediate base class version of the function should be called first. If the base class function returns a non-zero value, that value should be returned immediately. Only if zero is returned should this function check the member variables of the sub-class to determine whether this should be ordered before or after p, or if it is equivalent with p. Implemented in Rivet::GeneratedCentrality, Rivet::ALICE::PrimaryParticles, Rivet::ALICE::V0AndTrigger, Rivet::FastJets, Rivet::ALICE::V0Trigger< MODE >, Rivet::VetoedFinalState, Rivet::JetAlg, Rivet::ALICE::CLMultiplicity< INNER >, Rivet::JetShape, Rivet::DressedLeptons, Rivet::Correlators, Rivet::WFinder, Rivet::ParticleFinder, Rivet::MissingMomentum, Rivet::IdentifiedFinalState, Rivet::SmearedParticles, Rivet::ATLAS::MinBiasTrigger, Rivet::SmearedJets, Rivet::PercentileProjection, Rivet::HeavyHadrons, Rivet::ZFinder, Rivet::Hemispheres, Rivet::PartonicTops, Rivet::EventMixingFinalState, Rivet::ALICE::V0Multiplicity< MODE >, Rivet::MC_pPbMinBiasTrigger, Rivet::ATLAS::SumET_PBPB_Centrality, Rivet::DISFinalState, Rivet::Sphericity, Rivet::CentralityProjection, Rivet::Thrust, Rivet::LossyFinalState< FILTER >, Rivet::LossyFinalState< ConstRandomFilter >, Rivet::InvMassFinalState, Rivet::ParisiTensor, Rivet::PrimaryParticles, Rivet::FoxWolframMoments, Rivet::Spherocity, Rivet::LeadingParticlesFinalState, Rivet::TriggerUA5, Rivet::PromptFinalState, Rivet::CentralityEstimator, Rivet::NeutralFinalState, Rivet::TriggerProjection, Rivet::TauFinder, Rivet::SmearedMET, Rivet::VisibleFinalState, Rivet::InitialQuarks, Rivet::NonPromptFinalState, Rivet::HadronicFinalState, Rivet::ATLAS::SumET_PB_Centrality, Rivet::MC_SumETFwdPbCentrality, Rivet::NonHadronicFinalState, Rivet::ChargedLeptons, Rivet::MergedFinalState, Rivet::TriggerCDFRun0Run1, Rivet::TriggerCDFRun2, Rivet::DISKinematics, Rivet::DISLepton, Rivet::FinalState, Rivet::BeamThrust, Rivet::CentralEtHCM, Rivet::ChargedFinalState, Rivet::FParameter, Rivet::GeneratedPercentileProjection, Rivet::UserCentEstimate, and Rivet::ImpactParameterProjection. ◆ mkNamedPCmp()
Shortcut to make a named Cmp<Projection> comparison with the References Rivet::pcmp(). Referenced by Rivet::FParameter::compare(), Rivet::ChargedFinalState::compare(), Rivet::CentralEtHCM::compare(), Rivet::BeamThrust::compare(), Rivet::DISKinematics::compare(), Rivet::DISLepton::compare(), Rivet::MergedFinalState::compare(), Rivet::ChargedLeptons::compare(), Rivet::MC_SumETFwdPbCentrality::compare(), Rivet::ATLAS::SumET_PB_Centrality::compare(), Rivet::NonPromptFinalState::compare(), Rivet::VisibleFinalState::compare(), Rivet::TauFinder::compare(), Rivet::NeutralFinalState::compare(), Rivet::PromptFinalState::compare(), Rivet::CentralityEstimator::compare(), Rivet::LeadingParticlesFinalState::compare(), Rivet::FoxWolframMoments::compare(), Rivet::Spherocity::compare(), Rivet::ParisiTensor::compare(), Rivet::InvMassFinalState::compare(), Rivet::LossyFinalState< ConstRandomFilter >::compare(), Rivet::Thrust::compare(), Rivet::Sphericity::compare(), Rivet::DISFinalState::compare(), Rivet::MC_pPbMinBiasTrigger::compare(), Rivet::ATLAS::SumET_PBPB_Centrality::compare(), Rivet::EventMixingFinalState::compare(), Rivet::Hemispheres::compare(), Rivet::ZFinder::compare(), Rivet::HeavyHadrons::compare(), Rivet::PercentileProjection::compare(), Rivet::ATLAS::MinBiasTrigger::compare(), Rivet::IdentifiedFinalState::compare(), Rivet::MissingMomentum::compare(), Rivet::WFinder::compare(), Rivet::DressedLeptons::compare(), Rivet::JetShape::compare(), Rivet::VetoedFinalState::compare(), Rivet::FastJets::compare(), Rivet::GeneratedCentrality::compare(), and setName(). ◆ mkPCmp()
Shortcut to make a named Cmp<Projection> comparison with the
References Rivet::pcmp(). Referenced by Rivet::FinalState::compare(), Rivet::SmearedMET::compare(), Rivet::SmearedJets::compare(), Rivet::SmearedParticles::compare(), Rivet::Correlators::compare(), Rivet::ALICE::PrimaryParticles::compare(), and setName(). ◆ project()
Take the information available in the Event and make the calculations necessary to obtain the projection. Note that this function must never be called except inside the Event::applyProjection(Projection *) function. Implemented in Rivet::GeneratedCentrality, Rivet::ALICE::V0AndTrigger, Rivet::FastJets, Rivet::ALICE::V0Trigger< MODE >, Rivet::VetoedFinalState, Rivet::JetAlg, Rivet::Beam, Rivet::JetShape, Rivet::ALICE::CLMultiplicity< INNER >, Rivet::DressedLeptons, Rivet::Correlators, Rivet::WFinder, Rivet::ParticleFinder, Rivet::SmearedParticles, Rivet::MissingMomentum, Rivet::SmearedJets, Rivet::IdentifiedFinalState, Rivet::ATLAS::MinBiasTrigger, Rivet::HeavyHadrons, Rivet::ZFinder, Rivet::PercentileProjection, Rivet::Hemispheres, Rivet::PrimaryParticles, Rivet::DISFinalState, Rivet::Sphericity, Rivet::MC_pPbMinBiasTrigger, Rivet::PartonicTops, Rivet::EventMixingFinalState, Rivet::ATLAS::SumET_PBPB_Centrality, Rivet::ALICE::V0Multiplicity< MODE >, Rivet::Thrust, Rivet::InvMassFinalState, Rivet::ParisiTensor, Rivet::SmearedMET, Rivet::FoxWolframMoments, Rivet::LeadingParticlesFinalState, Rivet::CentralityProjection, Rivet::LossyFinalState< FILTER >, Rivet::PromptFinalState, Rivet::LossyFinalState< ConstRandomFilter >, Rivet::Spherocity, Rivet::TriggerUA5, Rivet::NeutralFinalState, Rivet::UnstableParticles, Rivet::CentralityEstimator, Rivet::TauFinder, Rivet::VisibleFinalState, Rivet::PrimaryHadrons, Rivet::InitialQuarks, Rivet::NonPromptFinalState, Rivet::HadronicFinalState, Rivet::TriggerProjection, Rivet::NonHadronicFinalState, Rivet::ChargedLeptons, Rivet::MergedFinalState, Rivet::DISKinematics, Rivet::DISLepton, Rivet::FinalState, Rivet::CentralEtHCM, Rivet::TriggerCDFRun0Run1, Rivet::TriggerCDFRun2, Rivet::ChargedFinalState, Rivet::ATLAS::SumET_PB_Centrality, Rivet::MC_SumETFwdPbCentrality, Rivet::BeamThrust, Rivet::FParameter, Rivet::GeneratedPercentileProjection, Rivet::ImpactParameterProjection, Rivet::UserCentEstimate, and Rivet::FinalPartons. Referenced by Rivet::Event::applyProjection(), and name(). The documentation for this class was generated from the following files:
Generated on Sun Feb 17 2019 21:05:16 for Rivet by ![]() |