|
1 | 1 | #include "DQM/L1TMonitor/interface/L1TCaloLayer1Summary.h" |
2 | 2 |
|
3 | 3 | L1TCaloLayer1Summary::L1TCaloLayer1Summary(const edm::ParameterSet& iConfig) |
4 | | - : caloLayer1CICADAScoreToken_(consumes<l1t::CICADABxCollection>(iConfig.getParameter<edm::InputTag>("caloLayer1CICADAScore"))), |
5 | | - gtCICADAScoreToken_(consumes<l1t::CICADABxCollection>(iConfig.getParameter<edm::InputTag>("gtCICADAScore"))), |
6 | | - simCICADAScoreToken_(consumes<l1t::CICADABxCollection>(iConfig.getParameter<edm::InputTag>("simCICADAScore"))), |
7 | | - caloLayer1RegionsToken_(consumes<L1CaloRegionCollection>(iConfig.getParameter<edm::InputTag>("caloLayer1Regions"))), |
8 | | - simRegionsToken_(consumes<L1CaloRegionCollection>(iConfig.getParameter<edm::InputTag>("simRegions"))), |
9 | | - fedRawData_(consumes<FEDRawDataCollection>(iConfig.getParameter<edm::InputTag>("fedRawDataLabel"))), |
10 | | - histFolder_(iConfig.getParameter<std::string>("histFolder")) { |
11 | | -} |
| 4 | + : caloLayer1CICADAScoreToken_( |
| 5 | + consumes<l1t::CICADABxCollection>(iConfig.getParameter<edm::InputTag>("caloLayer1CICADAScore"))), |
| 6 | + gtCICADAScoreToken_(consumes<l1t::CICADABxCollection>(iConfig.getParameter<edm::InputTag>("gtCICADAScore"))), |
| 7 | + simCICADAScoreToken_(consumes<l1t::CICADABxCollection>(iConfig.getParameter<edm::InputTag>("simCICADAScore"))), |
| 8 | + caloLayer1RegionsToken_( |
| 9 | + consumes<L1CaloRegionCollection>(iConfig.getParameter<edm::InputTag>("caloLayer1Regions"))), |
| 10 | + simRegionsToken_(consumes<L1CaloRegionCollection>(iConfig.getParameter<edm::InputTag>("simRegions"))), |
| 11 | + fedRawData_(consumes<FEDRawDataCollection>(iConfig.getParameter<edm::InputTag>("fedRawDataLabel"))), |
| 12 | + histFolder_(iConfig.getParameter<std::string>("histFolder")) {} |
12 | 13 |
|
13 | 14 | // ------------ method called for each event ------------ |
14 | 15 | void L1TCaloLayer1Summary::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) { |
@@ -88,16 +89,18 @@ void L1TCaloLayer1Summary::bookHistograms(DQMStore::IBooker& ibooker, edm::Run c |
88 | 89 | histoSlot7MinusDaqBxid = ibooker.book1D("slot7BXID", "Slot 7- DAQ BXID", 50, -20, 20); |
89 | 90 |
|
90 | 91 | ibooker.setCurrentFolder(histFolder_ + "/CICADAScore"); |
91 | | - histoCaloLayer1CICADAScore = ibooker.book1D("caloLayer1CICADAScore" , "CaloLayer1 CICADAScore" , 50 , 0 , 200 ); |
92 | | - histoGtCICADAScore = ibooker.book1D("gtCICADAScore" , "GT CICADAScore at BX0" , 50 , 0 , 200 ); |
93 | | - histoCaloMinusGt = ibooker.book1D("caloMinusGtCICADAScore" , "CaloLayer1 - GT CICADAScore at BX0", 50, -50, 50); |
94 | | - histoSimCICADAScore = ibooker.book1D("simCaloLayer1CICADAScore" , "simCaloLayer1 CICADAScore" , 50 , 0 , 200 ); |
95 | | - histoCaloMinusSim = ibooker.book1D("caloMinusSimCICADAScore" , "CaloLayer1 - simCaloLayer1 CICADAScore", 50, -50, 50); |
| 92 | + histoCaloLayer1CICADAScore = ibooker.book1D("caloLayer1CICADAScore", "CaloLayer1 CICADAScore", 50, 0, 200); |
| 93 | + histoGtCICADAScore = ibooker.book1D("gtCICADAScore", "GT CICADAScore at BX0", 50, 0, 200); |
| 94 | + histoCaloMinusGt = ibooker.book1D("caloMinusGtCICADAScore", "CaloLayer1 - GT CICADAScore at BX0", 50, -50, 50); |
| 95 | + histoSimCICADAScore = ibooker.book1D("simCaloLayer1CICADAScore", "simCaloLayer1 CICADAScore", 50, 0, 200); |
| 96 | + histoCaloMinusSim = ibooker.book1D("caloMinusSimCICADAScore", "CaloLayer1 - simCaloLayer1 CICADAScore", 50, -50, 50); |
96 | 97 |
|
97 | 98 | ibooker.setCurrentFolder(histFolder_ + "/Regions"); |
98 | | - histoCaloMinusSimRegions = ibooker.book2D("caloMinusSumRegions", "CaloLayer1 - simCaloLayer1 Regions;Region;ET", 252, -0.5, 252.5, 100, -400, 400); |
| 99 | + histoCaloMinusSimRegions = ibooker.book2D( |
| 100 | + "caloMinusSumRegions", "CaloLayer1 - simCaloLayer1 Regions;Region;ET", 252, -0.5, 252.5, 100, -400, 400); |
99 | 101 | histoCaloRegions = ibooker.book2D("caloLayer1Regions", "CaloLayer1 Regions;Region;ET", 252, -0.5, 252.5, 100, 0, 800); |
100 | | - histoSimRegions = ibooker.book2D("simCaloLayer1Regions", "simCaloLayer1 Regions;Region;ET", 252, -0.5, 252.5, 100, 0, 800); |
| 102 | + histoSimRegions = |
| 103 | + ibooker.book2D("simCaloLayer1Regions", "simCaloLayer1 Regions;Region;ET", 252, -0.5, 252.5, 100, 0, 800); |
101 | 104 | } |
102 | 105 |
|
103 | 106 | // ------------ method fills 'descriptions' with the allowed parameters for the module ------------ |
|
0 commit comments