|
enum class | ELinkPolicy {
kOneToMany
, kEqual
, kReplicateLast
, kReplicateFirst
,
kAnyToAny
} |
|
|
| CutContainer () |
|
| CutContainer (const CutContainer &cont) |
|
| CutContainer (ECutUpdate tiers_no) |
|
void | Init (const Int_t task_id=0) |
|
void | AddCut (const Cut &cut, Option_t *opt=" ") |
|
void | InitReport () const |
|
void | AddMonitor (const CutMonitor &monitor, Option_t *opt=" ") |
|
void | LinkCollections (ECutUpdate opt_low, Int_t in_low, ECutUpdate opt_high, Int_t in_high) |
|
void | ReplicateCollection (ECutUpdate type, Int_t collection_no, Int_t new_collection_no, Option_t *option="") |
|
void | RemoveCollection (ECutUpdate update, Int_t collection) |
|
void | MakeDummyCopies (ECutUpdate update, CutContainer *other, Bool_t copy_link) |
|
void | AddVirtualCut (ECutUpdate update, Int_t col) |
|
Int_t | GetCollectionsNo (ECutUpdate update) const |
|
Int_t | GetEventCollectionsNo () const |
|
Int_t | GetTrackCollectionsNo () const |
|
Int_t | GetTwoTrackCollectionsNo () const |
|
Int_t | GetTwoTrackCollectionsBackgroundNo () const |
|
Bool_t | LinkCollections (ECutUpdate first, ECutUpdate last, ELinkPolicy policy) |
|
CutCollection * | GetEventCollection (Int_t collection) const |
|
CutCollection * | GetTrackCollection (Int_t collection) const |
|
CutCollection * | GetTwoTrackCollection (Int_t collection) const |
|
CutCollection * | GetTwoTrackBackgroundCollection (Int_t collection) const |
|
Int_t | GetSize () const |
|
Bool_t | PassEvent (Event *event, const Int_t collection) |
|
Bool_t | PassTrack (Track *track, const Int_t collection) |
|
Bool_t | PassSignalPair (TwoTrack *pair, const Int_t collection) |
|
Bool_t | PassBackgroundPair (TwoTrack *pair, const Int_t collection) |
|
virtual Package * | Report () const |
|
Definition at line 26 of file CutContainer.h.
◆ ELinkPolicy
◆ CutContainer() [1/3]
Hal::CutContainer::CutContainer |
( |
| ) |
|
default constructor that shouldn't be used
Definition at line 32 of file CutContainer.cxx.
◆ CutContainer() [2/3]
Hal::CutContainer::CutContainer |
( |
const CutContainer & | cont | ) |
|
◆ CutContainer() [3/3]
Hal::CutContainer::CutContainer |
( |
ECutUpdate | tiers_no | ) |
|
proper default constructor
- Parameters
-
tiers_no | the highest update ratio of cuts used in analysis |
Definition at line 34 of file CutContainer.cxx.
◆ ~CutContainer()
Hal::CutContainer::~CutContainer |
( |
| ) |
|
|
virtual |
◆ AddCut()
void Hal::CutContainer::AddCut |
( |
const Cut & | cut, |
|
|
Option_t * | opt = " " ) |
add cut to this
- Parameters
-
cut | cut to add |
opt | option of adding cut |
Definition at line 71 of file CutContainer.cxx.
◆ AddMonitor()
void Hal::CutContainer::AddMonitor |
( |
const CutMonitor & | monitor, |
|
|
Option_t * | opt = " " ) |
add cut monitor to this
- Parameters
-
monitor | monitor to add |
opt | option of adding |
Definition at line 134 of file CutContainer.cxx.
◆ AddVirtualCut()
void Hal::CutContainer::AddVirtualCut |
( |
ECutUpdate | update, |
|
|
Int_t | col ) |
◆ GetCollectionsNo()
Int_t Hal::CutContainer::GetCollectionsNo |
( |
ECutUpdate | update | ) |
const |
return event collections no for given update ratio
Definition at line 512 of file CutContainer.cxx.
◆ GetCutContainer()
TObjArray * Hal::CutContainer::GetCutContainer |
( |
ECutUpdate | upd | ) |
const |
|
inlineprotected |
◆ GetEventCollection()
CutCollection * Hal::CutContainer::GetEventCollection |
( |
Int_t | collection | ) |
const |
|
inline |
- Parameters
-
- Returns
- given event collection
Definition at line 154 of file CutContainer.h.
◆ GetEventCollectionsNo()
Int_t Hal::CutContainer::GetEventCollectionsNo |
( |
| ) |
const |
◆ GetSize()
Int_t Hal::CutContainer::GetSize |
( |
| ) |
const |
|
inline |
- Returns
- size of cut container (highest tier number/update ratio)
Definition at line 186 of file CutContainer.h.
◆ GetTrackCollection()
CutCollection * Hal::CutContainer::GetTrackCollection |
( |
Int_t | collection | ) |
const |
|
inline |
- Parameters
-
- Returns
- given track collection
Definition at line 163 of file CutContainer.h.
◆ GetTrackCollectionsNo()
Int_t Hal::CutContainer::GetTrackCollectionsNo |
( |
| ) |
const |
◆ GetTwoTrackBackgroundCollection()
CutCollection * Hal::CutContainer::GetTwoTrackBackgroundCollection |
( |
Int_t | collection | ) |
const |
|
inline |
- Parameters
-
- Returns
- given background two-track collection
Definition at line 179 of file CutContainer.h.
◆ GetTwoTrackCollection()
CutCollection * Hal::CutContainer::GetTwoTrackCollection |
( |
Int_t | collection | ) |
const |
|
inline |
- Parameters
-
- Returns
- given two-track collection
Definition at line 171 of file CutContainer.h.
◆ GetTwoTrackCollectionsBackgroundNo()
Int_t Hal::CutContainer::GetTwoTrackCollectionsBackgroundNo |
( |
| ) |
const |
- Returns
- number of background two-track collections in this
Definition at line 416 of file CutContainer.cxx.
◆ GetTwoTrackCollectionsNo()
Int_t Hal::CutContainer::GetTwoTrackCollectionsNo |
( |
| ) |
const |
- Returns
- number of two-track collections in this
Definition at line 411 of file CutContainer.cxx.
◆ Init()
void Hal::CutContainer::Init |
( |
const Int_t | task_id = 0 | ) |
|
◆ InitReport()
void Hal::CutContainer::InitReport |
( |
| ) |
const |
◆ LinkCollections() [1/2]
Bool_t Hal::CutContainer::LinkCollections |
( |
ECutUpdate | first, |
|
|
ECutUpdate | last, |
|
|
ELinkPolicy | policy ) |
◆ LinkCollections() [2/2]
void Hal::CutContainer::LinkCollections |
( |
ECutUpdate | opt_low, |
|
|
Int_t | in_low, |
|
|
ECutUpdate | opt_high, |
|
|
Int_t | in_high ) |
link collections
- Parameters
-
opt_low | update ratio for linking from |
in_low | collection number for linking from |
opt_high | update ratio for linking to |
in_high | collection number for linking to |
Definition at line 170 of file CutContainer.cxx.
◆ MakeDummyCopies()
void Hal::CutContainer::MakeDummyCopies |
( |
ECutUpdate | update, |
|
|
CutContainer * | other, |
|
|
Bool_t | copy_link ) |
copy cut containers with given collection from other cut container to this cut container, those copies are marked as "dummy" so they contains pointers to cuts and cuts monitors from other instead of copies, method useful for making "chain analysis"
- Parameters
-
update | specify witch cuts and cut monitors will be copied |
other | cut monitor that is source of cuts for copying |
copy_link | - copy links between different layers of cuts |
Definition at line 432 of file CutContainer.cxx.
◆ PassBackgroundPair()
Bool_t Hal::CutContainer::PassBackgroundPair |
( |
TwoTrack * | pair, |
|
|
const Int_t | collection ) |
|
inline |
check pair cuts
- Parameters
-
pair | pair pair of tracks to check |
collection | pair collection number used for checking |
- Returns
- true if passed false otherwise
Definition at line 221 of file CutContainer.h.
◆ PassEvent()
Bool_t Hal::CutContainer::PassEvent |
( |
Event * | event, |
|
|
const Int_t | collection ) |
|
inline |
check event cuts
- Parameters
-
event | event to check |
collection | event collection number used for checking |
- Returns
- true if passed false otherwise
Definition at line 193 of file CutContainer.h.
◆ PassSignalPair()
Bool_t Hal::CutContainer::PassSignalPair |
( |
TwoTrack * | pair, |
|
|
const Int_t | collection ) |
|
inline |
check pair cuts
- Parameters
-
pair | pair pair of tracks to check |
collection | pair collection number used for checking |
- Returns
- true if passed false otherwise
Definition at line 211 of file CutContainer.h.
◆ PassTrack()
Bool_t Hal::CutContainer::PassTrack |
( |
Track * | track, |
|
|
const Int_t | collection ) |
|
inline |
check track cuts
- Parameters
-
track | track to check |
collection | track collection number used for checking |
- Returns
- true if passed false otherwise
Definition at line 202 of file CutContainer.h.
◆ RemoveCollection()
void Hal::CutContainer::RemoveCollection |
( |
ECutUpdate | update, |
|
|
Int_t | collection ) |
remove given sub-container (collection) from this container
- Parameters
-
update | update ration of removed sub-container |
collection | collection number of removed sub-container |
Definition at line 221 of file CutContainer.cxx.
◆ ReplicateCollection()
void Hal::CutContainer::ReplicateCollection |
( |
ECutUpdate | type, |
|
|
Int_t | collection_no, |
|
|
Int_t | new_collection_no, |
|
|
Option_t * | option = "" ) |
copy cut sub-container with given collection to new sub-container and add to this cut cutnaier
- Parameters
-
type | update ration (tier) of sub-container that should be copied |
collection_no | number collection number of subcontainer that should be copied |
new_collection_no | number of collection of new sub-container |
option | currently not used |
Definition at line 207 of file CutContainer.cxx.
◆ Report()
Package * Hal::CutContainer::Report |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: