Skip to content

Commit

Permalink
removing reference to TString (makes consistent with 81X PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
clint-richardson committed Jun 1, 2016
1 parent 128ac2c commit 1e10ba4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions HLTriggerOffline/B2G/src/B2GDoubleLeptonHLTValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ B2GDoubleLeptonHLTValidation::analyze(const edm::Event& iEvent, const edm::Event
bool isInteresting = false;
for (unsigned int i=0; i<triggerNames.triggerNames().size(); ++i) {

TString name = triggerNames.triggerNames()[i].c_str();
for (unsigned int j=0; j<vsPaths_.size(); j++) {
if (name.Contains(TString(vsPaths_[j]))) {
if (triggerNames.triggerNames()[i].find(vsPaths_[j]) != std::string::npos) {
isInteresting = true;
break;
}
Expand Down Expand Up @@ -125,9 +124,8 @@ B2GDoubleLeptonHLTValidation::analyze(const edm::Event& iEvent, const edm::Event
}

for (unsigned int i=0; i<triggerNames.triggerNames().size(); ++i) {
TString name = triggerNames.triggerNames()[i].c_str();
for (unsigned int j=0; j<vsPaths_.size(); j++) {
if (name.Contains(TString(vsPaths_[j]))) {
if (triggerNames.triggerNames()[i].find(vsPaths_[j]) != std::string::npos) {
hNumTriggerMon->Fill(j+0.5 );
}
}
Expand Down

0 comments on commit 1e10ba4

Please sign in to comment.