-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34516 from arossi83/PixelDRnR_v2
Add DRnR plots to PixelPhase1 DQM
- Loading branch information
Showing
9 changed files
with
603 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
DQM/SiPixelPhase1Track/interface/SiPixelPhase1ResidualsExtra.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#ifndef SiPixelPhase1ResidualsExtra_SiPixelPhase1ResidualsExtra_h | ||
#define SiPixelPhase1ResidualsExtra_SiPixelPhase1ResidualsExtra_h | ||
// -*- C++ -*- | ||
// | ||
// Package: SiPixelPhase1ResidualsExtra | ||
// Class : SiPixelPhase1ResidualsExtra | ||
// | ||
/* | ||
Description: Introduce some computation over the PixelPhase1 residuals distributions | ||
Usage: | ||
<usage> | ||
*/ | ||
// | ||
// Original Author: Alessandro Rossi | ||
// Created: 21st May 2021 | ||
// | ||
|
||
//#include <memory> | ||
|
||
// user include files | ||
#include "FWCore/Framework/interface/Frameworkfwd.h" | ||
#include "FWCore/Framework/interface/EDAnalyzer.h" | ||
#include "FWCore/Framework/interface/MakerMacros.h" | ||
|
||
#include "DQMServices/Core/interface/DQMStore.h" | ||
#include "DQMServices/Core/interface/DQMEDHarvester.h" | ||
|
||
#include "FWCore/Framework/interface/EDProducer.h" | ||
#include "FWCore/Framework/interface/Event.h" | ||
|
||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
|
||
class SiPixelPhase1ResidualsExtra : public DQMEDHarvester { | ||
public: | ||
explicit SiPixelPhase1ResidualsExtra(const edm::ParameterSet& conf); | ||
~SiPixelPhase1ResidualsExtra() override; | ||
|
||
protected: | ||
// BeginRun | ||
void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override; | ||
|
||
// EndJob | ||
void dqmEndJob(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter) override; | ||
|
||
private: | ||
std::string topFolderName_; | ||
int minHits_; | ||
edm::ParameterSet conf_; | ||
|
||
std::map<std::string, MonitorElement*> residuals_; | ||
std::map<std::string, MonitorElement*> DRnR_; | ||
|
||
//Book Monitoring Elements | ||
void bookMEs(DQMStore::IBooker& iBooker); | ||
|
||
//Fill Monitoring Elements | ||
void fillMEs(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter); | ||
}; | ||
|
||
#endif |
Oops, something went wrong.