EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairDbSqlContext Class Reference

#include <EicRoot/blob/master/dbase/dbInterface/FairDbSqlContext.h>

+ Inheritance diagram for FairDbSqlContext:
+ Collaboration diagram for FairDbSqlContext:

Public Types

enum  IntervalType {
  kBefore, kAfter, kMisses, kThroughout,
  kWithin, kOverlaps, kStarts, kEnds,
  kUndefined
}
 

Public Member Functions

 FairDbSqlContext (const std::string &ctxt="")
 
 FairDbSqlContext (IntervalType interval, ValTimeStamp start, ValTimeStamp end, Detector::Detector_t det, SimFlag::SimFlag_t sim)
 
virtual ~FairDbSqlContext ()
 
ValTimeStamp GetTimeStart () const
 
ValTimeStamp GetTimeEnd () const
 
Detector::Detector_t GetDetector () const
 
SimFlag::SimFlag_t GetSimFlag () const
 
- Public Member Functions inherited from FairDbString
 FairDbString ()
 
 FairDbString (const Char_t *str)
 
 FairDbString (const std::string &str)
 
virtual ~FairDbString ()
 
const Char_t * c_str () const
 
const std::string & GetString () const
 
FairDbStringoperator<< (Int_t data)
 
FairDbStringoperator<< (UInt_t data)
 
FairDbStringoperator<< (Float_t data)
 
FairDbStringoperator<< (Char_t data)
 
FairDbStringoperator<< (const Char_t *data)
 
FairDbStringoperator<< (const std::string &data)
 
void Clear ()
 
std::string & GetString ()
 

Private Attributes

IntervalType fIntervalType
 
ValTimeStamp fTimeStart
 
ValTimeStamp fTimeEnd
 
Detector::Detector_t fDetType
 
SimFlag::SimFlag_t fSimType
 

Detailed Description

Definition at line 13 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 13 of file FairDbSqlContext.h

Member Enumeration Documentation

Enumerator:
kBefore 
kAfter 
kMisses 
kThroughout 
kWithin 
kOverlaps 
kStarts 
kEnds 
kUndefined 

Definition at line 21 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 21 of file FairDbSqlContext.h

Constructor & Destructor Documentation

FairDbSqlContext::FairDbSqlContext ( const std::string &  ctxt = "")
FairDbSqlContext::FairDbSqlContext ( IntervalType  interval,
ValTimeStamp  start,
ValTimeStamp  end,
Detector::Detector_t  det,
SimFlag::SimFlag_t  sim 
)

Definition at line 18 of file FairDbSqlContext.cxx.

View newest version in sPHENIX GitHub at line 18 of file FairDbSqlContext.cxx

References ValTimeStamp::AsString(), fDetType, fSimType, kAfter, kBefore, kEnds, kMisses, kOverlaps, kStarts, kThroughout, and kWithin.

+ Here is the call graph for this function:

FairDbSqlContext::~FairDbSqlContext ( )
virtual

Definition at line 81 of file FairDbSqlContext.cxx.

View newest version in sPHENIX GitHub at line 81 of file FairDbSqlContext.cxx

Member Function Documentation

Detector::Detector_t FairDbSqlContext::GetDetector ( ) const
inline

Definition at line 41 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 41 of file FairDbSqlContext.h

References fDetType.

SimFlag::SimFlag_t FairDbSqlContext::GetSimFlag ( ) const
inline

Definition at line 42 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 42 of file FairDbSqlContext.h

References fSimType.

ValTimeStamp FairDbSqlContext::GetTimeEnd ( ) const
inline

Definition at line 40 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 40 of file FairDbSqlContext.h

References fTimeEnd.

ValTimeStamp FairDbSqlContext::GetTimeStart ( ) const
inline

Definition at line 39 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 39 of file FairDbSqlContext.h

References fTimeStart.

Member Data Documentation

Detector::Detector_t FairDbSqlContext::fDetType
private

Definition at line 54 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 54 of file FairDbSqlContext.h

Referenced by FairDbSqlContext(), and GetDetector().

IntervalType FairDbSqlContext::fIntervalType
private

Definition at line 51 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 51 of file FairDbSqlContext.h

SimFlag::SimFlag_t FairDbSqlContext::fSimType
private

Definition at line 55 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 55 of file FairDbSqlContext.h

Referenced by FairDbSqlContext(), and GetSimFlag().

ValTimeStamp FairDbSqlContext::fTimeEnd
private

Definition at line 53 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 53 of file FairDbSqlContext.h

Referenced by GetTimeEnd().

ValTimeStamp FairDbSqlContext::fTimeStart
private

Definition at line 52 of file FairDbSqlContext.h.

View newest version in sPHENIX GitHub at line 52 of file FairDbSqlContext.h

Referenced by GetTimeStart().


The documentation for this class was generated from the following files: