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

#include <coresoftware/blob/master/offline/framework/ffaobjects/FlagSavev1.h>

+ Inheritance diagram for FlagSavev1:
+ Collaboration diagram for FlagSavev1:

Public Member Functions

 FlagSavev1 ()=default
 ctor
 
 ~FlagSavev1 () override=default
 dtor
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains valid data
 
void identify (std::ostream &os=std::cout) const override
 
int FillFromPHFlag (const PHFlag *flags) override
 
int PutFlagsBack (PHFlag *flags) override
 
- Public Member Functions inherited from FlagSave
 ~FlagSave () override
 dtor
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Private Member Functions

int FillIntFromPHFlag (const PHFlag *flags)
 
int FillDoubleFromPHFlag (const PHFlag *flags)
 
int FillFloatFromPHFlag (const PHFlag *flags)
 
int FillCharFromPHFlag (const PHFlag *flags)
 
int PutIntToPHFlag (PHFlag *flags)
 
int PutDoubleToPHFlag (PHFlag *flags)
 
int PutFloatToPHFlag (PHFlag *flags)
 
int PutCharToPHFlag (PHFlag *flags)
 
void PrintIntFlag (std::ostream &os) const
 
void PrintDoubleFlag (std::ostream &os) const
 
void PrintFloatFlag (std::ostream &os) const
 
void PrintStringFlag (std::ostream &os) const
 

Private Attributes

std::map< std::string, intintflag
 
std::map< std::string, double > doubleflag
 
std::map< std::string, float > floatflag
 
std::map< std::string,
std::string > 
stringflag
 

Detailed Description

Definition at line 16 of file FlagSavev1.h.

View newest version in sPHENIX GitHub at line 16 of file FlagSavev1.h

Constructor & Destructor Documentation

FlagSavev1::FlagSavev1 ( )
default

ctor

Referenced by CloneMe().

+ Here is the caller graph for this function:

FlagSavev1::~FlagSavev1 ( )
overridedefault

dtor

Member Function Documentation

PHObject * FlagSavev1::CloneMe ( ) const
overridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 10 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 10 of file FlagSavev1.cc

References doubleflag, FlagSavev1(), floatflag, intflag, and stringflag.

+ Here is the call graph for this function:

int FlagSavev1::FillCharFromPHFlag ( const PHFlag flags)
private

Definition at line 95 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 95 of file FlagSavev1.cc

References PHFlag::CharMap(), and stringflag.

Referenced by FillFromPHFlag().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FlagSavev1::FillDoubleFromPHFlag ( const PHFlag flags)
private

Definition at line 73 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 73 of file FlagSavev1.cc

References doubleflag, and PHFlag::DoubleMap().

Referenced by FillFromPHFlag().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FlagSavev1::FillFloatFromPHFlag ( const PHFlag flags)
private

Definition at line 84 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 84 of file FlagSavev1.cc

References floatflag, and PHFlag::FloatMap().

Referenced by FillFromPHFlag().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FlagSavev1::FillFromPHFlag ( const PHFlag flags)
overridevirtual

Reimplemented from FlagSave.

Definition at line 44 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 44 of file FlagSavev1.cc

References FillCharFromPHFlag(), FillDoubleFromPHFlag(), FillFloatFromPHFlag(), and FillIntFromPHFlag().

+ Here is the call graph for this function:

int FlagSavev1::FillIntFromPHFlag ( const PHFlag flags)
private

Definition at line 62 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 62 of file FlagSavev1.cc

References intflag, and PHFlag::IntMap().

Referenced by FillFromPHFlag().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FlagSavev1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from FlagSave.

Definition at line 34 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 34 of file FlagSavev1.cc

References PrintDoubleFlag(), PrintFloatFlag(), PrintIntFlag(), and PrintStringFlag().

+ Here is the call graph for this function:

int FlagSavev1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains valid data

Reimplemented from FlagSave.

Definition at line 22 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 22 of file FlagSavev1.cc

References doubleflag, floatflag, intflag, and stringflag.

void FlagSavev1::PrintDoubleFlag ( std::ostream &  os) const
private

Definition at line 162 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 162 of file FlagSavev1.cc

References doubleflag.

Referenced by identify().

+ Here is the caller graph for this function:

void FlagSavev1::PrintFloatFlag ( std::ostream &  os) const
private

Definition at line 177 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 177 of file FlagSavev1.cc

References floatflag.

Referenced by identify().

+ Here is the caller graph for this function:

void FlagSavev1::PrintIntFlag ( std::ostream &  os) const
private

Definition at line 147 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 147 of file FlagSavev1.cc

References intflag.

Referenced by identify().

+ Here is the caller graph for this function:

void FlagSavev1::PrintStringFlag ( std::ostream &  os) const
private

Definition at line 192 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 192 of file FlagSavev1.cc

References stringflag.

Referenced by identify().

+ Here is the caller graph for this function:

int FlagSavev1::PutCharToPHFlag ( PHFlag flags)
private

Definition at line 137 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 137 of file FlagSavev1.cc

References PHFlag::set_CharFlag(), and stringflag.

Referenced by PutFlagsBack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FlagSavev1::PutDoubleToPHFlag ( PHFlag flags)
private

Definition at line 117 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 117 of file FlagSavev1.cc

References doubleflag, and PHFlag::set_DoubleFlag().

Referenced by PutFlagsBack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FlagSavev1::PutFlagsBack ( PHFlag flags)
overridevirtual

Reimplemented from FlagSave.

Definition at line 53 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 53 of file FlagSavev1.cc

References PutCharToPHFlag(), PutDoubleToPHFlag(), PutFloatToPHFlag(), and PutIntToPHFlag().

+ Here is the call graph for this function:

int FlagSavev1::PutFloatToPHFlag ( PHFlag flags)
private

Definition at line 127 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 127 of file FlagSavev1.cc

References floatflag, and PHFlag::set_FloatFlag().

Referenced by PutFlagsBack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int FlagSavev1::PutIntToPHFlag ( PHFlag flags)
private

Definition at line 107 of file FlagSavev1.cc.

View newest version in sPHENIX GitHub at line 107 of file FlagSavev1.cc

References intflag, and PHFlag::set_IntFlag().

Referenced by PutFlagsBack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FlagSavev1::Reset ( )
inlineoverridevirtual

Clear Event.

Reimplemented from FlagSave.

Definition at line 27 of file FlagSavev1.h.

View newest version in sPHENIX GitHub at line 27 of file FlagSavev1.h

Member Data Documentation

std::map<std::string, double> FlagSavev1::doubleflag
private

Definition at line 55 of file FlagSavev1.h.

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

Referenced by CloneMe(), FillDoubleFromPHFlag(), isValid(), PrintDoubleFlag(), and PutDoubleToPHFlag().

std::map<std::string, float> FlagSavev1::floatflag
private

Definition at line 56 of file FlagSavev1.h.

View newest version in sPHENIX GitHub at line 56 of file FlagSavev1.h

Referenced by CloneMe(), FillFloatFromPHFlag(), isValid(), PrintFloatFlag(), and PutFloatToPHFlag().

std::map<std::string, int> FlagSavev1::intflag
private

Definition at line 54 of file FlagSavev1.h.

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

Referenced by CloneMe(), FillIntFromPHFlag(), isValid(), PrintIntFlag(), and PutIntToPHFlag().

std::map<std::string, std::string> FlagSavev1::stringflag
private

Definition at line 57 of file FlagSavev1.h.

View newest version in sPHENIX GitHub at line 57 of file FlagSavev1.h

Referenced by CloneMe(), FillCharFromPHFlag(), isValid(), PrintStringFlag(), and PutCharToPHFlag().


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