Definition at line 50 of file CutCollection.h.
◆ CutCollection() [1/2]
Hal::CutCollection::CutCollection |
( |
TObjArray ** | container, |
|
|
Int_t | cont_size, |
|
|
ECutUpdate | update, |
|
|
Int_t | collectionNo ) |
Constructor used by CutCollection
- Parameters
-
container | pointer to array with other sub-containers |
cont_size | size of cut-container array |
update | update ratio of this cut sub-container |
collectionNo | collection number of this cut sub-container |
Definition at line 34 of file CutCollection.cxx.
◆ CutCollection() [2/2]
Hal::CutCollection::CutCollection |
( |
| ) |
|
◆ ~CutCollection()
Hal::CutCollection::~CutCollection |
( |
| ) |
|
|
virtual |
◆ AddCut()
void Hal::CutCollection::AddCut |
( |
Cut * | cut, |
|
|
Option_t * | opt = " " ) |
add cut to this collection
- Parameters
-
cut | cut |
opt | option of adding (at this level only "fast" option can be used |
Definition at line 61 of file CutCollection.cxx.
◆ AddCutMonitor()
void Hal::CutCollection::AddCutMonitor |
( |
CutMonitor * | monitor | ) |
|
◆ AddNextAddr()
void Hal::CutCollection::AddNextAddr |
( |
Int_t | value, |
|
|
Bool_t | background = kFALSE ) |
add link to higher collection
- Parameters
-
value | collection number used for linking |
background | true if link point to background collections |
Definition at line 240 of file CutCollection.cxx.
◆ AddPreviousAddr()
void Hal::CutCollection::AddPreviousAddr |
( |
Int_t | value, |
|
|
Bool_t | background = kFALSE ) |
add link to lower collection
- Parameters
-
value | collection number used for linking |
background | true if link point to background collections |
Definition at line 231 of file CutCollection.cxx.
◆ Compare()
Int_t Hal::CutCollection::Compare |
( |
const TObject * | obj | ) |
const |
◆ FindCut()
Cut * Hal::CutCollection::FindCut |
( |
TString | name | ) |
const |
return cut with given name
- Parameters
-
name | cut name (name of class) |
- Returns
- cut
Definition at line 249 of file CutCollection.cxx.
◆ GetCollectionID()
Int_t Hal::CutCollection::GetCollectionID |
( |
| ) |
const |
|
inline |
◆ GetCut()
Cut * Hal::CutCollection::GetCut |
( |
Int_t | index | ) |
const |
|
inline |
return slow cut with given position
- Parameters
-
- Returns
- slow cut
Definition at line 265 of file CutCollection.h.
◆ GetCutMonitor()
CutMonitor * Hal::CutCollection::GetCutMonitor |
( |
Int_t | index | ) |
const |
◆ GetCutMonitorNo()
Int_t Hal::CutCollection::GetCutMonitorNo |
( |
| ) |
const |
|
inline |
◆ GetCutNo()
Int_t Hal::CutCollection::GetCutNo |
( |
| ) |
const |
|
inline |
◆ GetFailed()
ULong64_t Hal::CutCollection::GetFailed |
( |
Option_t * | opt = "" | ) |
const |
- Parameters
-
opt | "fast" if user want get values only for fast cuts, otherwise value of slow cuts is returned |
- Returns
- number of objects that failed cuts
Definition at line 834 of file CutCollection.cxx.
◆ GetFastCut()
Cut * Hal::CutCollection::GetFastCut |
( |
Int_t | index | ) |
const |
|
inline |
return fast cut with given position
- Parameters
-
- Returns
- fast cut
Definition at line 271 of file CutCollection.h.
◆ GetFastCutNo()
Int_t Hal::CutCollection::GetFastCutNo |
( |
| ) |
const |
|
inline |
◆ GetNextAddr()
Int_t Hal::CutCollection::GetNextAddr |
( |
Int_t | index | ) |
const |
|
inline |
return value of given link that points to higher sub-containers
- Parameters
-
- Returns
- number of collection (higher sub-container linked with this)
Definition at line 311 of file CutCollection.h.
◆ GetNextAddrBackround()
Int_t Hal::CutCollection::GetNextAddrBackround |
( |
Int_t | index | ) |
const |
|
inline |
return value of given link that points to higher sub-containers that are also background sub-containers
- Parameters
-
- Returns
- number of collection (higher sub-container linked with this)
Definition at line 335 of file CutCollection.h.
◆ GetNextNo()
Int_t Hal::CutCollection::GetNextNo |
( |
| ) |
const |
|
inline |
- Returns
- number of links to higher collections
Definition at line 299 of file CutCollection.h.
◆ GetNextNoBackround()
Int_t Hal::CutCollection::GetNextNoBackround |
( |
| ) |
const |
|
inline |
- Returns
- total number for higher tiers sub-containers in background mode
Definition at line 321 of file CutCollection.h.
◆ GetPassed()
ULong64_t Hal::CutCollection::GetPassed |
( |
Option_t * | opt = "" | ) |
const |
- Parameters
-
opt | "fast" if user want get values only for fast cuts, only for fast cuts, otherwise value of slow cuts is returned |
- Returns
- number of objects that passed cuts
Definition at line 825 of file CutCollection.cxx.
◆ GetPrevAddBackround()
Int_t Hal::CutCollection::GetPrevAddBackround |
( |
Int_t | index | ) |
const |
|
inline |
return value of given link that points to lower sub-containers and are background sub-containers
- Parameters
-
- Returns
- number of collection (lower sub-container linked with this)
Definition at line 328 of file CutCollection.h.
◆ GetPrevAddr()
Int_t Hal::CutCollection::GetPrevAddr |
( |
Int_t | index | ) |
const |
|
inline |
return value of given link that points to lower sub-containers
- Parameters
-
- Returns
- number of collection (lower sub-container linked with this)
Definition at line 305 of file CutCollection.h.
◆ GetPrevNo()
Int_t Hal::CutCollection::GetPrevNo |
( |
| ) |
const |
|
inline |
- Returns
- number of links to lower collections
Definition at line 294 of file CutCollection.h.
◆ GetPrevNoBackground()
Int_t Hal::CutCollection::GetPrevNoBackground |
( |
| ) |
const |
|
inline |
- Returns
- total number for lower tiers sub-containers in background mode
Definition at line 316 of file CutCollection.h.
◆ Init()
void Hal::CutCollection::Init |
( |
Int_t | task_id | ) |
|
initialize this cut container
- Parameters
-
task_id | of processed events |
Definition at line 150 of file CutCollection.cxx.
◆ IsDummy()
Bool_t Hal::CutCollection::IsDummy |
( |
| ) |
const |
|
inline |
In some analysis like EventAnaChain it's possible to use subtasks. In such case common cust subcontainer is marked as a "dummy". Cuts and cut monitoris in such containers might belong for more than one task, so modyfing them might lead to problems. Other values (like links) might be modified.
- Returns
- true if dummy
Definition at line 259 of file CutCollection.h.
◆ IsSortable()
Bool_t Hal::CutCollection::IsSortable |
( |
| ) |
const |
|
inline |
◆ MakeDummyCopy()
void Hal::CutCollection::MakeDummyCopy |
( |
const CutCollection * | copy, |
|
|
Bool_t | copy_high_links = kTRUE ) |
overwrite all objects in this class by object from copy, such objects are not removed if copy is not deleted
- Parameters
-
copy | original cut subconainer |
copy_high_links | if true links from to higher cut container (with bigger update ratio) is also copied |
Definition at line 781 of file CutCollection.cxx.
◆ MakeNewCopy()
CutCollection * Hal::CutCollection::MakeNewCopy |
( |
TObjArray ** | container | ) |
const |
create copy of this cut container that can be used by another task
- Parameters
-
container | array of cut containers |
- Returns
Definition at line 767 of file CutCollection.cxx.
◆ MarkAsDummy()
void Hal::CutCollection::MarkAsDummy |
( |
| ) |
|
mark this cut container as dummy (all cuts ad cuts monitor are removed and will not be used anymore
Definition at line 843 of file CutCollection.cxx.
◆ PassEvent()
Bool_t Hal::CutCollection::PassEvent |
( |
Event * | obj | ) |
|
check event cuts
- Parameters
-
- Returns
- true if object ok, false if object shoudn't pass cuts
Definition at line 625 of file CutCollection.cxx.
◆ PassTrack()
Bool_t Hal::CutCollection::PassTrack |
( |
Track * | obj | ) |
|
check track cuts
- Parameters
-
- Returns
- true if object ok, false if object shoudn't pass cuts
Definition at line 641 of file CutCollection.cxx.
◆ PassTwoTrack()
Bool_t Hal::CutCollection::PassTwoTrack |
( |
TwoTrack * | pair | ) |
|
check pair cuts
- Parameters
-
- Returns
- true if object ok, false if object shoudn't pass cuts
Definition at line 657 of file CutCollection.cxx.
◆ PrintInfo()
void Hal::CutCollection::PrintInfo |
( |
| ) |
const |
◆ Replicate()
CutCollection * Hal::CutCollection::Replicate |
( |
Int_t | new_collection | ) |
const |
copy this cut container with new collection number
- Parameters
-
new_collection | collection number of copy |
- Returns
- copy of this
Definition at line 264 of file CutCollection.cxx.
◆ Report()
Package * Hal::CutCollection::Report |
( |
| ) |
const |
|
virtual |
◆ SetStep()
void Hal::CutCollection::SetStep |
( |
Int_t | step | ) |
|
|
inline |
set "step of actualization", normalny it's equal to one, this means that we are going from events to tracks from tracks to pairs / background pairs this should be set to 2 if we want to go from particles to three particle system
- Parameters
-
Definition at line 150 of file CutCollection.h.
The documentation for this class was generated from the following files: