Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:59

0001 #include "DataFormats/L1Trigger/interface/L1DataEmulResult.h"
0002 
0003 l1t::L1DataEmulResult::L1DataEmulResult()
0004     : event_match_(true),
0005       collname_(""),
0006       pt_mismatch_(0),
0007       etaphi_mismatch_(0),
0008       n_mismatch_(0),
0009       n_dataonly_(0),
0010       n_emulonly_(0),
0011       add1_(0),
0012       add2_(0) {}
0013 
0014 l1t::L1DataEmulResult::L1DataEmulResult(bool event_match, std::string collname)
0015     : event_match_(event_match),
0016       collname_(collname),
0017       pt_mismatch_(0),
0018       etaphi_mismatch_(0),
0019       n_mismatch_(0),
0020       n_dataonly_(0),
0021       n_emulonly_(0),
0022       add1_(0),
0023       add2_(0) {}
0024 
0025 l1t::L1DataEmulResult::L1DataEmulResult(bool event_match,
0026                                         int pt_mismatch,
0027                                         int etaphi_mismatch,
0028                                         int n_mismatch,
0029                                         int n_dataonly,
0030                                         int n_emulonly,
0031                                         int add1,
0032                                         int add2,
0033                                         std::string collname)
0034     : event_match_(event_match),
0035       collname_(collname),
0036       pt_mismatch_(pt_mismatch),
0037       etaphi_mismatch_(etaphi_mismatch),
0038       n_mismatch_(n_mismatch),
0039       n_dataonly_(n_dataonly),
0040       n_emulonly_(n_emulonly),
0041       add1_(add1),
0042       add2_(add2) {}
0043 
0044 l1t::L1DataEmulResult::~L1DataEmulResult() {}
0045 
0046 bool l1t::L1DataEmulResult::Event_match() { return event_match_; }
0047 
0048 std::string l1t::L1DataEmulResult::Collname() { return collname_; }
0049 
0050 int l1t::L1DataEmulResult::PT_mismatch() { return pt_mismatch_; }
0051 
0052 int l1t::L1DataEmulResult::ETAPHI_mismatch() { return etaphi_mismatch_; }
0053 
0054 int l1t::L1DataEmulResult::N_mismatch() { return n_mismatch_; }
0055 
0056 int l1t::L1DataEmulResult::N_dataonly() { return n_dataonly_; }
0057 
0058 int l1t::L1DataEmulResult::N_emulonly() { return n_emulonly_; }
0059 
0060 int l1t::L1DataEmulResult::Add1() { return add1_; }
0061 
0062 int l1t::L1DataEmulResult::Add2() { return add2_; }