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 #18571 from battibass/muonSysAgingComb91X
Combined tools for muon system aging/masking for upgrade studies (91X)
- Loading branch information
Showing
26 changed files
with
1,982 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#ifndef MuonSystemAgingRcd_MuonSystemAgingRcd_h | ||
#define MuonSystemAgingRcd_MuonSystemAgingRcd_h | ||
// -*- C++ -*- | ||
// | ||
// Package: CondFormats/DataRecord | ||
// Class : MuonSystemAgingRcd | ||
// | ||
/**\class MuonSystemAgingRcd MuonSystemAgingRcd.h CondFormats/DataRecord/interface/MuonSystemAgingRcd.h | ||
Description: CondFormat implementing inefficiencies in muon stations to mimic aging effects | ||
*/ | ||
// | ||
// Author: Sunil Bansal | ||
// Created: Wed, 01 Jun 2016 13:03:56 GMT | ||
// | ||
|
||
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h" | ||
|
||
class MuonSystemAgingRcd : public edm::eventsetup::EventSetupRecordImplementation<MuonSystemAgingRcd> {}; | ||
|
||
#endif |
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,12 @@ | ||
// -*- C++ -*- | ||
// | ||
// Package: CondFormats/DataRecord | ||
// Class : MuonSystemAgingRcd | ||
// | ||
// Author: Sunil Bansal | ||
// Created: Wed, 01 Jun 2016 13:03:56 GMT | ||
|
||
#include "CondFormats/DataRecord/interface/MuonSystemAgingRcd.h" | ||
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" | ||
|
||
EVENTSETUP_RECORD_REG(MuonSystemAgingRcd); |
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,37 @@ | ||
#ifndef MuonSystemAging_H | ||
#define MuonSystemAging_H | ||
|
||
#include "CondFormats/Serialization/interface/Serializable.h" | ||
#include<cmath> | ||
#include<iostream> | ||
#include <vector> | ||
#include <regex> | ||
#include <map> | ||
|
||
enum CSCInefficiencyType | ||
{ | ||
EFF_CHAMBER=0, | ||
EFF_STRIPS=1, | ||
EFF_WIRES=2 | ||
}; | ||
|
||
class MuonSystemAging | ||
{ | ||
|
||
public: | ||
|
||
MuonSystemAging() { }; | ||
~MuonSystemAging() { }; | ||
|
||
std::map<unsigned int, float> m_RPCChambEffs; | ||
std::map<unsigned int, float> m_DTChambEffs; | ||
std::map<unsigned int, std::pair<unsigned int, float> > m_CSCChambEffs; | ||
|
||
std::map<unsigned int, float> m_GEMChambEffs; | ||
std::map<unsigned int, float> m_ME0ChambEffs; | ||
|
||
COND_SERIALIZABLE; | ||
|
||
}; | ||
|
||
#endif |
3 changes: 3 additions & 0 deletions
3
CondFormats/RecoMuonObjects/src/T_EventSetup_MuonSystemAging.cc
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,3 @@ | ||
#include "CondFormats/RecoMuonObjects/interface/MuonSystemAging.h" | ||
#include "FWCore/Utilities/interface/typelookup.h" | ||
TYPELOOKUP_DATA_REG(MuonSystemAging); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<bin file="testSerializationRecoMuonObjects.cpp"> | ||
<use name="CondFormats/RecoMuonObjects"/> | ||
</bin> | ||
<library file="*.cc" name="CondFormatsRecoMuonObjectsTest"> | ||
<use name="CondFormats/RecoMuonObjects"/> | ||
<use name="CondCore/DBOutputService"/> | ||
<use name="FWCore/MessageLogger"/> | ||
<use name="Geometry/DTGeometry"/> | ||
<use name="Geometry/CSCGeometry"/> | ||
<use name="Geometry/Records"/> | ||
<flags EDM_PLUGIN="1"/> | ||
</library> |
Oops, something went wrong.