New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GEM and ME0 realistic digitizer updates #18660
Merged
cmsbuild
merged 31 commits into
cms-sw:master
from
dildick:from-CMSSW_9_2_X_2017-05-08-2300-ME0-realistic-digi-updates
Jun 15, 2017
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
afbaafc
ME0 realistic digi updates
269e8ce
ME0 realistic digi updates
62d1b2c
expert customs in customizeMuonDigi.py
50b4191
ME0 realistic digi updates
09e03e4
ME0 realistic digi updates
cbe416a
ME0 realistic digi updates
1f04c58
new bkg model
bc6b17e
bugfix
e2596ae
bugfix
0dd5efd
consistent naming
79b2546
update label
d3efd39
background parameters fixed; obsolte code removed refference lumi par…
mileva ba39abd
fix identation
3718c3b
delete obsolete file
d22ebf9
delete obsolete file
818e85f
fix typo
5f99b8b
address comments by Kevin Pedro
490c57d
use new ME0 digi module names
226e9f4
modify rpcRedigi customization function to be less-verbatim
jhgoh 4580e4a
missing rpcdigi parameters
jhgoh 57c6487
load from IOMC
1363cfb
update configs
f0dfa62
remove unnecessary parameter modifications by switching digi modelling
jhgoh 318ec65
ME0 and GEMDigis Models are modified after KPedro comments
milenadyu dc505d7
address comments by Kevin Pedro
5f99ea8
address comments by Kevin Pedro
62d802a
address comments by Kevin Pedro
b23afcb
ME0 and GEM removed hardcoded BKG params
milenadyu f2ad532
addressing questions by davidlange6 code optimizations (arrays)
milenadyu 53b942b
removing underscore from cluster-vector
milenadyu 7098ea7
suggestions by David Lange
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 was deleted.
Oops, something went wrong.
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,61 @@ | ||
#ifndef ME0OBJECTS_ME0DIGISIMLINK_H | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. until ME0DigiSimLink diverges from GEMDigiSimLink, please just define a typedef. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ME0DigiSimLink is now #include "SimDataFormats/GEMDigiSimLink/interface/GEMDigiSimLink.h" typedef GEMDigiSimLink ME0DigiSimLink; |
||
#define ME0OBJECTS_ME0DIGISIMLINK_H | ||
|
||
#include <utility> | ||
#include "DataFormats/GeometryVector/interface/LocalPoint.h" | ||
#include "DataFormats/GeometryVector/interface/LocalVector.h" | ||
#include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h" | ||
|
||
class ME0DigiSimLink | ||
{ | ||
public: | ||
ME0DigiSimLink(std::pair<unsigned int, int> digi, Local3DPoint entryPoint, LocalVector momentumAtEntry, | ||
float timeOfFlight, float energyLoss, int particleType, unsigned int detUnitId, unsigned int trackId, | ||
EncodedEventId eventId, unsigned short processType) | ||
{ | ||
|
||
_entryPoint = entryPoint; | ||
_momentumAtEntry = momentumAtEntry; | ||
_timeOfFlight = timeOfFlight; | ||
_energyLoss = energyLoss; | ||
_particleType = particleType; | ||
_detUnitId = detUnitId; | ||
_trackId = trackId; | ||
_eventId = eventId; | ||
_processType = processType; | ||
_digi = digi; | ||
} | ||
|
||
ME0DigiSimLink() {;} | ||
|
||
~ME0DigiSimLink() {;} | ||
|
||
unsigned int getStrip() const {return _digi.first;} | ||
unsigned int getBx() const{return _digi.second;} | ||
Local3DPoint getEntryPoint() const{return _entryPoint;} | ||
LocalVector getMomentumAtEntry() const{return _momentumAtEntry;} | ||
float getTimeOfFlight() const{return _timeOfFlight;} | ||
float getEnergyLoss() const{return _energyLoss;} | ||
int getParticleType() const{return _particleType;} | ||
unsigned int getDetUnitId() const{return _detUnitId;} | ||
unsigned int getTrackId() const{return _trackId;} | ||
EncodedEventId getEventId() const{return _eventId;} | ||
unsigned short getProcessType() const{return _processType;} | ||
|
||
inline bool operator<(const ME0DigiSimLink& other) const{return getStrip() < other.getStrip();} | ||
|
||
private: | ||
std::pair<unsigned int, int> _digi; | ||
|
||
Local3DPoint _entryPoint; | ||
LocalVector _momentumAtEntry; | ||
float _timeOfFlight; | ||
float _energyLoss; | ||
int _particleType; | ||
unsigned int _detUnitId; | ||
unsigned int _trackId; | ||
EncodedEventId _eventId; | ||
unsigned short _processType; | ||
|
||
}; | ||
#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 @@ | ||
#include "SimDataFormats/GEMDigiSimLink/interface/ME0DigiSimLink.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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we settle on some common naming so that (local) reco configs do not get perturbed frequently just because of some internal DIGI-step reorganization?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@slava77 After this PR no more name changes are foreseen. The naming that is proposed is similar to the other muon digitizers
simMuonME0Digis
vssimMuonRPCDigis
orsimMuonGEMDigis
,simMuonCSCDigis
andsimMuonDTDigis
for realistic digis.simMuonME0PadDigis
vssimMuonGEMPadDigis
for pads. Pseudo digis now have the stringPseudo
in them to distinguish them from real digis. Re-digitized pseudo digis for Muon TDR studies are calledsimMuonME0PseudoReDigis
. This naming convention was agreed upon with other GEM/ME0 developers.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my education, could you briefly summarize "pseudo" and "re"? (pseudo means smeared, and "re" means?) -perhaps the word "sim" needs to be dropped at some point along this chain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pseudo means that the digis are of type ME0DigiPreReco. Real digis are of type ME0Digi. The pseudo digitization sequence for ME0 was introduced for performance studies (deciding layers, eta partitions, strips) for the Muon Upgrade TDR. This sequence will be taken out of the main digi step in the future. The real ME0 digi sequence is what will be used to build ME0 triggers and for continued ME0 performance studies.