File indexing completed on 2024-04-06 12:19:54
0001 #ifndef GCTTESTUSINGLHCDATA_H_
0002 #define GCTTESTUSINGLHCDATA_H_
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include <string>
0016 #include <vector>
0017 #include <stdint.h>
0018
0019 class L1CaloRegion;
0020 class L1GlobalCaloTrigger;
0021
0022 namespace edm {
0023 class Event;
0024 class InputTag;
0025 }
0026
0027 class gctTestUsingLhcData {
0028 public:
0029
0030
0031
0032 gctTestUsingLhcData();
0033 ~gctTestUsingLhcData();
0034
0035 std::vector<L1CaloRegion> loadEvent(const edm::Event& iEvent, const int16_t bx);
0036
0037 void checkHwResults(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent);
0038 void checkEmResults(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent);
0039
0040 private:
0041 bool checkResults(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag);
0042
0043 bool checkJets(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag);
0044 bool checkEtSums(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag);
0045 bool checkHtSums(const L1GlobalCaloTrigger* gct, const edm::Event& iEvent, const edm::InputTag tag);
0046 };
0047
0048 #endif