@@ -29,7 +29,7 @@ L1TdeCSCTPG::L1TdeCSCTPG(const edm::ParameterSet& ps)
2929 alctMaxBin_(ps.getParameter<std::vector<double >>(" alctMaxBin" )),
3030 clctMaxBin_(ps.getParameter<std::vector<double >>(" clctMaxBin" )),
3131 lctMaxBin_(ps.getParameter<std::vector<double >>(" lctMaxBin" )),
32- b904Setup_ (ps.getParameter<bool >(" B904Setup" )),
32+ B904Setup_ (ps.getParameter<bool >(" B904Setup" )),
3333 isRun3_(ps.getParameter<bool >(" isRun3" )) {}
3434
3535L1TdeCSCTPG::~L1TdeCSCTPG () {}
@@ -43,8 +43,8 @@ void L1TdeCSCTPG::bookHistograms(DQMStore::IBooker& iBooker, const edm::Run&, co
4343 lctVars_.resize (5 );
4444 }
4545
46- // remove the non-ME1/1 chambers from the list when b904Setup is set to true
47- if (b904Setup_ ) {
46+ // remove the non-ME1/1 chambers from the list when B904Setup is set to true
47+ if (B904Setup_ ) {
4848 chambers_.resize (1 );
4949 }
5050 // do not analyze the 1/4-strip bit, 1/8-strip bit
@@ -110,7 +110,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
110110 auto range = dataALCTs->get ((*it).first );
111111 const int type = ((*it).first ).iChamberType () - 2 ;
112112 // ignore non-ME1/1 chambers when using B904 test-stand data
113- if (b904Setup_ and !((*it).first ).isME11 ())
113+ if (B904Setup_ and !((*it).first ).isME11 ())
114114 continue ;
115115 for (auto alct = range.first ; alct != range.second ; alct++) {
116116 if (alct->isValid ()) {
@@ -125,7 +125,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
125125 auto range = emulALCTs->get ((*it).first );
126126 const int type = ((*it).first ).iChamberType () - 2 ;
127127 // ignore non-ME1/1 chambers when using B904 test-stand data
128- if (b904Setup_ and !((*it).first ).isME11 ())
128+ if (B904Setup_ and !((*it).first ).isME11 ())
129129 continue ;
130130 for (auto alct = range.first ; alct != range.second ; alct++) {
131131 if (alct->isValid ()) {
@@ -140,7 +140,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
140140 auto range = dataCLCTs->get ((*it).first );
141141 const int type = ((*it).first ).iChamberType () - 2 ;
142142 // ignore non-ME1/1 chambers when using B904 test-stand data
143- if (b904Setup_ and !((*it).first ).isME11 ())
143+ if (B904Setup_ and !((*it).first ).isME11 ())
144144 continue ;
145145 for (auto clct = range.first ; clct != range.second ; clct++) {
146146 if (clct->isValid ()) {
@@ -154,7 +154,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
154154 chamberHistos[type][" clct_eighthstrip_data" ]->Fill (clct->getKeyStrip (8 ));
155155 chamberHistos[type][" clct_slope_data" ]->Fill (clct->getSlope ());
156156 chamberHistos[type][" clct_compcode_data" ]->Fill (clct->getCompCode ());
157- if (b904Setup_ ) {
157+ if (B904Setup_ ) {
158158 chamberHistos[type][" clct_quartstripbit_data" ]->Fill (clct->getQuartStripBit ());
159159 chamberHistos[type][" clct_eighthstripbit_data" ]->Fill (clct->getEighthStripBit ());
160160 }
@@ -167,7 +167,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
167167 auto range = emulCLCTs->get ((*it).first );
168168 const int type = ((*it).first ).iChamberType () - 2 ;
169169 // ignore non-ME1/1 chambers when using B904 test-stand data
170- if (b904Setup_ and !((*it).first ).isME11 ())
170+ if (B904Setup_ and !((*it).first ).isME11 ())
171171 continue ;
172172 for (auto clct = range.first ; clct != range.second ; clct++) {
173173 if (clct->isValid ()) {
@@ -181,7 +181,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
181181 chamberHistos[type][" clct_eighthstrip_emul" ]->Fill (clct->getKeyStrip (8 ));
182182 chamberHistos[type][" clct_slope_emul" ]->Fill (clct->getSlope ());
183183 chamberHistos[type][" clct_compcode_emul" ]->Fill (clct->getCompCode ());
184- if (b904Setup_ ) {
184+ if (B904Setup_ ) {
185185 chamberHistos[type][" clct_quartstripbit_emul" ]->Fill (clct->getQuartStripBit ());
186186 chamberHistos[type][" clct_eighthstripbit_emul" ]->Fill (clct->getEighthStripBit ());
187187 }
@@ -194,11 +194,11 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
194194 auto range = dataLCTs->get ((*it).first );
195195 const int type = ((*it).first ).iChamberType () - 2 ;
196196 // ignore non-ME1/1 chambers when using B904 test-stand data
197- if (b904Setup_ and !((*it).first ).isME11 ())
197+ if (B904Setup_ and !((*it).first ).isME11 ())
198198 continue ;
199199 for (auto lct = range.first ; lct != range.second ; lct++) {
200200 if (lct->isValid ()) {
201- chamberHistos[type][" lct_pattern_data" ]->Fill (lct->getCLCTPattern ());
201+ chamberHistos[type][" lct_pattern_data" ]->Fill (lct->getPattern ());
202202 chamberHistos[type][" lct_quality_data" ]->Fill (lct->getQuality ());
203203 chamberHistos[type][" lct_wiregroup_data" ]->Fill (lct->getKeyWG ());
204204 chamberHistos[type][" lct_halfstrip_data" ]->Fill (lct->getStrip ());
@@ -208,7 +208,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
208208 chamberHistos[type][" lct_slope_data" ]->Fill (lct->getSlope ());
209209 chamberHistos[type][" lct_quartstrip_data" ]->Fill (lct->getStrip (4 ));
210210 chamberHistos[type][" lct_eighthstrip_data" ]->Fill (lct->getStrip (8 ));
211- if (b904Setup_ ) {
211+ if (B904Setup_ ) {
212212 chamberHistos[type][" lct_quartstripbit_data" ]->Fill (lct->getQuartStripBit ());
213213 chamberHistos[type][" lct_eighthstripbit_data" ]->Fill (lct->getEighthStripBit ());
214214 }
@@ -221,11 +221,11 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
221221 auto range = emulLCTs->get ((*it).first );
222222 const int type = ((*it).first ).iChamberType () - 2 ;
223223 // ignore non-ME1/1 chambers when using B904 test-stand data
224- if (b904Setup_ and !((*it).first ).isME11 ())
224+ if (B904Setup_ and !((*it).first ).isME11 ())
225225 continue ;
226226 for (auto lct = range.first ; lct != range.second ; lct++) {
227227 if (lct->isValid ()) {
228- chamberHistos[type][" lct_pattern_emul" ]->Fill (lct->getCLCTPattern ());
228+ chamberHistos[type][" lct_pattern_emul" ]->Fill (lct->getPattern ());
229229 chamberHistos[type][" lct_quality_emul" ]->Fill (lct->getQuality ());
230230 chamberHistos[type][" lct_wiregroup_emul" ]->Fill (lct->getKeyWG ());
231231 chamberHistos[type][" lct_halfstrip_emul" ]->Fill (lct->getStrip ());
@@ -235,7 +235,7 @@ void L1TdeCSCTPG::analyze(const edm::Event& e, const edm::EventSetup& c) {
235235 chamberHistos[type][" lct_slope_emul" ]->Fill (lct->getSlope ());
236236 chamberHistos[type][" lct_quartstrip_emul" ]->Fill (lct->getStrip (4 ));
237237 chamberHistos[type][" lct_eighthstrip_emul" ]->Fill (lct->getStrip (8 ));
238- if (b904Setup_ ) {
238+ if (B904Setup_ ) {
239239 chamberHistos[type][" lct_quartstripbit_emul" ]->Fill (lct->getQuartStripBit ());
240240 chamberHistos[type][" lct_eighthstripbit_emul" ]->Fill (lct->getEighthStripBit ());
241241 }
0 commit comments