Go to the documentation of this file. 1 #ifndef DataFormats_Provenance_ThinnedAssociationsHelper_h
2 #define DataFormats_Provenance_ThinnedAssociationsHelper_h
16 class BranchDescription;
41 std::vector<ThinnedAssociationBranches>::const_iterator
begin()
const;
42 std::vector<ThinnedAssociationBranches>::const_iterator
end()
const;
45 std::vector<ThinnedAssociationBranches>::const_iterator
parentEnd(
BranchID const&)
const;
55 std::set<BranchID>
const& keptProductsInEvent,
56 std::map<BranchID, bool>& keepAssociation)
const;
65 std::vector<BranchID>
const& associationsFromSecondary);
69 std::map<BranchID, bool>
const& keepAssociation,
70 std::map<BranchID::value_type, BranchID::value_type>
const& droppedBranchIDToKeptBranchID);
78 std::set<BranchID>& branchesInRecursion,
79 std::set<BranchID>
const& keptProductsInEvent,
80 std::map<BranchID, bool>& keepAssociation)
const;
81 std::vector<ThinnedAssociationBranches>::const_iterator
lower_bound(
BranchID const & parent() const
static const std::string input
BranchID const & thinned() const
BranchID const & association() const
bool shouldKeepAssociation(BranchID const &association, std::vector< std::pair< BranchID, ThinnedAssociationBranches const * > > const &associationToBranches, std::set< BranchID > &branchesInRecursion, std::set< BranchID > const &keptProductsInEvent, std::map< BranchID, bool > &keepAssociation) const
std::tuple< layerClusterToCaloParticle, caloParticleToLayerCluster > association
std::vector< ThinnedAssociationBranches >::const_iterator parentEnd(BranchID const &) const
std::vector< ThinnedAssociationBranches > const & data() const
void updateFromPrimaryInput(ThinnedAssociationsHelper const &)
void selectAssociationProducts(std::vector< BranchDescription const * > const &associationDescriptions, std::set< BranchID > const &keptProductsInEvent, std::map< BranchID, bool > &keepAssociation) const
void ensureSlimmingConstraints() const
void requireMatch(ThinnedAssociationBranches const &input) const
std::vector< ThinnedAssociationBranches > vThinnedAssociationBranches_
void updateFromSecondaryInput(ThinnedAssociationsHelper const &, std::vector< BranchID > const &associationsFromSecondary)
void addAssociation(BranchID const &, BranchID const &, BranchID const &, bool slimmed)
std::vector< ThinnedAssociationBranches >::const_iterator end() const
ThinnedAssociationsHelper()
void updateFromParentProcess(ThinnedAssociationsHelper const &parentThinnedAssociationsHelper, std::map< BranchID, bool > const &keepAssociation, std::map< BranchID::value_type, BranchID::value_type > const &droppedBranchIDToKeptBranchID)
std::vector< ThinnedAssociationBranches >::const_iterator parentBegin(BranchID const &) const
void initAssociationsFromSecondary(std::vector< BranchID > const &, ThinnedAssociationsHelper const &)
std::vector< ThinnedAssociationBranches >::const_iterator lower_bound(ThinnedAssociationBranches const &branches) const
bool operator<(ThinnedAssociationBranches const &rhs) const
std::vector< std::pair< BranchID, ThinnedAssociationBranches const * > > associationToBranches() const
ThinnedAssociationBranches()
std::vector< ThinnedAssociationBranches >::const_iterator begin() const