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 <vector>
7 #include <string>
8 #include <utility>
9 
10 namespace l1t {
11 
13  typedef std::vector<P2GTAlgoBlock> P2GTAlgoBlockCollection;
14 
15  class P2GTAlgoBlock {
16  public:
18  : algoName_(""),
22  trigObjects_() {}
26  bool decisionFinal,
28  : algoName_(std::move(name)),
33 
34  const std::string& algoName() const { return algoName_; }
37  bool decisionFinal() const { return decisionFinal_; }
38  const P2GTCandidateVectorRef& trigObjects() const { return trigObjects_; }
39 
40  private:
44  const bool decisionFinal_;
46  };
47 
48 } // namespace l1t
49 
50 #endif // DataFormats_L1Trigger_P2GTAlgoBlock_h
const std::string algoName_
Definition: P2GTAlgoBlock.h:41
const std::string & algoName() const
Definition: P2GTAlgoBlock.h:34
delete x;
Definition: CaloConfig.h:22
P2GTAlgoBlock(std::string name, bool decisionBeforeBxMaskAndPrescale, bool decisionBeforePrescale, bool decisionFinal, P2GTCandidateVectorRef trigObjects)
Definition: P2GTAlgoBlock.h:23
bool decisionBeforePrescale() const
Definition: P2GTAlgoBlock.h:36
const bool decisionFinal_
Definition: P2GTAlgoBlock.h:44
const P2GTCandidateVectorRef trigObjects_
Definition: P2GTAlgoBlock.h:45
const bool decisionBeforeBxMaskAndPrescale_
Definition: P2GTAlgoBlock.h:42
std::vector< P2GTAlgoBlock > P2GTAlgoBlockCollection
Definition: P2GTAlgoBlock.h:12
std::vector< P2GTCandidateRef > P2GTCandidateVectorRef
Definition: P2GTCandidate.h:20
const P2GTCandidateVectorRef & trigObjects() const
Definition: P2GTAlgoBlock.h:38
bool decisionFinal() const
Definition: P2GTAlgoBlock.h:37
const bool decisionBeforePrescale_
Definition: P2GTAlgoBlock.h:43
def move(src, dest)
Definition: eostools.py:511
bool decisionBeforeBxMaskAndPrescale() const
Definition: P2GTAlgoBlock.h:35