BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
TagParser1 Class Reference

#include <TagParser1.h>

+ Inheritance diagram for TagParser1:

Public Member Functions

 TagParser1 ()
 
 ~TagParser1 ()
 
StatusCode getVEntry (vector< int > &)
 
int getDstDataType ()
 
unsigned int getTagData0 ()
 
unsigned int getTagData1 ()
 
unsigned int getTagData2 ()
 
unsigned int getTagData3 ()
 
unsigned int getTagData4 ()
 
unsigned int getTagData5 ()
 
unsigned int getTagData6 ()
 
unsigned int getTagData7 ()
 
unsigned int getTagData8 ()
 
unsigned int getTagData9 ()
 
void setDstDataType (int t)
 
void setTagData0 (unsigned int t)
 
void setTagData1 (unsigned int t)
 
void setTagData2 (unsigned int t)
 
void setTagData3 (unsigned int t)
 
void setTagData4 (unsigned int t)
 
void setTagData5 (unsigned int t)
 
void setTagData6 (unsigned int t)
 
void setTagData7 (unsigned int t)
 
void setTagData8 (unsigned int t)
 
void setTagData9 (unsigned int t)
 
void setFileName (string name)
 
void setCriteria (vector< string > name)
 
void Tag1ToInt (unsigned int res, int &val1, int &val2, int &val3, int &val4)
 
void Tag2ToInt (unsigned int res, int &val1, int &val2, int &val3, int &val4, int &val5, int &val6)
 
 TagParser1 ()
 
 ~TagParser1 ()
 
StatusCode getVEntry (vector< int > &)
 
int getDstDataType ()
 
unsigned int getTagData0 ()
 
unsigned int getTagData1 ()
 
unsigned int getTagData2 ()
 
unsigned int getTagData3 ()
 
unsigned int getTagData4 ()
 
unsigned int getTagData5 ()
 
unsigned int getTagData6 ()
 
unsigned int getTagData7 ()
 
unsigned int getTagData8 ()
 
unsigned int getTagData9 ()
 
void setDstDataType (int t)
 
void setTagData0 (unsigned int t)
 
void setTagData1 (unsigned int t)
 
void setTagData2 (unsigned int t)
 
void setTagData3 (unsigned int t)
 
void setTagData4 (unsigned int t)
 
void setTagData5 (unsigned int t)
 
void setTagData6 (unsigned int t)
 
void setTagData7 (unsigned int t)
 
void setTagData8 (unsigned int t)
 
void setTagData9 (unsigned int t)
 
void setFileName (string name)
 
void setCriteria (vector< string > name)
 
void Tag1ToInt (unsigned int res, int &val1, int &val2, int &val3, int &val4)
 
void Tag2ToInt (unsigned int res, int &val1, int &val2, int &val3, int &val4, int &val5, int &val6)
 
- Public Member Functions inherited from ITagParser
 ITagParser ()
 
 ~ITagParser ()
 
virtual StatusCode getVEntry (vector< int > &)=0
 
virtual int getDstDataType ()=0
 
virtual unsigned int getTagData0 ()=0
 
virtual unsigned int getTagData1 ()=0
 
virtual unsigned int getTagData2 ()=0
 
virtual unsigned int getTagData3 ()=0
 
virtual unsigned int getTagData4 ()=0
 
virtual unsigned int getTagData5 ()=0
 
virtual unsigned int getTagData6 ()=0
 
virtual unsigned int getTagData7 ()=0
 
virtual unsigned int getTagData8 ()=0
 
virtual unsigned int getTagData9 ()=0
 
virtual void setDstDataType (int t)=0
 
virtual void setTagData0 (unsigned int t)=0
 
virtual void setTagData1 (unsigned int t)=0
 
virtual void setTagData2 (unsigned int t)=0
 
virtual void setTagData3 (unsigned int t)=0
 
virtual void setTagData4 (unsigned int t)=0
 
virtual void setTagData5 (unsigned int t)=0
 
virtual void setTagData6 (unsigned int t)=0
 
virtual void setTagData7 (unsigned int t)=0
 
virtual void setTagData8 (unsigned int t)=0
 
virtual void setTagData9 (unsigned int t)=0
 
virtual void setFileName (string name)=0
 
virtual void setCriteria (vector< string > name)=0
 
 ITagParser ()
 
 ~ITagParser ()
 
virtual StatusCode getVEntry (vector< int > &)=0
 
virtual int getDstDataType ()=0
 
virtual unsigned int getTagData0 ()=0
 
virtual unsigned int getTagData1 ()=0
 
virtual unsigned int getTagData2 ()=0
 
virtual unsigned int getTagData3 ()=0
 
virtual unsigned int getTagData4 ()=0
 
virtual unsigned int getTagData5 ()=0
 
virtual unsigned int getTagData6 ()=0
 
virtual unsigned int getTagData7 ()=0
 
virtual unsigned int getTagData8 ()=0
 
virtual unsigned int getTagData9 ()=0
 
virtual void setDstDataType (int t)=0
 
virtual void setTagData0 (unsigned int t)=0
 
virtual void setTagData1 (unsigned int t)=0
 
virtual void setTagData2 (unsigned int t)=0
 
virtual void setTagData3 (unsigned int t)=0
 
virtual void setTagData4 (unsigned int t)=0
 
virtual void setTagData5 (unsigned int t)=0
 
virtual void setTagData6 (unsigned int t)=0
 
virtual void setTagData7 (unsigned int t)=0
 
virtual void setTagData8 (unsigned int t)=0
 
virtual void setTagData9 (unsigned int t)=0
 
virtual void setFileName (string name)=0
 
virtual void setCriteria (vector< string > name)=0
 

Detailed Description

Constructor & Destructor Documentation

◆ TagParser1() [1/2]

TagParser1::TagParser1 ( )

Definition at line 28 of file TagParser1.cxx.

28 {
29}

◆ ~TagParser1() [1/2]

TagParser1::~TagParser1 ( )

Definition at line 31 of file TagParser1.cxx.

31 {
32}

◆ TagParser1() [2/2]

TagParser1::TagParser1 ( )

◆ ~TagParser1() [2/2]

TagParser1::~TagParser1 ( )

Member Function Documentation

◆ getDstDataType() [1/2]

int TagParser1::getDstDataType ( )
inlinevirtual

Implements ITagParser.

Definition at line 25 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

25{ return m_dstDataType; }

◆ getDstDataType() [2/2]

int TagParser1::getDstDataType ( )
inlinevirtual

Implements ITagParser.

Definition at line 25 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

25{ return m_dstDataType; }

◆ getTagData0() [1/2]

unsigned int TagParser1::getTagData0 ( )
inlinevirtual

Implements ITagParser.

Definition at line 26 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

26{ return m_tagData0; }

◆ getTagData0() [2/2]

unsigned int TagParser1::getTagData0 ( )
inlinevirtual

Implements ITagParser.

Definition at line 26 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

26{ return m_tagData0; }

◆ getTagData1() [1/2]

unsigned int TagParser1::getTagData1 ( )
inlinevirtual

Implements ITagParser.

Definition at line 27 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

27{ return m_tagData1; }

◆ getTagData1() [2/2]

unsigned int TagParser1::getTagData1 ( )
inlinevirtual

Implements ITagParser.

Definition at line 27 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

27{ return m_tagData1; }

◆ getTagData2() [1/2]

unsigned int TagParser1::getTagData2 ( )
inlinevirtual

Implements ITagParser.

Definition at line 28 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

28{ return m_tagData2; }

◆ getTagData2() [2/2]

unsigned int TagParser1::getTagData2 ( )
inlinevirtual

Implements ITagParser.

Definition at line 28 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

28{ return m_tagData2; }

◆ getTagData3() [1/2]

unsigned int TagParser1::getTagData3 ( )
inlinevirtual

Implements ITagParser.

Definition at line 29 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

29{ return m_tagData3; }

◆ getTagData3() [2/2]

unsigned int TagParser1::getTagData3 ( )
inlinevirtual

Implements ITagParser.

Definition at line 29 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

29{ return m_tagData3; }

◆ getTagData4() [1/2]

unsigned int TagParser1::getTagData4 ( )
inlinevirtual

Implements ITagParser.

Definition at line 30 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

30{ return m_tagData4; }

◆ getTagData4() [2/2]

unsigned int TagParser1::getTagData4 ( )
inlinevirtual

Implements ITagParser.

Definition at line 30 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

30{ return m_tagData4; }

◆ getTagData5() [1/2]

unsigned int TagParser1::getTagData5 ( )
inlinevirtual

Implements ITagParser.

Definition at line 31 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

31{ return m_tagData5; }

◆ getTagData5() [2/2]

unsigned int TagParser1::getTagData5 ( )
inlinevirtual

Implements ITagParser.

Definition at line 31 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

31{ return m_tagData5; }

◆ getTagData6() [1/2]

unsigned int TagParser1::getTagData6 ( )
inlinevirtual

Implements ITagParser.

Definition at line 32 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

32{ return m_tagData6; }

◆ getTagData6() [2/2]

unsigned int TagParser1::getTagData6 ( )
inlinevirtual

Implements ITagParser.

Definition at line 32 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

32{ return m_tagData6; }

◆ getTagData7() [1/2]

unsigned int TagParser1::getTagData7 ( )
inlinevirtual

Implements ITagParser.

Definition at line 33 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

33{ return m_tagData7; }

◆ getTagData7() [2/2]

unsigned int TagParser1::getTagData7 ( )
inlinevirtual

Implements ITagParser.

Definition at line 33 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

33{ return m_tagData7; }

◆ getTagData8() [1/2]

unsigned int TagParser1::getTagData8 ( )
inlinevirtual

Implements ITagParser.

Definition at line 34 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

34{ return m_tagData8; }

◆ getTagData8() [2/2]

unsigned int TagParser1::getTagData8 ( )
inlinevirtual

Implements ITagParser.

Definition at line 34 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

34{ return m_tagData8; }

◆ getTagData9() [1/2]

unsigned int TagParser1::getTagData9 ( )
inlinevirtual

Implements ITagParser.

Definition at line 35 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

35{ return m_tagData9; }

◆ getTagData9() [2/2]

unsigned int TagParser1::getTagData9 ( )
inlinevirtual

Implements ITagParser.

Definition at line 35 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

35{ return m_tagData9; }

◆ getVEntry() [1/2]

StatusCode TagParser1::getVEntry ( vector< int > &  )
virtual

Implements ITagParser.

◆ getVEntry() [2/2]

StatusCode TagParser1::getVEntry ( vector< int > &  )
virtual

Implements ITagParser.

◆ setCriteria() [1/2]

void TagParser1::setCriteria ( vector< string >  name)
inlinevirtual

Implements ITagParser.

Definition at line 50 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

50{m_criteria = name;}

◆ setCriteria() [2/2]

void TagParser1::setCriteria ( vector< string >  name)
inlinevirtual

Implements ITagParser.

Definition at line 50 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

50{m_criteria = name;}

◆ setDstDataType() [1/2]

void TagParser1::setDstDataType ( int  t)
inlinevirtual

Implements ITagParser.

Definition at line 37 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

37{ m_dstDataType = t; }
TTree * t
Definition: binning.cxx:23

◆ setDstDataType() [2/2]

void TagParser1::setDstDataType ( int  t)
inlinevirtual

Implements ITagParser.

Definition at line 37 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

37{ m_dstDataType = t; }

◆ setFileName() [1/2]

void TagParser1::setFileName ( string  name)
inlinevirtual

Implements ITagParser.

Definition at line 49 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

49{m_fileName = name; std::cout<<"filename is "<<m_fileName<<std::endl;}

◆ setFileName() [2/2]

void TagParser1::setFileName ( string  name)
inlinevirtual

Implements ITagParser.

Definition at line 49 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

49{m_fileName = name; std::cout<<"filename is "<<m_fileName<<std::endl;}

◆ setTagData0() [1/2]

void TagParser1::setTagData0 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 38 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

38{ m_tagData0 = t; }

◆ setTagData0() [2/2]

void TagParser1::setTagData0 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 38 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

38{ m_tagData0 = t; }

◆ setTagData1() [1/2]

void TagParser1::setTagData1 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 39 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

39{ m_tagData1 = t; }

◆ setTagData1() [2/2]

void TagParser1::setTagData1 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 39 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

39{ m_tagData1 = t; }

◆ setTagData2() [1/2]

void TagParser1::setTagData2 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 40 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

40{ m_tagData2 = t; }

◆ setTagData2() [2/2]

void TagParser1::setTagData2 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 40 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

40{ m_tagData2 = t; }

◆ setTagData3() [1/2]

void TagParser1::setTagData3 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 41 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

41{ m_tagData3 = t; }

◆ setTagData3() [2/2]

void TagParser1::setTagData3 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 41 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

41{ m_tagData3 = t; }

◆ setTagData4() [1/2]

void TagParser1::setTagData4 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 42 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

42{ m_tagData4 = t; }

◆ setTagData4() [2/2]

void TagParser1::setTagData4 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 42 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

42{ m_tagData4 = t; }

◆ setTagData5() [1/2]

void TagParser1::setTagData5 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 43 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

43{ m_tagData5 = t; }

◆ setTagData5() [2/2]

void TagParser1::setTagData5 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 43 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

43{ m_tagData5 = t; }

◆ setTagData6() [1/2]

void TagParser1::setTagData6 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 44 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

44{ m_tagData6 = t; }

◆ setTagData6() [2/2]

void TagParser1::setTagData6 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 44 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

44{ m_tagData6 = t; }

◆ setTagData7() [1/2]

void TagParser1::setTagData7 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 45 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

45{ m_tagData7 = t; }

◆ setTagData7() [2/2]

void TagParser1::setTagData7 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 45 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

45{ m_tagData7 = t; }

◆ setTagData8() [1/2]

void TagParser1::setTagData8 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 46 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

46{ m_tagData8 = t; }

◆ setTagData8() [2/2]

void TagParser1::setTagData8 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 46 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

46{ m_tagData8 = t; }

◆ setTagData9() [1/2]

void TagParser1::setTagData9 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 47 of file Event/TagFilterSvc/TagFilterSvc-00-00-16/TagFilterSvc/TagParser1.h.

47{ m_tagData9 = t; }

◆ setTagData9() [2/2]

void TagParser1::setTagData9 ( unsigned int  t)
inlinevirtual

Implements ITagParser.

Definition at line 47 of file InstallArea/include/TagFilterSvc/TagFilterSvc/TagParser1.h.

47{ m_tagData9 = t; }

◆ Tag1ToInt() [1/2]

void TagParser1::Tag1ToInt ( unsigned int  res,
int &  val1,
int &  val2,
int &  val3,
int &  val4 
)

Definition at line 154 of file TagParser1.cxx.

155{
156 val1 = (res>>24) & 0xFF;
157 val2 = (res>>16) & 0xFF;
158 val3 = (res>>8) & 0xFF;
159 val4 = res & 0xFF;
160 return;
161}

◆ Tag1ToInt() [2/2]

void TagParser1::Tag1ToInt ( unsigned int  res,
int &  val1,
int &  val2,
int &  val3,
int &  val4 
)

◆ Tag2ToInt() [1/2]

void TagParser1::Tag2ToInt ( unsigned int  res,
int &  val1,
int &  val2,
int &  val3,
int &  val4,
int &  val5,
int &  val6 
)

Definition at line 162 of file TagParser1.cxx.

163{
164 val1=(res>>26) & 0x3F;
165 val2=(res>>20) & 0x3F;
166 val3=(res>>15) & 0x1F;
167 val4=(res>>10) & 0x1F;
168 val5=(res>>5) & 0x1F;
169 val6 =res & 0x1F;
170 return;
171}

◆ Tag2ToInt() [2/2]

void TagParser1::Tag2ToInt ( unsigned int  res,
int &  val1,
int &  val2,
int &  val3,
int &  val4,
int &  val5,
int &  val6 
)

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