EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/dbase/dbInterface/FairDbValidityRecBuilder.h>
Public Types | |
enum | { kMAX_AGGREGATE_NO = 1000 } |
Public Member Functions | |
FairDbValidityRecBuilder (const FairDbProxy &proxy, const ValContext &vc, const FairDb::Task &task, Int_t selectDbNo=-1, Bool_t findFullTimeWindow=true) | |
FairDbValidityRecBuilder (const FairDbProxy &proxy, const string &context, const FairDb::Task &task) | |
FairDbValidityRecBuilder (const FairDbValidityRec &vr, const std::string tableName) | |
virtual | ~FairDbValidityRecBuilder () |
std::string | GetL2CacheName () const |
FairDb::Task | GetTask () const |
UInt_t | GetNumValidityRec () const |
Int_t | IndexOfAggno (Int_t aggNo) const |
Get index of AggNo or -1 if missing. | |
Bool_t | IsExtendedContext () const |
const FairDbValidityRec & | GetValidityRec (Int_t rowNo) const |
const FairDbValidityRec & | GetValidityRecFromAggNo (Int_t aggNo) const |
const FairDbValidityRec & | GetValidityRecFromSeqNo (UInt_t SeqNo) const |
Bool_t | NonAggregated () const |
Private Member Functions | |
UInt_t | AddNewAgg (const FairDbValidityRec &vrec, Int_t aggNo) |
UInt_t | AddNewGap (Int_t aggNo) |
void | MakeGapRec (const ValContext &vc, const string &tableName, Bool_t findFullTimeWindow=true) |
Private Attributes | |
FairDbValidityRec | fGap |
Bool_t | fIsExtendedContext |
FairDb::Task | fTask |
std::vector< FairDbValidityRec > | fVRecs |
std::map< Int_t, UInt_t > | fAggNoToIndex |
Definition at line 14 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 14 of file FairDbValidityRecBuilder.h
anonymous enum |
Definition at line 22 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 22 of file FairDbValidityRecBuilder.h
FairDbValidityRecBuilder::FairDbValidityRecBuilder | ( | const FairDbProxy & | proxy, |
const ValContext & | vc, | ||
const FairDb::Task & | task, | ||
Int_t | selectDbNo = -1 , |
||
Bool_t | findFullTimeWindow = true |
||
) |
FairDbValidityRecBuilder::FairDbValidityRecBuilder | ( | const FairDbProxy & | proxy, |
const string & | context, | ||
const FairDb::Task & | task | ||
) |
Definition at line 214 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 214 of file FairDbValidityRecBuilder.cxx
References AddNewGap(), fAggNoToIndex, fGap, fTask, fVRecs, FairDbValidityRec::GetAggregateNo(), FairDbProxy::GetNumDb(), FairDbResultNonAgg::GetNumRows(), GetNumValidityRec(), FairDbProxy::GetTableName(), FairDbResultNonAgg::GetTableRow(), GetValidityRec(), FairDbProxy::QueryValidity(), and FairDbProxy::TableExists().
FairDbValidityRecBuilder::FairDbValidityRecBuilder | ( | const FairDbValidityRec & | vr, |
const std::string | tableName | ||
) |
Definition at line 307 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 307 of file FairDbValidityRecBuilder.cxx
References AddNewAgg(), FairDbValidityRec::GetAggregateNo(), FairDbValidityRec::GetValRange(), and MakeGapRec().
|
virtual |
Definition at line 327 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 327 of file FairDbValidityRecBuilder.cxx
|
private |
Definition at line 366 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 366 of file FairDbValidityRecBuilder.cxx
References fAggNoToIndex, fVRecs, and IndexOfAggno().
Referenced by AddNewGap(), and FairDbValidityRecBuilder().
|
private |
Definition at line 383 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 383 of file FairDbValidityRecBuilder.cxx
References AddNewAgg(), fGap, and fVRecs.
Referenced by FairDbValidityRecBuilder().
std::string FairDbValidityRecBuilder::GetL2CacheName | ( | ) | const |
Definition at line 333 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 333 of file FairDbValidityRecBuilder.cxx
References fVRecs, FairDbValidityRec::GetCreationDate(), FairDbValidityRec::GetL2CacheName(), FairDbValidityRec::GetSeqNo(), IsExtendedContext(), and FairDbValidityRec::IsGap().
Referenced by FairDbTableProxy::Query(), and FairDbTableProxy::RestoreFromL2Cache().
|
inline |
Definition at line 41 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 41 of file FairDbValidityRecBuilder.h
References fVRecs.
Referenced by FairDbValidityRecBuilder(), NonAggregated(), and FairDbTableProxy::Query().
|
inline |
Definition at line 40 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 40 of file FairDbValidityRecBuilder.h
References fTask.
const FairDbValidityRec & FairDbValidityRecBuilder::GetValidityRec | ( | Int_t | rowNo | ) | const |
Definition at line 395 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 395 of file FairDbValidityRecBuilder.cxx
Referenced by FairDbValidityRecBuilder(), GetValidityRecFromAggNo(), and FairDbTableProxy::Query().
|
inline |
Definition at line 50 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 50 of file FairDbValidityRecBuilder.h
References GetValidityRec(), and IndexOfAggno().
const FairDbValidityRec & FairDbValidityRecBuilder::GetValidityRecFromSeqNo | ( | UInt_t | SeqNo | ) | const |
Definition at line 404 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 404 of file FairDbValidityRecBuilder.cxx
Referenced by FairDbTableProxy::RestoreFromL2Cache().
Int_t FairDbValidityRecBuilder::IndexOfAggno | ( | Int_t | aggNo | ) | const |
Get index of AggNo or -1 if missing.
Definition at line 416 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 416 of file FairDbValidityRecBuilder.cxx
References fAggNoToIndex.
Referenced by AddNewAgg(), and GetValidityRecFromAggNo().
|
inline |
Definition at line 46 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 46 of file FairDbValidityRecBuilder.h
References fIsExtendedContext.
Referenced by GetL2CacheName(), and NonAggregated().
|
private |
Definition at line 426 of file FairDbValidityRecBuilder.cxx.
View newest version in sPHENIX GitHub at line 426 of file FairDbValidityRecBuilder.cxx
References fGap, fTask, ValContext::GetDetector(), ValTimeStamp::GetSec(), ValContext::GetSimFlag(), FairDb::GetTimeGate(), and ValContext::GetTimeStamp().
Referenced by FairDbValidityRecBuilder().
|
inline |
Definition at line 54 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 54 of file FairDbValidityRecBuilder.h
References GetNumValidityRec(), and IsExtendedContext().
Referenced by FairDbTableProxy::Query().
|
private |
Definition at line 79 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 79 of file FairDbValidityRecBuilder.h
Referenced by AddNewAgg(), FairDbValidityRecBuilder(), and IndexOfAggno().
|
private |
Definition at line 74 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 74 of file FairDbValidityRecBuilder.h
Referenced by AddNewGap(), FairDbValidityRecBuilder(), GetValidityRec(), GetValidityRecFromSeqNo(), and MakeGapRec().
|
private |
Definition at line 75 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 75 of file FairDbValidityRecBuilder.h
Referenced by IsExtendedContext().
|
private |
Definition at line 76 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 76 of file FairDbValidityRecBuilder.h
Referenced by FairDbValidityRecBuilder(), GetTask(), and MakeGapRec().
|
private |
Definition at line 78 of file FairDbValidityRecBuilder.h.
View newest version in sPHENIX GitHub at line 78 of file FairDbValidityRecBuilder.h
Referenced by AddNewAgg(), AddNewGap(), FairDbValidityRecBuilder(), GetL2CacheName(), GetNumValidityRec(), GetValidityRec(), and GetValidityRecFromSeqNo().