CMS 3D CMS Logo

P2GTAlgoBlock.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_P2GTAlgoBlock_h
2 #define DataFormats_L1Trigger_P2GTAlgoBlock_h
3 
4 #include "P2GTCandidate.h"
5 
6 #include <map>
7 #include <string>
8 
9 namespace l1t {
10 
12  typedef std::map<std::string, P2GTAlgoBlock> P2GTAlgoBlockMap;
13 
14  class P2GTAlgoBlock {
15  public:
21  isVeto_(false),
22  triggerTypes_(0),
23  trigObjects_() {}
24 
27  bool decisionFinal,
29  bool isVeto,
30  int triggerTypes,
36  isVeto_(isVeto),
39 
42  bool decisionFinal() const { return decisionFinal_; }
44  bool isVeto() const { return isVeto_; }
45  int triggerTypes() const { return triggerTypes_; }
46  const P2GTCandidateVectorRef& trigObjects() const { return trigObjects_; }
47 
48  private:
51  const bool decisionFinal_;
53  const bool isVeto_;
54  const int triggerTypes_;
56  };
57 
58 } // namespace l1t
59 
60 #endif // DataFormats_L1Trigger_P2GTAlgoBlock_h
const bool isVeto_
Definition: P2GTAlgoBlock.h:53
const bool decisionFinalPreview_
Definition: P2GTAlgoBlock.h:52
int triggerTypes() const
Definition: P2GTAlgoBlock.h:45
P2GTAlgoBlock(bool decisionBeforeBxMaskAndPrescale, bool decisionBeforePrescale, bool decisionFinal, bool decisionFinalPreview, bool isVeto, int triggerTypes, P2GTCandidateVectorRef trigObjects)
Definition: P2GTAlgoBlock.h:25
const int triggerTypes_
Definition: P2GTAlgoBlock.h:54
std::map< std::string, P2GTAlgoBlock > P2GTAlgoBlockMap
Definition: P2GTAlgoBlock.h:11
delete x;
Definition: CaloConfig.h:22
bool decisionFinalPreview() const
Definition: P2GTAlgoBlock.h:43
bool decisionBeforePrescale() const
Definition: P2GTAlgoBlock.h:41
const bool decisionFinal_
Definition: P2GTAlgoBlock.h:51
const P2GTCandidateVectorRef trigObjects_
Definition: P2GTAlgoBlock.h:55
const bool decisionBeforeBxMaskAndPrescale_
Definition: P2GTAlgoBlock.h:49
bool isVeto() const
Definition: P2GTAlgoBlock.h:44
std::vector< P2GTCandidateRef > P2GTCandidateVectorRef
Definition: P2GTCandidate.h:20
const P2GTCandidateVectorRef & trigObjects() const
Definition: P2GTAlgoBlock.h:46
bool decisionFinal() const
Definition: P2GTAlgoBlock.h:42
const bool decisionBeforePrescale_
Definition: P2GTAlgoBlock.h:50
def move(src, dest)
Definition: eostools.py:511
bool decisionBeforeBxMaskAndPrescale() const
Definition: P2GTAlgoBlock.h:40