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