BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
Signature.h
Go to the documentation of this file.
1#ifndef _SIGNATURE_
2#define _SIGNATURE_
3
4#include <utility>
5#include <map>
6#include <vector>
7#include <string>
8#include <list>
11
12namespace HltProcessor {
13
15{
16 public:
17 Signature();
18 Signature(std::vector<HltCriteria*>);
19 virtual ~Signature();
20 int id() const;
21 void setId(int);
22 void print();
23 void makeVectors(HltCriteria* criteria);
24 //inline const std::vector<HltCriteria*>& criteriaVector() const{
25 // return m_criteriaVec;
26 //}
27 bool isVeto() const;
28 void setVeto(bool);
29 float forcedAccept() const;
30 void setForcedAccept(float);
31 int prescale() const;
32 void setPrescale(int);
33 int predecessorId();
34 int successorId();
35 void setPredecessorId(int);
36 void setSuccessorId(int);
37 void setSigLabel(std::string label);
38 std::string label() const;
39
40 /// For trigger
42 const std::string& result() const {
43 return m_result;
44 }
45 const std::string& midresult() const {
46 return m_midMark;
47 }
48
49 private:
50 std::vector<HltCriteria *> m_criteriaVec;
51 int m_SignaturePrescale;
52 float m_SignatureForcedRate;
53 bool m_SignatureVeto;
54 std::string m_Sig_label;
55 std::string m_result;
56 std::string m_midMark;
57
58 int m_Id;
59 int m_Predecessor_Id;
60 int m_Successor_Id;
61 MessageSvcProvider* m_msgSvcProvider;
62};
63}
64#endif
void setForcedAccept(float)
Set the forced accept rate. //.
Definition: Signature.cxx:64
const std::string & result() const
Definition: Signature.h:42
bool isVeto() const
Get veto or not. //.
Definition: Signature.cxx:82
void setSigLabel(std::string label)
Definition: Signature.cxx:109
float forcedAccept() const
Get the forced accept rate. //.
Definition: Signature.cxx:58
const std::string & midresult() const
Definition: Signature.h:45
int isCriteriaMatched()
For trigger.
Definition: Signature.cxx:117
void makeVectors(HltCriteria *criteria)
Definition: Signature.cxx:47
int prescale() const
Get prescale. //.
Definition: Signature.cxx:70
int id() const
Returns the id //.
Definition: Signature.cxx:52
Signature()
Constructors //.
Definition: Signature.cxx:15
std::string label() const
Definition: Signature.cxx:113
virtual ~Signature()
Destructor //.
Definition: Signature.cxx:32
void setVeto(bool)
set veto. //
Definition: Signature.cxx:88
void print()
Print method. //.
Definition: Signature.cxx:38
void setPrescale(int)
Set prescale. //.
Definition: Signature.cxx:76
void setId(int)
set the id //
Definition: Signature.cxx:55
Class that provides message services. Add to any classes that need message services.