Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions PhysicsTools/TruthInfo/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# TruthInfo prototype
# TruthInfo

> **Status: under heavy development — not open to external contributions.**
> This is an experimental prototype: its data model, APIs, and configuration
> change frequently and without notice, and it targets **Phase-2 (Run 4) only**
> (no Phase-1/Run-2 support). Please do not submit external changes or depend on
> it in production at this stage.
> **Status: open for contributions.** The data model and the levels are covered by
> unit tests; a change to either should come with one. The package targets
> **Phase-2 (Run 4) only** (no Phase-1/Run-2 support).
>
> **Original author and maintainer:** Felice Pantaleo (CERN),
> <felice.pantaleo@cern.ch>.
Expand Down
323 changes: 0 additions & 323 deletions PhysicsTools/TruthInfo/doc/resource_cost.md

This file was deleted.

7 changes: 4 additions & 3 deletions PhysicsTools/TruthInfo/interface/Branch.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Original author: Felice Pantaleo (CERN) <felice.pantaleo@cern.ch>
// Part of the MC-truth-graph prototype - under heavy development, not yet open
// to external contributions (see PhysicsTools/TruthInfo/README.md).

#ifndef PhysicsTools_TruthInfo_interface_Branch_h
#define PhysicsTools_TruthInfo_interface_Branch_h
Expand Down Expand Up @@ -73,7 +71,10 @@ namespace truth {
[[nodiscard]] int bunchCrossing() const;
[[nodiscard]] int event() const;
[[nodiscard]] bool isInTime() const { return bunchCrossing() == 0; }
[[nodiscard]] bool isFromPileup() const { return bunchCrossing() != 0; }
// Anything that is not the signal interaction. NOT bunchCrossing() != 0: in-time
// pileup carries bunch crossing 0 and a nonzero event number, and the default
// production keeps in-time pileup only.
[[nodiscard]] bool isFromPileup() const { return !isSignal(); }
[[nodiscard]] bool isSignal() const { return bunchCrossing() == 0 && event() == 0; }

// Relations between branches.
Expand Down
2 changes: 0 additions & 2 deletions PhysicsTools/TruthInfo/interface/BranchHitAssociator.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Original author: Felice Pantaleo (CERN) <felice.pantaleo@cern.ch>
// Part of the MC-truth-graph prototype - under heavy development, not yet open
// to external contributions (see PhysicsTools/TruthInfo/README.md).

#ifndef PhysicsTools_TruthInfo_interface_BranchHitAssociator_h
#define PhysicsTools_TruthInfo_interface_BranchHitAssociator_h
Expand Down
2 changes: 0 additions & 2 deletions PhysicsTools/TruthInfo/interface/BranchSelector.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Original author: Felice Pantaleo (CERN) <felice.pantaleo@cern.ch>
// Part of the MC-truth-graph prototype - under heavy development, not yet open
// to external contributions (see PhysicsTools/TruthInfo/README.md).

#ifndef PhysicsTools_TruthInfo_interface_BranchSelector_h
#define PhysicsTools_TruthInfo_interface_BranchSelector_h
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Original author: Felice Pantaleo (CERN) <felice.pantaleo@cern.ch>
// Part of the MC-truth-graph prototype - under heavy development, not yet open
// to external contributions (see PhysicsTools/TruthInfo/README.md).

#ifndef PhysicsTools_TruthInfo_LogicalGraphHitIndexBuilder_h
#define PhysicsTools_TruthInfo_LogicalGraphHitIndexBuilder_h
Expand Down
2 changes: 0 additions & 2 deletions PhysicsTools/TruthInfo/interface/RecoHitAdapters.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Original author: Felice Pantaleo (CERN) <felice.pantaleo@cern.ch>
// Part of the MC-truth-graph prototype - under heavy development, not yet open
// to external contributions (see PhysicsTools/TruthInfo/README.md).

#ifndef PhysicsTools_TruthInfo_interface_RecoHitAdapters_h
#define PhysicsTools_TruthInfo_interface_RecoHitAdapters_h
Expand Down
2 changes: 0 additions & 2 deletions PhysicsTools/TruthInfo/interface/SubgraphHitView.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Original author: Felice Pantaleo (CERN) <felice.pantaleo@cern.ch>
// Part of the MC-truth-graph prototype - under heavy development, not yet open
// to external contributions (see PhysicsTools/TruthInfo/README.md).

#ifndef PhysicsTools_TruthInfo_SubgraphHitView_h
#define PhysicsTools_TruthInfo_SubgraphHitView_h
Expand Down
Loading