![]() |
ATLAS Offline Software
|
The collection container manages the time binning of a particular scale-factor map. More...
#include <EffiCollection.h>
Public Member Functions | |
| CollectionContainer (const MuonEfficiencyScaleFactors &ref_tool, EffiCollection::CollectionType FileType) | |
| Nominal constructor... Only needs to know about it's type and the file to load. | |
| CollectionContainer (const MuonEfficiencyScaleFactors &ref_tool, CollectionContainer *Nominal, const std::string &syst_name, unsigned int syst_bit_map) | |
| EfficiencyScaleFactor * | retrieve (unsigned int RunNumer) |
| Retrieve the scale-factor map belonging to that particular run of data-taking. | |
| bool | isBinInMap (unsigned int bin) const |
| Checks if the global bin number belongs to this map. | |
| bool | CheckConsistency () |
| Consistency check of all scale-factor maps managed by the container instance. | |
| std::string | sysname () const |
| Returns MUON_EFF_<sysname()> | |
| bool | SetSystematicBin (unsigned int Bin) |
| Activate this bin to run in the uncorrelated systematic mode. | |
| void | SetGlobalOffSet (unsigned int OffSet) |
| Sets the global offset to align the order in the map into a global numbering scheme. | |
| unsigned int | nBins () const |
| Number of bins of the map itself. | |
| unsigned int | nOverFlowBins () const |
| Number of overflow bins in the map. | |
| bool | isOverFlowBin (int b) const |
| Check whether the bin is overflow or not. | |
| unsigned int | globalOffSet () const |
| Global offset of the bin numbers. | |
| std::string | GetBinName (unsigned int Bin) const |
| Name of the i-th bin. | |
| int | FindBinSF (const xAOD::Muon &mu) const |
| Returns the global bin number corresponding to the muon kinematics. | |
| EffiCollection::CollectionType | type () const |
| File type of the map. | |
| bool | isNominal () const |
| bool | isUpVariation () const |
| bool | separateBinSyst () const |
| void | addSubtoolsTo (columnar::ColumnarTool<> &parentTool) |
Private Member Functions | |
| std::map< std::string, std::pair< unsigned int, unsigned int > > | findPeriods (const MuonEfficiencyScaleFactors &ref_tool) const |
| std::string | fileName (const MuonEfficiencyScaleFactors &ref_tool) const |
| bool | LoadPeriod (unsigned int RunNumber) |
Private Attributes | |
| std::vector< std::shared_ptr< EfficiencyScaleFactor > > | m_SF |
| EfficiencyScaleFactor * | m_currentSF |
| EffiCollection::CollectionType | m_FileType |
| unsigned int | m_binOffSet |
| Offset to translate between the bin-numbers in the bin numbers of each file against the global bin-number. | |
The collection container manages the time binning of a particular scale-factor map.
For a given runNumber, it pipes the right map to the upstream tools.
Definition at line 140 of file EffiCollection.h.
| CP::CollectionContainer::CollectionContainer | ( | const MuonEfficiencyScaleFactors & | ref_tool, |
| EffiCollection::CollectionType | FileType ) |
Nominal constructor... Only needs to know about it's type and the file to load.
Definition at line 354 of file EffiCollection.cxx.
| CP::CollectionContainer::CollectionContainer | ( | const MuonEfficiencyScaleFactors & | ref_tool, |
| CollectionContainer * | Nominal, | ||
| const std::string & | syst_name, | ||
| unsigned int | syst_bit_map ) |
Definition at line 366 of file EffiCollection.cxx.
| void CP::CollectionContainer::addSubtoolsTo | ( | columnar::ColumnarTool<> & | parentTool | ) |
Definition at line 512 of file EffiCollection.cxx.
| bool CP::CollectionContainer::CheckConsistency | ( | ) |
Consistency check of all scale-factor maps managed by the container instance.
Check that there are no overlapping run numbers in the periods
Definition at line 419 of file EffiCollection.cxx.
|
private |
Definition at line 411 of file EffiCollection.cxx.
| int CP::CollectionContainer::FindBinSF | ( | const xAOD::Muon & | mu | ) | const |
Returns the global bin number corresponding to the muon kinematics.
In case of failures -1 is returned
Definition at line 485 of file EffiCollection.cxx.
|
private |
Definition at line 382 of file EffiCollection.cxx.
Name of the i-th bin.
Definition at line 482 of file EffiCollection.cxx.
Global offset of the bin numbers.
Definition at line 493 of file EffiCollection.cxx.
Checks if the global bin number belongs to this map.
Definition at line 476 of file EffiCollection.cxx.
| bool CP::CollectionContainer::isNominal | ( | ) | const |
Definition at line 496 of file EffiCollection.cxx.
Check whether the bin is overflow or not.
Definition at line 473 of file EffiCollection.cxx.
| bool CP::CollectionContainer::isUpVariation | ( | ) | const |
Definition at line 500 of file EffiCollection.cxx.
Definition at line 441 of file EffiCollection.cxx.
Number of bins of the map itself.
Definition at line 467 of file EffiCollection.cxx.
Number of overflow bins in the map.
Definition at line 470 of file EffiCollection.cxx.
| EfficiencyScaleFactor * CP::CollectionContainer::retrieve | ( | unsigned int | RunNumer | ) |
Retrieve the scale-factor map belonging to that particular run of data-taking.
Definition at line 453 of file EffiCollection.cxx.
| bool CP::CollectionContainer::separateBinSyst | ( | ) | const |
Definition at line 504 of file EffiCollection.cxx.
Sets the global offset to align the order in the map into a global numbering scheme.
Definition at line 490 of file EffiCollection.cxx.
Activate this bin to run in the uncorrelated systematic mode.
Definition at line 459 of file EffiCollection.cxx.
| std::string CP::CollectionContainer::sysname | ( | ) | const |
Returns MUON_EFF_<sysname()>
Definition at line 508 of file EffiCollection.cxx.
| EffiCollection::CollectionType CP::CollectionContainer::type | ( | ) | const |
File type of the map.
Definition at line 479 of file EffiCollection.cxx.
Offset to translate between the bin-numbers in the bin numbers of each file against the global bin-number.
Definition at line 201 of file EffiCollection.h.
|
private |
Definition at line 196 of file EffiCollection.h.
|
private |
Definition at line 198 of file EffiCollection.h.
|
private |
Definition at line 195 of file EffiCollection.h.