#include <iostream>
#include <iomanip>
#include <fstream>
#include <memory>
#include <map>
#include "DataFormats/L1Trigger/interface/EGamma.h"
#include "DataFormats/L1Trigger/interface/Muon.h"
#include "DataFormats/L1Trigger/interface/Tau.h"
#include "DataFormats/L1Trigger/interface/Jet.h"
#include "DataFormats/L1Trigger/interface/EtSum.h"
#include "L1Trigger/L1TGlobal/src/L1TMenuEditor/L1TriggerMenu.hxx"
#include "FWCore/Utilities/interface/typedefs.h"
#include <boost/program_options.hpp>
#include "TH1.h"
#include "TFile.h"
Go to the source code of this file.
Macros | |
#define | M_PI 3.14159265358979323846 |
Functions | |
double | convertEtaFromHW (int hwEta, double max, double step, int hwMax) |
double | convertPhiFromHW (int hwPhi, double step) |
double | convertPtFromHW (int hwPt, double max, double step) |
int | main (int argc, char **argv) |
void | parseAlgo (std::string algo) |
void | parseEGs (std::vector< std::string > egs, bool verbose) |
void | parseEtSums (std::vector< std::string > etsums, bool verbose) |
void | parseJets (std::vector< std::string > jets, bool verbose) |
void | parseMuons (std::vector< std::string > muons, bool verbose) |
void | parseTaus (std::vector< std::string > taus, bool verbose) |
l1t::EGamma | unpackEGs (std::string ieg) |
l1t::EtSum | unpackEtSums (std::string ietsum, l1t::EtSum::EtSumType type) |
l1t::Jet | unpackJets (std::string ijet) |
l1t::Muon | unpackMuons (std::string imu) |
l1t::Tau | unpackTaus (std::string itau) |
Variables | |
double | EtaStepCalo_ = 230 |
double | EtaStepMuon_ = 450 |
TH1D * | h_l1eg_eta_ |
TH1D * | h_l1eg_isolation_ |
TH1D * | h_l1eg_num_ |
TH1D * | h_l1eg_phi_ |
TH1D * | h_l1eg_pt_ |
TH1D * | h_l1et_ |
TH1D * | h_l1etm_et_ |
TH1D * | h_l1etm_phi_ |
TH1D * | h_l1ht_ |
TH1D * | h_l1htm_et_ |
TH1D * | h_l1htm_phi_ |
TH1D * | h_l1jet_eta_ |
TH1D * | h_l1jet_num_ |
TH1D * | h_l1jet_phi_ |
TH1D * | h_l1jet_pt_ |
TH1D * | h_l1mu_charge_ |
TH1D * | h_l1mu_eta_ |
TH1D * | h_l1mu_isolation_ |
TH1D * | h_l1mu_num_ |
TH1D * | h_l1mu_phi_ |
TH1D * | h_l1mu_pt_ |
TH1D * | h_l1mu_quality_ |
TH1D * | h_l1tau_eta_ |
TH1D * | h_l1tau_isolation_ |
TH1D * | h_l1tau_num_ |
TH1D * | h_l1tau_phi_ |
TH1D * | h_l1tau_pt_ |
std::vector< int > | l1taccepts |
std::vector< int > | l1taccepts_evt |
std::vector< std::string > | l1tnames |
const int | MAX_ALGO_BITS = 512 |
double | MaxCaloEta_ = 5.0 |
double | MaxEt_ = 2047 |
double | MaxJetPt_ = 1023 |
double | MaxLepPt_ = 255 |
double | MaxMuonEta_ = 2.45 |
double | PhiStepCalo_ = 144 |
double | PhiStepMuon_ = 576 |
double | PtStep_ = 0.5 |
std::string | zeroes128 = std::string(128,'0') |
std::string | zeroes16 = std::string(16,'0') |
std::string | zeroes8 = std::string(8,'0') |
#define M_PI 3.14159265358979323846 |
Definition at line 25 of file readTestVector.cc.
Referenced by GflashTrajectory::_refreshCache(), reco::WMuNuCandidate::acop(), reco::WMuNuCandidatePtr::acop(), gen::Pythia6Gun::addAntiParticle(), fireworks::addCircle(), fireworks::addDashedLine(), fireworks::addDoubleLines(), ALIUtils::addPii(), OpticalObject::addPii(), PixelUnpackingRegions::addRegionLocal(), MuonCSCChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), heppy::FSRWeightAlgo::alphaRatio(), FSRWeightProducer::alphaRatio(), QcdHighPtDQM::analyze(), EwkMuDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), L1GctValidation::analyze(), CheckHitPattern::analyze(), TrackParameterAnalyzer::analyze(), DTTrigTest::analyze(), MuonGeometrySVGTemplate::analyze(), EcalSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), MuonDTDigis::analyze(), TestOutliers::analyze(), EcalDigisValidation::analyze(), FFTJetPileupAnalyzer::analyze(), L1TCSCTF::analyze(), MuonTrackValidator::analyze(), B2GDQM::analyzeAllHad(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), FWCaloDataHistProxyBuilder::assertCaloDataSlice(), myFastSimVal::beginJob(), JetPlotsExample< Jet >::beginJob(), JetValidation::beginJob(), JetAnaPythia< Jet >::beginJob(), PFTester::beginJob(), DijetMass< Jet >::beginJob(), PatTrackAnalyzer::beginJob(), WMuNuSelector::beginJob(), L1GctValidation::beginJob(), myJetAna::beginJob(), TrackParameterAnalyzer::beginJob(), MuonCSCSeedFromRecHits::bestEndcapHit(), AlignmentMonitorMuonSystemMap1D::book(), AlignmentMonitorGeneric::book(), QcdHighPtDQM::bookHistograms(), EwkMuDQM::bookHistograms(), L1TCSCTF::bookHistograms(), METAnalyzer::bookMonitorElement(), HiEvtPlaneFlatten::bounds(), HiEvtPlaneFlatten::bounds2(), BremsstrahlungSimulator::brem(), MuonBremsstrahlungSimulator::brem(), FWTauProxyBuilderBase::buildBaseTau(), FWECALDetailViewBuilder::buildCaloData(), FFTJetEFlowSmoother::buildKernelConvolver(), FFTJetPileupProcessor::buildKernelConvolver(), FFTJetPatRecoProducer::buildKernelConvolver(), KDTreeLinkerTrackEcal::buildTree(), KDTreeLinkerTrackHcal::buildTree(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), CSCSectorReceiverLUT::calcGlobalPhiME(), GsfVertexWeightCalculator::calculate(), TwoTrackMinimumDistanceHelixLine::calculate(), pat::CaloIsolationEnergy::calculate(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), ALIUtils::CalculateAngleDimensionFactorFromString(), DTTracoChip::calculateAngles(), JetPlusTrackProducerAA::calculateBGtracksJet(), TBPositionCalc::CalculateCMSPos(), CSCPairResidualsConstraint::calculatePhi(), CSCEfficiency::chamberCandidates(), AlignmentTwoBodyDecayTrackSelector::checkAcoplanarity(), HLTEgammaL1MatchFilterPairs::CheckL1Matching(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), ParticleKinematicLinearizedTrackState::checkParameters(), PerigeeMultiLTS::checkParameters(), PerigeeLinearizedTrackState::checkParameters(), PixelTripletLargeTipGenerator::checkPhiInRange(), MultiHitGeneratorFromChi2::checkPhiInRange(), PairProductionSimulator::compute(), HFShower::compute(), HDShower::compute(), EMShower::compute(), ParticleKinematicLinearizedTrackState::computeChargedJacobians(), PerigeeLinearizedTrackState::computeChargedJacobians(), GaussianSumUtilities1D::computeMode(), HFCherenkov::computeNbOfPhotons(), HFCherenkov::computeNPE(), HFCherenkov::computeNPEinPMT(), HFCherenkov::computeNPhTrapped(), DTDigitizer::computeTime(), EcalHitMaker::configureGeometry(), LaserAlignment::ConvertAngle(), convertPhiFromHW(), CordicXilinx::CordicXilinx(), JetPlusTrackCorrector::correctAA(), SiStripMonitorMuonHLT::createMEs(), CaloDetIdAssociator::crossedElement(), CSCOverlapsAlignmentAlgorithm::CSCOverlapsAlignmentAlgorithm(), MuonShowerInformationFiller::cscPositionToDets(), AntiElectronIDMVA5::dCrackPhi(), PhiScaleHelper::deg2rad(), degrees(), delPhi(), TtDilepLRSignalSelObservables::delta(), CachedTrajectory::delta(), reco::deltaPhi(), PFBenchmarkAlgo::deltaPhi(), HLTHemiDPhiFilter::deltaPhi(), CaloSubdetectorGeometry::deltaPhi(), L1MuonPixelTrackFitter::deltaPhi(), JetVertexMain::DeltaR(), PythiaFilterEMJetHeep::deltaR(), CalibratableTest::deltaR(), reco::deltaR2(), JetAnalyzer_HeavyIons_matching::deltaRR(), FFTJetProducer::determinePileup(), OpticalObject::diff2pi(), pat::helper::ParametrizationHelper::diffToParameters(), reco::isodeposit::Direction::Direction(), MuonSeedOrcaPatternRecognition::discriminator(), L1MuGMTPhiLUT::dphi(), IsoTrig::dPhi(), CSCPairResidualsConstraint::dphidzFromTrack(), TrackerMap::drawModule(), MuonShowerInformationFiller::dtPositionToDets(), ALIUtils::dumpDimensions(), EcalTrapezoidParameters::EcalTrapezoidParameters(), L1CaloGeometry::emJetPhiIndex(), CordicXilinx::encodeAngle(), OpticalObject::eq2ang(), LandauFluctuationGenerator::ersatzt(), L1CaloGeometry::etSumPhiIndex(), AlignmentMonitorTracksFromTrajectories::event(), KinematicPerigeeConversions::extendedPerigeeFromKinematicParameters(), HcalDDDGeometryLoader::fill(), MTVHistoProducerAlgoForTracker::fill_ResoAndPull_recoTrack_histos(), FWECALDetailViewBuilder::fillData(), MaterialBudgetEcalHistos::fillEndTrack(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), ApeEstimator::fillHistsForAnalyzerMode(), ApeEstimator::fillHitHistsXForAnalyzerMode(), ApeEstimator::fillHitHistsYForAnalyzerMode(), cms::PileupJPTJetIdAlgo::fillJPTBlock(), ColinearityKinematicConstraintT< Dim >::fillValue(), PFFilter::filter(), PFMETFilter::filter(), WMuNuValidator::filter(), ThirdHitPrediction::findArcIntersection(), EgammaHLTTrackIsolation::findIsoTracks(), EgammaHLTTrackIsolation::findIsoTracksWithoutEle(), L1GctMet::floatingPointAlgo(), PerigeeConversions::ftsToPerigeeParameters(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), PairProductionSimulator::gbteth(), BremsstrahlungSimulator::gbteth(), MuonBremsstrahlungSimulator::gbteth(), gen::Pythia6JetGun::generateEvent(), gen::Pythia6PtYDistGun::generateEvent(), gen::Py8JetGun::generatePartonsAndHadronize(), LaserBeamsBarrel::GeneratePrimaries(), LaserBeamsTEC2::GeneratePrimaries(), LaserBeamsTEC1::GeneratePrimaries(), HcalGeometry::getCells(), EcalEndcapGeometry::getCells(), CaloSubdetectorGeometry::getCells(), EcalBarrelGeometry::getCells(), TrackFitter::getCharge(), HcalDDDGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), RPCSeedrecHitFinder::getdeltaPhifromrecHits(), DetIdAssociator::getDetIdsCloseToAPoint(), DetIdAssociator::getDetIdsInACone(), FittedEntriesManager::GetDifferentBetweenLasers(), ALIUtils::getDimensionValue(), IsoTrig::getDistInCM(), CastorSD::getEnergyDeposit(), EcalClusterToolsT< noZS >::getEnergyDepTopology(), IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal(), IsoTrig::GetEtaPhiAtEcal(), NtupleManager::GetGlobalAngles(), CSCSectorReceiverLUT::getGlobalPhiValue(), GflashTrajectory::getL2DAtR(), CocoaDBMgr::GetOptAlignInfoFromOptO(), fireworks::getPhiRange(), getPhysicalPhi(), ThirdHitPrediction::getRanges(), CastorShowerLibrary::getShowerHits(), CachedTrajectory::getWideTrajectory(), HcalFlexiHardcodeGeometryLoader::HcalFlexiHardcodeGeometryLoader(), HDRShower::HDRShower(), helicityAngle(), HerwigMaxPtPartonFilter::HerwigMaxPtPartonFilter(), MultiHitGeneratorFromChi2::hitSets(), PixelTripletNoTipGenerator::hitTriplets(), HLTPhi2METFilter::hltFilter(), HLTEgammaDoubleEtDeltaPhiFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), HLTMuonDimuonL2Filter::hltFilter(), HLTExclDiJetFilter< T >::hltFilter(), HLTEgammaDoubleEtPhiFilter::hltFilter(), HLTAcoFilter::hltFilter(), HLTDoublet< T1, T2 >::hltFilter(), L1CaloGeometry::htSumPhiIndex(), WMuNuValidator::init_histograms(), GflashTrajectory::initializeTrajectory(), int2dphi(), int2phi(), reco::helper::VirtualJetProducerHelper::intersection(), DetIdAssociator::iPhi(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), pat::helper::ParametrizationHelper::isPhysical(), PerigeeConversions::jacobianCurvilinear2Perigee(), jacobianCurvilinearToCartesian(), PerigeeConversions::jacobianPerigee2Curvilinear(), GlobalTrackQualityProducer::kink(), L1CaloGeometry::L1CaloGeometry(), reco::GsfTrack::lambdaMode(), VoronoiAlgorithm::lp_populate(), main(), CaloTowerHardcodeGeometryLoader::makeCell(), CastorHardcodeGeometryLoader::makeCell(), HcalHardcodeGeometryLoader::makeCell(), HFClusterAlgo::makeCluster(), Multi5x5BremRecoveryClusterAlgo::makeIslandSuperClusters(), fireworks::makeRhoPhiSuperCluster(), TrackParameterAnalyzer::match(), ThirdHitPredictionFromCircle::HelixRZ::maxCurvature(), OuterDetCompatibility::maximalLocalDisplacement(), PixelTripletLargeTipGenerator::mergePhiRanges(), MultiHitGeneratorFromChi2::mergePhiRanges(), MuonDT13ChamberResidual::MuonDT13ChamberResidual(), MuonResidualsFitter_compute_log_convolution(), MuonResidualsFitter_logGaussPowerTails(), MuonResidualsFitter_logPowerLawTails(), MuonResidualsFitter_logPureGaussian(), MuonResidualsFitter_logPureGaussian2D(), MuonTrackDT13ChamberResidual::MuonTrackDT13ChamberResidual(), AntiElectronIDMVA5::MVAValue(), SiPixelFedCablingMapBuilder::myprint(), DetIdAssociator::nearElement(), BeamProfileVtxGenerator::newVertex(), normalizedPhi(), SiStripMonitorMuonHLT::Normalizer(), SiStripElectronSeedGenerator::normalPhi(), fftjetcms::JetToPeakDistance::operator()(), fftjetcms::JetConvergenceDistance::operator()(), TtDilepLRSignalSelObservables::operator()(), ThirdHitPredictionFromCircle::operator()(), OuterHitPhiPrediction::operator()(), operator<<(), ThirdHitPredictionFromCircle::phi(), phi2int(), phi2short(), Phi_0_2pi(), JetUtil::Phi_0_2pi(), Phi_mpi_pi(), JetUtil::Phi_mpi_pi(), reco::helper::CastorJetIDHelper::phiangle(), CastorClusterProducer::phiangle(), pat::PackedCandidate::phiAtVtx(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), HcalGeometry::phiBin(), SiStripElectronSeedGenerator::phiDiff(), hitfit::phidiff(), InnerDeltaPhi::phiRange(), TrackerMap::phival(), L1MuDTTrackSegPhi::phiValue(), SiStripRegionCabling::position(), SiStripRegionCabling::positionIndex(), hcalCalib::Process(), l1t::Stage2Layer2JetSumAlgorithmFirmwareImp1::processEvent(), l1t::Stage2Layer2EtSumAlgorithmFirmwareImp1::processEvent(), AlignmentMonitorMuonSystemMap1D::processMuonResidualsFromTrack(), CastorFastTowerProducer::produce(), DuplicateTrackMerger::produce(), FFTJetEFlowSmoother::produce(), JetPlusTrackProducerAA::produce(), JetCrystalsAssociator::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), BaseParticlePropagator::propagate(), spr::propagateCalo(), FastPixelHitMatcher::propagateToLayer(), cms::MuonTCMETValueMapProducer::propagateTrack(), spr::propagateTrackerEnd(), TCMETAlgo::propagateTrackToCalorimeterFace(), PhiScaleHelper::rad2deg(), radiants(), radius(), JetUtil::radius(), CSCChamberFitter::radiusCorrection(), ThirdHitPredictionFromCircle::HelixRZ::rAtZ(), SimG4HcalHitJetFinder::rDist(), CSCEfficiency::recHitSegment_Efficiencies(), SoftLepton::refineJetAxis(), ParticleKinematicLinearizedTrackState::refittedParamFromEquation(), PerigeeMultiLTS::refittedParamFromEquation(), PerigeeLinearizedTrackState::refittedParamFromEquation(), SiStripRegionCabling::regionDimensions(), CastorSD::rotateUnitID(), RecoTracktoTP::s_lambda(), TPtoRecoTrack::s_lambda(), KDTreeLinkerTrackEcal::searchLinks(), KDTreeLinkerTrackHcal::searchLinks(), MuonIdProducer::sectorPhi(), SeedMultiplicityAnalyzer::SeedMultiplicityAnalyzer(), CastorShowerLibrary::select(), PFElectronAlgo::SetCandidates(), HDRShower::setHit(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), SimpleL1MuGMTCand::setPhi(), HFClusterAlgo::setup(), GenericBenchmark::setup(), short2phi(), WeakEffectsWeightProducer::sigma0_qqbarll(), HelixExtrapolatorToLine2Order::solve3rdOrder(), spin(), ThirdHitPrediction::spinCloser(), l1t::Stage1Layer2EtSumAlgorithmImpHI::Stage1Layer2EtSumAlgorithmImpHI(), l1t::Stage1Layer2EtSumAlgorithmImpHW::Stage1Layer2EtSumAlgorithmImpHW(), VoronoiAlgorithm::subtract_momentum(), LinkByRecHit::testTrackAndClusterByRecHit(), L1MuGMTLFPhiProLUT::TheLookupFunction(), L1MuGMTMIAUPhiPro1LUT::TheLookupFunction(), reco::IsolatedPixelTrackCandidate::towerIndex(), l1t::CaloTools::towerPhiSize(), TrackCount::TrackCount(), TrackerStablePhiSort(), TtFullHadSignalSel::TtFullHadSignalSel(), HcalNumberingFromDDD::unitPhi(), SiStripElectronAnalyzer::unwrapPhi(), SiStripElectronSeedGenerator::unwrapPhi(), SiStripElectronAlgo::unwrapPhi(), LaserSteppingAction::UserSteppingAction(), ColinearityKinematicConstraint::value(), L1GctHtMissLut::value(), PuppiContainer::var_within_R(), reco::isodeposit::NumCrystalEtaPhiVeto::veto(), reco::isodeposit::RectangularEtaPhiVeto::veto(), VoronoiAlgorithm::voronoi_area_incident(), and VirtualJetProducer::writeJets().
double convertEtaFromHW | ( | int | hwEta, |
double | max, | ||
double | step, | ||
int | hwMax | ||
) |
Definition at line 592 of file readTestVector.cc.
References eta, and relval_parameters_module::step.
Referenced by parseEGs(), parseJets(), parseMuons(), and parseTaus().
double convertPhiFromHW | ( | int | hwPhi, |
double | step | ||
) |
Definition at line 598 of file readTestVector.cc.
Referenced by parseEGs(), parseEtSums(), parseJets(), parseMuons(), and parseTaus().
double convertPtFromHW | ( | int | hwPt, |
double | max, | ||
double | step | ||
) |
Definition at line 586 of file readTestVector.cc.
References bookConverter::max, EnergyCorrector::pt, and relval_parameters_module::step.
Referenced by parseEGs(), parseEtSums(), parseJets(), parseMuons(), and parseTaus().
int main | ( | int | argc, |
char ** | argv | ||
) |
Setup histograms
Definition at line 105 of file readTestVector.cc.
References HLT_25ns14e33_v1_cff::algorithm, gather_cfg::cout, EtaStepCalo_, EtaStepMuon_, cppFunctionSkipper::exception, mergeVDriftHistosByStation::file, groupFilesInBlocks::fin, h_l1eg_eta_, h_l1eg_isolation_, h_l1eg_num_, h_l1eg_phi_, h_l1eg_pt_, h_l1et_, h_l1etm_et_, h_l1etm_phi_, h_l1ht_, h_l1htm_et_, h_l1htm_phi_, h_l1jet_eta_, h_l1jet_num_, h_l1jet_phi_, h_l1jet_pt_, h_l1mu_charge_, h_l1mu_eta_, h_l1mu_isolation_, h_l1mu_num_, h_l1mu_phi_, h_l1mu_pt_, h_l1mu_quality_, h_l1tau_eta_, h_l1tau_isolation_, h_l1tau_num_, h_l1tau_phi_, h_l1tau_pt_, jetmet_cfg::histofile, i, cmsHarvester::index, metsig::jet, l1taccepts, l1taccepts_evt, l1tnames, geometryCSVtoXML::line, M_PI, MAX_ALGO_BITS, MaxCaloEta_, MaxEt_, Data_TkAlMuonIsolated_Run2015B_PromptReco_v1_cff::maxEvents, MaxJetPt_, MaxLepPt_, MaxMuonEta_, RPCpg::mu, mergeVDriftHistosByStation::name, NULL, AlCaHLTBitMon_ParallelJobs::options, convertSQLitetoXML_cfg::output, parseAlgo(), parseEGs(), parseEtSums(), parseJets(), parseMuons(), parseTaus(), PhiStepCalo_, PhiStepMuon_, PtStep_, insertMaterial::readXML(), DTTTrigCorrFirst::run, AlCaHLTBitMon_QueryRunRegistry::string, and metsig::tau.
void parseAlgo | ( | std::string | algo | ) |
Definition at line 471 of file readTestVector.cc.
References accept(), i, recoMuon::in, l1taccepts, l1taccepts_evt, MAX_ALGO_BITS, alignCSCRings::s, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and zeroes128.
Referenced by main().
void parseEGs | ( | std::vector< std::string > | egs, |
bool | verbose | ||
) |
Definition at line 351 of file readTestVector.cc.
References convertEtaFromHW(), convertPhiFromHW(), convertPtFromHW(), eta, EtaStepCalo_, h_l1eg_eta_, h_l1eg_isolation_, h_l1eg_num_, h_l1eg_phi_, h_l1eg_pt_, l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), i, MaxCaloEta_, MaxLepPt_, phi(), PhiStepCalo_, EnergyCorrector::pt, PtStep_, AlCaHLTBitMon_QueryRunRegistry::string, unpackEGs(), and zeroes8.
Referenced by main().
void parseEtSums | ( | std::vector< std::string > | etsums, |
bool | verbose | ||
) |
Definition at line 425 of file readTestVector.cc.
References convertPhiFromHW(), convertPtFromHW(), h_l1et_, h_l1etm_et_, h_l1etm_phi_, h_l1ht_, h_l1htm_et_, h_l1htm_phi_, l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), MaxEt_, phi(), PhiStepCalo_, EnergyCorrector::pt, PtStep_, AlCaHLTBitMon_QueryRunRegistry::string, unpackEtSums(), and zeroes8.
Referenced by main().
void parseJets | ( | std::vector< std::string > | jets, |
bool | verbose | ||
) |
Definition at line 401 of file readTestVector.cc.
References convertEtaFromHW(), convertPhiFromHW(), convertPtFromHW(), eta, EtaStepCalo_, h_l1jet_eta_, h_l1jet_num_, h_l1jet_phi_, h_l1jet_pt_, l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), i, metsig::jet, MaxCaloEta_, MaxJetPt_, njet, phi(), PhiStepCalo_, EnergyCorrector::pt, PtStep_, AlCaHLTBitMon_QueryRunRegistry::string, unpackJets(), and zeroes8.
Referenced by main().
void parseMuons | ( | std::vector< std::string > | muons, |
bool | verbose | ||
) |
Definition at line 318 of file readTestVector.cc.
References RecoTauCleanerPlugins::charge, convertEtaFromHW(), convertPhiFromHW(), convertPtFromHW(), eta, EtaStepMuon_, h_l1mu_charge_, h_l1mu_eta_, h_l1mu_isolation_, h_l1mu_num_, h_l1mu_phi_, h_l1mu_pt_, h_l1mu_quality_, l1t::Muon::hwCharge(), l1t::Muon::hwChargeValid(), l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), l1t::L1Candidate::hwQual(), i, MaxLepPt_, MaxMuonEta_, RPCpg::mu, phi(), PhiStepMuon_, EnergyCorrector::pt, PtStep_, AlCaHLTBitMon_QueryRunRegistry::string, unpackMuons(), and zeroes16.
Referenced by main().
void parseTaus | ( | std::vector< std::string > | taus, |
bool | verbose | ||
) |
Definition at line 376 of file readTestVector.cc.
References convertEtaFromHW(), convertPhiFromHW(), convertPtFromHW(), eta, EtaStepCalo_, h_l1tau_eta_, h_l1tau_isolation_, h_l1tau_num_, h_l1tau_phi_, h_l1tau_pt_, l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwIso(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), i, MaxCaloEta_, MaxLepPt_, phi(), PhiStepCalo_, EnergyCorrector::pt, PtStep_, AlCaHLTBitMon_QueryRunRegistry::string, metsig::tau, unpackTaus(), and zeroes8.
Referenced by main().
l1t::EGamma unpackEGs | ( | std::string | ieg | ) |
Definition at line 520 of file readTestVector.cc.
References eta, p4, phi(), and EnergyCorrector::pt.
Referenced by parseEGs().
l1t::EtSum unpackEtSums | ( | std::string | ietsum, |
l1t::EtSum::EtSumType | type | ||
) |
Definition at line 569 of file readTestVector.cc.
References p4, phi(), and EnergyCorrector::pt.
Referenced by parseEtSums().
l1t::Jet unpackJets | ( | std::string | ijet | ) |
Definition at line 553 of file readTestVector.cc.
References eta, metsig::jet, p4, phi(), and EnergyCorrector::pt.
Referenced by parseJets().
l1t::Muon unpackMuons | ( | std::string | imu | ) |
Definition at line 499 of file readTestVector.cc.
References RecoTauCleanerPlugins::charge, eta, RPCpg::mu, p4, phi(), EnergyCorrector::pt, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by parseMuons().
l1t::Tau unpackTaus | ( | std::string | itau | ) |
Definition at line 536 of file readTestVector.cc.
References eta, p4, phi(), EnergyCorrector::pt, and metsig::tau.
Referenced by parseTaus().
double EtaStepCalo_ = 230 |
Definition at line 98 of file readTestVector.cc.
Referenced by main(), parseEGs(), parseJets(), parseTaus(), and l1t::GenToInputProducer::produce().
double EtaStepMuon_ = 450 |
Definition at line 99 of file readTestVector.cc.
Referenced by main(), parseMuons(), and l1t::GenToInputProducer::produce().
TH1D* h_l1eg_eta_ |
Definition at line 69 of file readTestVector.cc.
Referenced by main(), and parseEGs().
TH1D* h_l1eg_isolation_ |
Definition at line 71 of file readTestVector.cc.
Referenced by main(), and parseEGs().
TH1D* h_l1eg_num_ |
Definition at line 72 of file readTestVector.cc.
Referenced by main(), and parseEGs().
TH1D* h_l1eg_phi_ |
Definition at line 70 of file readTestVector.cc.
Referenced by main(), and parseEGs().
TH1D* h_l1eg_pt_ |
Definition at line 68 of file readTestVector.cc.
Referenced by main(), and parseEGs().
TH1D* h_l1et_ |
Definition at line 81 of file readTestVector.cc.
Referenced by main(), and parseEtSums().
TH1D* h_l1etm_et_ |
Definition at line 83 of file readTestVector.cc.
Referenced by main(), and parseEtSums().
TH1D* h_l1etm_phi_ |
Definition at line 85 of file readTestVector.cc.
Referenced by main(), and parseEtSums().
TH1D* h_l1ht_ |
Definition at line 80 of file readTestVector.cc.
Referenced by main(), and parseEtSums().
TH1D* h_l1htm_et_ |
Definition at line 82 of file readTestVector.cc.
Referenced by main(), and parseEtSums().
TH1D* h_l1htm_phi_ |
Definition at line 84 of file readTestVector.cc.
Referenced by main(), and parseEtSums().
TH1D* h_l1jet_eta_ |
Definition at line 64 of file readTestVector.cc.
Referenced by main(), and parseJets().
TH1D* h_l1jet_num_ |
Definition at line 66 of file readTestVector.cc.
Referenced by main(), and parseJets().
TH1D* h_l1jet_phi_ |
Definition at line 65 of file readTestVector.cc.
Referenced by main(), and parseJets().
TH1D* h_l1jet_pt_ |
Definition at line 63 of file readTestVector.cc.
Referenced by main(), and parseJets().
TH1D* h_l1mu_charge_ |
Definition at line 58 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1mu_eta_ |
Definition at line 56 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1mu_isolation_ |
Definition at line 60 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1mu_num_ |
Definition at line 61 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1mu_phi_ |
Definition at line 57 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1mu_pt_ |
Definition at line 55 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1mu_quality_ |
Definition at line 59 of file readTestVector.cc.
Referenced by main(), and parseMuons().
TH1D* h_l1tau_eta_ |
Definition at line 75 of file readTestVector.cc.
Referenced by main(), and parseTaus().
TH1D* h_l1tau_isolation_ |
Definition at line 77 of file readTestVector.cc.
Referenced by main(), and parseTaus().
TH1D* h_l1tau_num_ |
Definition at line 78 of file readTestVector.cc.
Referenced by main(), and parseTaus().
TH1D* h_l1tau_phi_ |
Definition at line 76 of file readTestVector.cc.
Referenced by main(), and parseTaus().
TH1D* h_l1tau_pt_ |
Definition at line 74 of file readTestVector.cc.
Referenced by main(), and parseTaus().
std::vector<int> l1taccepts |
Definition at line 32 of file readTestVector.cc.
Referenced by main(), and parseAlgo().
std::vector<int> l1taccepts_evt |
Definition at line 34 of file readTestVector.cc.
Referenced by main(), and parseAlgo().
std::vector<std::string> l1tnames |
Definition at line 33 of file readTestVector.cc.
Referenced by main().
const int MAX_ALGO_BITS = 512 |
Definition at line 22 of file readTestVector.cc.
Referenced by main(), and parseAlgo().
double MaxCaloEta_ = 5.0 |
Definition at line 92 of file readTestVector.cc.
Referenced by main(), parseEGs(), parseJets(), parseTaus(), and l1t::GenToInputProducer::produce().
double MaxEt_ = 2047 |
Definition at line 90 of file readTestVector.cc.
Referenced by main(), parseEtSums(), and l1t::GenToInputProducer::produce().
double MaxJetPt_ = 1023 |
Definition at line 89 of file readTestVector.cc.
Referenced by main(), parseJets(), and l1t::GenToInputProducer::produce().
double MaxLepPt_ = 255 |
Definition at line 88 of file readTestVector.cc.
Referenced by main(), parseEGs(), parseMuons(), parseTaus(), and l1t::GenToInputProducer::produce().
double MaxMuonEta_ = 2.45 |
Definition at line 93 of file readTestVector.cc.
Referenced by main(), parseMuons(), and l1t::GenToInputProducer::produce().
double PhiStepCalo_ = 144 |
Definition at line 95 of file readTestVector.cc.
Referenced by main(), parseEGs(), parseEtSums(), parseJets(), parseTaus(), and l1t::GenToInputProducer::produce().
double PhiStepMuon_ = 576 |
Definition at line 96 of file readTestVector.cc.
Referenced by main(), parseMuons(), and l1t::GenToInputProducer::produce().
double PtStep_ = 0.5 |
Definition at line 101 of file readTestVector.cc.
Referenced by main(), parseEGs(), parseEtSums(), parseJets(), parseMuons(), parseTaus(), and l1t::GenToInputProducer::produce().
std::string zeroes128 = std::string(128,'0') |
Definition at line 28 of file readTestVector.cc.
Referenced by parseAlgo().
std::string zeroes16 = std::string(16,'0') |
Definition at line 29 of file readTestVector.cc.
Referenced by parseMuons().
std::string zeroes8 = std::string(8,'0') |
Definition at line 30 of file readTestVector.cc.
Referenced by parseEGs(), parseEtSums(), parseJets(), and parseTaus().