![]() |
ATLAS Offline Software
|
#include <Interface.h>
Public Member Functions | |
| Interface (std::unique_ptr< const Accessor > accessor) | |
| Constructor. | |
| Interface (const Interface &)=delete | |
| Interface & | operator= (const Interface &)=delete |
| virtual | ~Interface () |
| virtual unsigned int | nEvents () const override |
| virtual unsigned int | nRuns () const override |
| virtual const EventData * | eventData (unsigned int i) const override |
| virtual const RunData * | runData (unsigned int i) const override |
| virtual unsigned int | historySize (unsigned int i) const override |
| virtual unsigned int | historySizeSC (unsigned int i) const override |
| HistoryIterator | begin (unsigned int pos=0, double eMin=-1, double adcMaxMin=-1) const |
| unsigned int | end () const |
| unsigned int | size () const |
| unsigned int | nFilledChannels () const |
| void | printFilledRanges (unsigned int skip=0) const |
| bool | highEData (double eCut, TArrayI &hashes, TArrayI &indices) const |
| HistoryIterator | findEtaPhi (CaloId calo, short layer, short iEta, short iPhi, short region=0) const |
| HistoryIterator | findFebChannel (CaloId calo, short feb, short channel) const |
| HistoryIterator | findFTSlotChannel (CaloId calo, short ft, short slot, short channel) const |
| bool | neighbors (const CellInfo &cell, double dRCut, std::vector< unsigned int > &hashes) const |
| bool | firstNeighbors (unsigned int hash, std::vector< unsigned int > &hashes, short layer=-2) const |
| bool | data (const std::vector< unsigned int > &hashes, const EventData &event, std::vector< std::unique_ptr< const Data > > &data) const |
| std::unique_ptr< Interface > | merge (const Interface &other, const TString &fileName) const |
| std::unique_ptr< Interface > | merge (const Interface &other, const TString &fileName, const TString &LBFile) const |
| std::unique_ptr< Interface > | filter (const TString &sel, const TString &fileName, const TString &tweaks="") const |
| std::unique_ptr< Interface > | filter (const FilterParams &filterParams, const DataTweaker &tweaker, const TString &fileName) const |
| std::unique_ptr< Interface > | makeTemplate (const TString &fileName) const |
| std::unique_ptr< Interface > | refit (const TString &newFileName, Chi2Params pars=DefaultChi2) const |
| const Accessor & | accessor () const |
| bool | isValid () const |
| TH1D * | Draw (const TString &var, int nBins, double xMin, double xMax, const TString &sel="", const TString &opt="") const |
| TH2D * | Draw (const TString &varList, int nBinsX, double xMin, double xMax, int nBinsY, double yMin, double yMax, const TString &sel="", const TString &opt="") const |
| TH2D * | DrawPartition (PartitionId partition, const TString &var, const TString &sel="", const TString &opt="", CombinationType comb=TotalValue) const |
| TH2D * | DrawEtaPhi (CaloId calo, short layer, const TString &var, const TString &sel="", const TString &opt="", CombinationType comb=TotalValue) const |
| bool | Scan (const TString &vars, const TString &sel="", unsigned int verbosity=1) const |
| bool | Scan (const TString &vars, CombinationType comb, const TString &sel="", const TString &ranges="", unsigned int verbosity=1) const |
| bool | Show (unsigned int hash, unsigned int verbosity=1) const |
| bool | Show (const TString &sel="", unsigned int verbosity=1) const |
| bool | ShowEvents (const TString &sel="", unsigned int verbosity=1) const |
| bool | ShowRuns (unsigned int verbosity=1) const |
| bool | ShowStats (const TString &varList, const TString &sel="", bool withErrors=false) const |
| OccupancyMonitor | occupancyMonitor () const |
| DigitMonitor | digitMonitor () const |
| FitMonitor | fitMonitor () const |
| bool | dumpEventTuple (const TString &variables, const TString &fileName) const |
| void | setShapeErrorGetter (const AbsShapeErrorGetter *err) |
| void | setShapeError (double k) |
| void | setShapeError (const TString &fileName) |
| const AbsShapeErrorGetter * | shapeErrorGetter () const |
| virtual bool | writeToFile (const TString &fileName) const override |
| virtual const History * | cellHistory (unsigned int i) const override |
| virtual std::unique_ptr< const History > | getCellHistory (unsigned int i) const override |
| virtual std::unique_ptr< const History > | getSCHistory (unsigned int i) const override |
| virtual std::unique_ptr< const CellInfo > | getCellInfo (unsigned int i) const override |
| virtual std::unique_ptr< const History > | newCellHistory (unsigned int i) const |
| virtual std::unique_ptr< const CellInfo > | cellInfo (unsigned int i) const |
| virtual unsigned int | nChannels () const |
| virtual unsigned int | nChannelsSC () const |
| virtual void | resetCache () const |
| const CellInfo * | cellInfoCache (unsigned int i) const |
| const History * | pass (unsigned int i, const FilterParams &f) const |
| const History * | cellCache () const |
| unsigned int | cachePos () const |
Static Public Member Functions | |
| static std::unique_ptr< Interface > | open (const TString &fileName) |
| static std::unique_ptr< Interface > | open (const std::vector< TString > &fileNames) |
| static std::unique_ptr< Interface > | openList (const TString &fileList) |
| static std::unique_ptr< Interface > | openWild (const TString &wcName) |
| static std::unique_ptr< Interface > | merge (const std::vector< const Interface * > &interfaces, const TString &fileName) |
| static std::unique_ptr< Interface > | merge (const std::vector< const Interface * > &interfaces, const TString &fileName, const TString &LBFile) |
| static std::unique_ptr< Interface > | merge (const TString &listFileName, const TString &fileName) |
| static std::unique_ptr< Interface > | merge (const TString &listFileName, const TString &fileName, const TString &LBFile) |
| static bool | filterAndMerge (const TString &listFileName, const TString &outFile, const TString &filters, const TString &tweaks="") |
| static TString | addSuffix (const TString &fileName, const TString &suffix) |
Private Types | |
| using | CacheEntry_t = std::pair<bool, std::vector<unsigned int> > |
Private Attributes | |
| std::unique_ptr< const Accessor > | m_accessor |
| const AbsShapeErrorGetter * | m_shapeErrorGetter |
| std::unique_ptr< const AbsShapeErrorGetter > | m_ownedShapeErrorGetter |
| std::vector< CacheEntry_t > | m_neighborCache |
| std::vector< unsigned int > | m_neighborHistoryPos |
| std::vector< std::unique_ptr< const History > > | m_neighborHistories |
| unsigned int | m_pos |
| std::unique_ptr< const History > | m_cellCache |
| std::vector< std::unique_ptr< CellInfo > > | m_cellInfoCache |
Definition at line 37 of file Interface.h.
|
private |
Definition at line 142 of file Interface.h.
Constructor.
Definition at line 74 of file Interface.cxx.
|
delete |
|
virtual |
Definition at line 79 of file Interface.cxx.
Definition at line 96 of file Interface.h.
| HistoryIterator Interface::begin | ( | unsigned int | pos = 0, |
| double | eMin = -1, | ||
| double | adcMaxMin = -1 ) const |
Definition at line 191 of file Interface.cxx.
|
inlineinherited |
Definition at line 49 of file AbsLArCells.h.
Definition at line 48 of file AbsLArCells.h.
Reimplemented from LArSamples::AbsLArCells.
Definition at line 134 of file Interface.cxx.
Definition at line 66 of file AbsLArCells.cxx.
Definition at line 81 of file AbsLArCells.cxx.
| bool Interface::data | ( | const std::vector< unsigned int > & | hashes, |
| const EventData & | event, | ||
| std::vector< std::unique_ptr< const Data > > & | data ) const |
Definition at line 757 of file Interface.cxx.
|
inline |
Definition at line 117 of file Interface.h.
| TH1D * Interface::Draw | ( | const TString & | var, |
| int | nBins, | ||
| double | xMin, | ||
| double | xMax, | ||
| const TString & | sel = "", | ||
| const TString & | opt = "" ) const |
Definition at line 455 of file Interface.cxx.
| TH2D * Interface::Draw | ( | const TString & | varList, |
| int | nBinsX, | ||
| double | xMin, | ||
| double | xMax, | ||
| int | nBinsY, | ||
| double | yMin, | ||
| double | yMax, | ||
| const TString & | sel = "", | ||
| const TString & | opt = "" ) const |
Definition at line 480 of file Interface.cxx.
| TH2D * Interface::DrawEtaPhi | ( | CaloId | calo, |
| short | layer, | ||
| const TString & | var, | ||
| const TString & | sel = "", | ||
| const TString & | opt = "", | ||
| CombinationType | comb = TotalValue ) const |
Definition at line 535 of file Interface.cxx.
| TH2D * Interface::DrawPartition | ( | PartitionId | partition, |
| const TString & | var, | ||
| const TString & | sel = "", | ||
| const TString & | opt = "", | ||
| CombinationType | comb = TotalValue ) const |
Definition at line 508 of file Interface.cxx.
Definition at line 779 of file Interface.cxx.
|
inline |
Definition at line 63 of file Interface.h.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 56 of file Interface.h.
| std::unique_ptr< Interface > Interface::filter | ( | const FilterParams & | filterParams, |
| const DataTweaker & | tweaker, | ||
| const TString & | fileName ) const |
Definition at line 383 of file Interface.cxx.
| std::unique_ptr< Interface > Interface::filter | ( | const TString & | sel, |
| const TString & | fileName, | ||
| const TString & | tweaks = "" ) const |
Definition at line 355 of file Interface.cxx.
|
static |
Definition at line 296 of file Interface.cxx.
| HistoryIterator Interface::findEtaPhi | ( | CaloId | calo, |
| short | layer, | ||
| short | iEta, | ||
| short | iPhi, | ||
| short | region = 0 ) const |
Definition at line 407 of file Interface.cxx.
| HistoryIterator Interface::findFebChannel | ( | CaloId | calo, |
| short | feb, | ||
| short | channel ) const |
Definition at line 424 of file Interface.cxx.
| HistoryIterator Interface::findFTSlotChannel | ( | CaloId | calo, |
| short | ft, | ||
| short | slot, | ||
| short | channel ) const |
Definition at line 439 of file Interface.cxx.
| bool Interface::firstNeighbors | ( | unsigned int | hash, |
| std::vector< unsigned int > & | hashes, | ||
| short | layer = -2 ) const |
Definition at line 736 of file Interface.cxx.
|
inline |
Definition at line 118 of file Interface.h.
Implements LArSamples::AbsLArCells.
Definition at line 114 of file Interface.cxx.
Reimplemented from LArSamples::AbsLArCells.
Definition at line 145 of file Interface.cxx.
Implements LArSamples::AbsLArCells.
Definition at line 124 of file Interface.cxx.
| bool Interface::highEData | ( | double | eCut, |
| TArrayI & | hashes, | ||
| TArrayI & | indices ) const |
Definition at line 197 of file Interface.cxx.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 59 of file Interface.h.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 60 of file Interface.h.
| bool Interface::isValid | ( | ) | const |
Definition at line 231 of file Interface.cxx.
Definition at line 390 of file Interface.cxx.
| std::unique_ptr< Interface > Interface::merge | ( | const Interface & | other, |
| const TString & | fileName ) const |
Definition at line 246 of file Interface.cxx.
| std::unique_ptr< Interface > Interface::merge | ( | const Interface & | other, |
| const TString & | fileName, | ||
| const TString & | LBFile ) const |
Definition at line 262 of file Interface.cxx.
|
static |
Definition at line 253 of file Interface.cxx.
|
static |
Definition at line 269 of file Interface.cxx.
|
inlinevirtualinherited |
Reimplemented in LArSamples::MonitorBase.
Definition at line 35 of file AbsLArCells.h.
|
inlinevirtualinherited |
Definition at line 36 of file AbsLArCells.h.
| bool Interface::neighbors | ( | const CellInfo & | cell, |
| double | dRCut, | ||
| std::vector< unsigned int > & | hashes ) const |
Definition at line 723 of file Interface.cxx.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 53 of file Interface.h.
|
virtualinherited |
Definition at line 39 of file AbsLArCells.cxx.
| unsigned int Interface::nFilledChannels | ( | ) | const |
Definition at line 151 of file Interface.cxx.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 54 of file Interface.h.
|
inline |
Definition at line 116 of file Interface.h.
Definition at line 44 of file Interface.cxx.
Definition at line 35 of file Interface.cxx.
Definition at line 54 of file Interface.cxx.
Definition at line 64 of file Interface.cxx.
|
inherited |
Definition at line 96 of file AbsLArCells.cxx.
| void Interface::printFilledRanges | ( | unsigned int | skip = 0 | ) | const |
Definition at line 160 of file Interface.cxx.
| std::unique_ptr< Interface > Interface::refit | ( | const TString & | newFileName, |
| Chi2Params | pars = DefaultChi2 ) const |
Definition at line 397 of file Interface.cxx.
|
virtualinherited |
Definition at line 32 of file AbsLArCells.cxx.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 57 of file Interface.h.
| bool Interface::Scan | ( | const TString & | vars, |
| CombinationType | comb, | ||
| const TString & | sel = "", | ||
| const TString & | ranges = "", | ||
| unsigned int | verbosity = 1 ) const |
| void Interface::setShapeError | ( | const TString & | fileName | ) |
Definition at line 99 of file Interface.cxx.
| void Interface::setShapeError | ( | double | k | ) |
Definition at line 91 of file Interface.cxx.
| void Interface::setShapeErrorGetter | ( | const AbsShapeErrorGetter * | err | ) |
Definition at line 84 of file Interface.cxx.
|
inline |
Definition at line 125 of file Interface.h.
| bool Interface::Show | ( | const TString & | sel = "", |
| unsigned int | verbosity = 1 ) const |
Definition at line 587 of file Interface.cxx.
| bool Interface::Show | ( | unsigned int | hash, |
| unsigned int | verbosity = 1 ) const |
Definition at line 579 of file Interface.cxx.
| bool Interface::ShowEvents | ( | const TString & | sel = "", |
| unsigned int | verbosity = 1 ) const |
Definition at line 605 of file Interface.cxx.
| bool Interface::ShowRuns | ( | unsigned int | verbosity = 1 | ) | const |
Definition at line 637 of file Interface.cxx.
| bool Interface::ShowStats | ( | const TString & | varList, |
| const TString & | sel = "", | ||
| bool | withErrors = false ) const |
Definition at line 658 of file Interface.cxx.
| unsigned int Interface::size | ( | ) | const |
Definition at line 105 of file Interface.cxx.
|
inlineoverridevirtual |
Implements LArSamples::Accessor.
Definition at line 127 of file Interface.h.
Definition at line 138 of file Interface.h.
Definition at line 55 of file AbsLArCells.h.
|
mutableprivateinherited |
Definition at line 56 of file AbsLArCells.h.
|
mutableprivate |
Definition at line 143 of file Interface.h.
|
mutableprivate |
Definition at line 145 of file Interface.h.
|
mutableprivate |
Definition at line 144 of file Interface.h.
|
private |
Definition at line 140 of file Interface.h.
|
mutableprivateinherited |
Definition at line 54 of file AbsLArCells.h.
|
private |
Definition at line 139 of file Interface.h.