@@ -63,6 +63,7 @@ VersionControl::VersionControl(const edm::ParameterSet& iConfig) : config_(iConf
6363 bugGMTPhi_ = spPAParams16.getParameter <bool >(" BugGMTPhi" );
6464 promoteMode7_ = spPAParams16.getParameter <bool >(" PromoteMode7" );
6565 modeQualVer_ = spPAParams16.getParameter <int >(" ModeQualVer" );
66+ promoteMode7Sectors_ = spPAParams16.getParameter <std::vector<int > >(" PromoteMode7Sectors" );
6667 pbFileName_ = spPAParams16.getParameter <std::string>(" ProtobufFileName" );
6768}
6869
@@ -76,7 +77,6 @@ void VersionControl::configure_by_fw_version(unsigned fw_version) {
7677 // For now, no switches later than FW version 47864 (end-of-year 2016)
7778 // Beggining in late 2016, "fw_version" in O2O populated with timestamp, rather than FW version
7879 // tm fw_time = gmtime(fw_version); (See https://linux.die.net/man/3/gmtime, https://www.epochconverter.com)
79-
8080 // ///////////////////////////////////////////////////////////////////////////////
8181 // / Settings for 2018 (by default just use settings in simEmtfDigis_cfi.py) ///
8282 // ///////////////////////////////////////////////////////////////////////////////
@@ -120,7 +120,6 @@ void VersionControl::configure_by_fw_version(unsigned fw_version) {
120120 // ---------------------------------------------------------------------------------
121121 modeQualVer_ = 2 ; // Version 2 contains modified mode-quality mapping for 2018
122122 promoteMode7_ = false ; // Assign station 2-3-4 tracks with |eta| > 1.6 SingleMu quality
123-
124123 // ___________________________________________________________________________
125124 // Versions in 2018 - no external documentation
126125 // As of the beginning of 2018 EMTF O2O was broken, not updating the database with online conditions
@@ -134,6 +133,11 @@ void VersionControl::configure_by_fw_version(unsigned fw_version) {
134133 promoteMode7_ = true ; // Assign station 2-3-4 tracks with |eta| > 1.6 SingleMu quality
135134 }
136135
136+ // Promote Mode 7 settings for 2025. Implemented here since all the rest of the settings are the same as in 2018.
137+ if (fw_version >= 1747996116 ) { // May 23, 2025
138+ promoteMode7_ = true ; // Assign station 2-3-4 tracks with |eta| > 1.6 SingleMu quality
139+ }
140+
137141 return ;
138142 }
139143
0 commit comments