BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
TagParser4.h
Go to the documentation of this file.
1#ifndef TAGPARSER4_H_
2#define TAGPARSER4_H_
3
4#include "GaudiKernel/IInterface.h"
5#include "GaudiKernel/Kernel.h"
6#include "GaudiKernel/Service.h"
7#include "GaudiKernel/IDataProviderSvc.h"
8#include "GaudiKernel/IService.h"
10
11#include <string>
12#include <vector>
13using namespace std;
14
15class TagParser4: public ITagParser{
16
17 public:
18 TagParser4();
20
21 StatusCode getVEntry(vector<int>&);
22
23 int getDstDataType() { return m_dstDataType; }
24 unsigned int getTagData0() { return m_tagData0; }
25 unsigned int getTagData1() { return m_tagData1; }
26 unsigned int getTagData2() { return m_tagData2; }
27 unsigned int getTagData3() { return m_tagData3; }
28 unsigned int getTagData4() { return m_tagData4; }
29 unsigned int getTagData5() { return m_tagData5; }
30 unsigned int getTagData6() { return m_tagData6; }
31 unsigned int getTagData7() { return m_tagData7; }
32 unsigned int getTagData8() { return m_tagData8; }
33 unsigned int getTagData9() { return m_tagData9; }
34
35 void setDstDataType(int t) { m_dstDataType = t; }
36 void setTagData0(unsigned int t) { m_tagData0 = t; }
37 void setTagData1(unsigned int t) { m_tagData1 = t; }
38 void setTagData2(unsigned int t) { m_tagData2 = t; }
39 void setTagData3(unsigned int t) { m_tagData3 = t; }
40 void setTagData4(unsigned int t) { m_tagData4 = t; }
41 void setTagData5(unsigned int t) { m_tagData5 = t; }
42 void setTagData6(unsigned int t) { m_tagData6 = t; }
43 void setTagData7(unsigned int t) { m_tagData7 = t; }
44 void setTagData8(unsigned int t) { m_tagData8 = t; }
45 void setTagData9(unsigned int t) { m_tagData9 = t; }
46
47 void setFileName(string name) {m_fileName = name; std::cout<<"filename is "<<m_fileName<<std::endl;}
48 void setCriteria(vector<string> name) {m_criteria = name;}
49
50 void Tag1ToInt(unsigned int res, int & val1, int & val2, int & val3, int & val4);
51 void Tag2ToInt(unsigned int res, int & val1, int & val2, int & val3, int & val4, int & val5, int & val6);
52 vector<int> split(string str, string pattern, bool & all, bool & type);
53
54 private:
55 string m_fileName;
56 vector<string> m_criteria;
57 int m_dstDataType;
58 unsigned int m_tagData0;
59 unsigned int m_tagData1;
60 unsigned int m_tagData2;
61 unsigned int m_tagData3;
62 unsigned int m_tagData4;
63 unsigned int m_tagData5;
64 unsigned int m_tagData6;
65 unsigned int m_tagData7;
66 unsigned int m_tagData8;
67 unsigned int m_tagData9;
68
69};
70#endif /* TAGPARSER4_H_ */
TTree * t
Definition: binning.cxx:23
void Tag2ToInt(unsigned int res, int &val1, int &val2, int &val3, int &val4, int &val5, int &val6)
Definition: TagParser4.cxx:349
void setDstDataType(int t)
Definition: TagParser4.h:35
unsigned int getTagData0()
Definition: TagParser4.h:24
void setTagData9(unsigned int t)
Definition: TagParser4.h:45
StatusCode getVEntry(vector< int > &)
Definition: TagParser4.cxx:33
void setTagData2(unsigned int t)
Definition: TagParser4.h:38
unsigned int getTagData6()
Definition: TagParser4.h:30
unsigned int getTagData2()
Definition: TagParser4.h:26
void setTagData5(unsigned int t)
Definition: TagParser4.h:41
unsigned int getTagData8()
Definition: TagParser4.h:32
void setFileName(string name)
Definition: TagParser4.h:47
unsigned int getTagData5()
Definition: TagParser4.h:29
vector< int > split(string str, string pattern, bool &all, bool &type)
Definition: TagParser4.cxx:359
void setTagData0(unsigned int t)
Definition: TagParser4.h:36
unsigned int getTagData7()
Definition: TagParser4.h:31
unsigned int getTagData9()
Definition: TagParser4.h:33
void setCriteria(vector< string > name)
Definition: TagParser4.h:48
unsigned int getTagData3()
Definition: TagParser4.h:27
void setTagData7(unsigned int t)
Definition: TagParser4.h:43
void setTagData8(unsigned int t)
Definition: TagParser4.h:44
void setTagData6(unsigned int t)
Definition: TagParser4.h:42
int getDstDataType()
Definition: TagParser4.h:23
unsigned int getTagData4()
Definition: TagParser4.h:28
unsigned int getTagData1()
Definition: TagParser4.h:25
void setTagData4(unsigned int t)
Definition: TagParser4.h:40
void setTagData1(unsigned int t)
Definition: TagParser4.h:37
void Tag1ToInt(unsigned int res, int &val1, int &val2, int &val3, int &val4)
Definition: TagParser4.cxx:341
void setTagData3(unsigned int t)
Definition: TagParser4.h:39