668 |
|
lReco.vy = (*iter).vy(); |
669 |
|
lReco.vz = (*iter).vz(); |
670 |
|
lReco.hltMatch = (*iter).triggerObjectMatches().size(); |
671 |
< |
|
672 |
< |
HbbAnalysis::SCVars lSC; |
671 |
> |
|
672 |
> |
//TESTING CODE |
673 |
> |
/* |
674 |
> |
std::cout << "-----------------------------------------------" << std::endl; |
675 |
> |
std::cout << "Electron: " << iEle << std::endl; |
676 |
> |
std::cout << "--Found " << (*iter).triggerObjectMatches().size() << " matched trigger objects" << std::endl; |
677 |
> |
for (unsigned i = 0; i < (*iter).triggerObjectMatches().size(); ++i){ |
678 |
> |
std::vector<std::string> HLTpathNames = (*iter).triggerObjectMatches().at(i).pathNames(1); |
679 |
> |
std::cout << "---HLT Path Names:" << std::endl; |
680 |
> |
for (unsigned j = 0; j < HLTpathNames.size(); ++j){ |
681 |
> |
std::cout << "----" << HLTpathNames.at(j) << std::endl; |
682 |
> |
} |
683 |
> |
std::vector<std::string> HLTfilterLabels = (*iter).triggerObjectMatches().at(i).filterLabels(); |
684 |
> |
std::cout << "---HLT FilterLabels:" << std::endl; |
685 |
> |
for (unsigned j = 0; j < HLTfilterLabels.size(); ++j){ |
686 |
> |
std::cout << "----" << HLTfilterLabels.at(j) << std::endl; |
687 |
> |
} |
688 |
> |
} |
689 |
> |
*/ |
690 |
> |
|
691 |
> |
|
692 |
> |
HbbAnalysis::SCVars lSC; |
693 |
|
if ( (*iter).superCluster().isAvailable() && (*iter).superCluster().isNonnull() ) |
694 |
|
lSC.eta = (*iter).superCluster()->eta(); |
695 |
|
else lSC.eta = lReco.eta; |
794 |
|
lReco.vz = (*iter).vz(); |
795 |
|
lReco.hltMatch = (*iter).triggerObjectMatches().size(); |
796 |
|
|
797 |
< |
HbbAnalysis::MuTrkVars lTrk; |
797 |
> |
//TESTING CODE |
798 |
> |
/* |
799 |
> |
std::cout << "-----------------------------------------------" << std::endl; |
800 |
> |
std::cout << "Muon: " << iEle << std::endl; |
801 |
> |
std::cout << "--Found " << (*iter).triggerObjectMatches().size() << " matched trigger objects" << std::endl; |
802 |
> |
for (unsigned i = 0; i < (*iter).triggerObjectMatches().size(); ++i){ |
803 |
> |
std::vector<std::string> HLTpathNames = (*iter).triggerObjectMatches().at(i).pathNames(1); |
804 |
> |
std::cout << "---HLT Path Names:" << std::endl; |
805 |
> |
for (unsigned j = 0; j < HLTpathNames.size(); ++j){ |
806 |
> |
std::cout << "----" << HLTpathNames.at(j) << std::endl; |
807 |
> |
} |
808 |
> |
std::vector<std::string> HLTfilterLabels = (*iter).triggerObjectMatches().at(i).filterLabels(); |
809 |
> |
std::cout << "---HLT FilterLabels:" << std::endl; |
810 |
> |
for (unsigned j = 0; j < HLTfilterLabels.size(); ++j){ |
811 |
> |
std::cout << "----" << HLTfilterLabels.at(j) << std::endl; |
812 |
> |
} |
813 |
> |
} |
814 |
> |
*/ |
815 |
> |
|
816 |
> |
|
817 |
> |
HbbAnalysis::MuTrkVars lTrk; |
818 |
|
reco::TrackRef glmuon = recoMuon->globalTrack(); |
819 |
|
reco::TrackRef tkmuon = recoMuon->innerTrack(); |
820 |
|
|
1677 |
|
|
1678 |
|
//for (unsigned int j=0; j<hltPaths_.size(); j++) { |
1679 |
|
//bool valid=false; |
1680 |
+ |
/*TESTING |
1681 |
+ |
std::cout << "-Event Trigger List" << std::endl; |
1682 |
|
for (unsigned int i=0; i<aCol->size(); ++i){ |
1683 |
|
std::string trueName = aNames.triggerName(i);//.at(i); |
1684 |
< |
|
1684 |
> |
//if (aCol->accept(i)){ |
1685 |
> |
std::cout << "--" << trueName << "(" << aCol->accept(i) << ")" << std::endl; |
1686 |
> |
//} |
1687 |
> |
*/ |
1688 |
|
HbbAnalysis::TriggerVars lTrigVars; |
1689 |
|
lTrigVars.name = trueName; |
1690 |
|
lTrigVars.index = i; |