BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
TagParser3.h
Go to the documentation of this file.
1#ifndef TAGPARSER3_H_
2#define TAGPARSER3_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 TagParser3: public ITagParser{
16
17 public:
18 TagParser3();
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 /* TAGPARSER2_H_ */
TTree * t
Definition: binning.cxx:23
void setTagData0(unsigned int t)
Definition: TagParser3.h:36
StatusCode getVEntry(vector< int > &)
Definition: TagParser3.cxx:33
void setCriteria(vector< string > name)
Definition: TagParser3.h:48
void setTagData5(unsigned int t)
Definition: TagParser3.h:41
void setTagData1(unsigned int t)
Definition: TagParser3.h:37
unsigned int getTagData6()
Definition: TagParser3.h:30
void setFileName(string name)
Definition: TagParser3.h:47
unsigned int getTagData5()
Definition: TagParser3.h:29
unsigned int getTagData7()
Definition: TagParser3.h:31
void setTagData3(unsigned int t)
Definition: TagParser3.h:39
unsigned int getTagData1()
Definition: TagParser3.h:25
void Tag1ToInt(unsigned int res, int &val1, int &val2, int &val3, int &val4)
Definition: TagParser3.cxx:341
int getDstDataType()
Definition: TagParser3.h:23
unsigned int getTagData9()
Definition: TagParser3.h:33
unsigned int getTagData0()
Definition: TagParser3.h:24
vector< int > split(string str, string pattern, bool &all, bool &type)
Definition: TagParser3.cxx:359
void setTagData8(unsigned int t)
Definition: TagParser3.h:44
void setTagData9(unsigned int t)
Definition: TagParser3.h:45
void setTagData2(unsigned int t)
Definition: TagParser3.h:38
void setTagData6(unsigned int t)
Definition: TagParser3.h:42
unsigned int getTagData2()
Definition: TagParser3.h:26
void setDstDataType(int t)
Definition: TagParser3.h:35
void setTagData4(unsigned int t)
Definition: TagParser3.h:40
unsigned int getTagData4()
Definition: TagParser3.h:28
void setTagData7(unsigned int t)
Definition: TagParser3.h:43
unsigned int getTagData3()
Definition: TagParser3.h:27
void Tag2ToInt(unsigned int res, int &val1, int &val2, int &val3, int &val4, int &val5, int &val6)
Definition: TagParser3.cxx:349
unsigned int getTagData8()
Definition: TagParser3.h:32