CMS 3D CMS Logo

Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes

HLTAnalyzer Class Reference

#include <HLTAnalyzer.h>

Inheritance diagram for HLTAnalyzer:
edm::EDAnalyzer

List of all members.

Public Member Functions

virtual void analyze (edm::Event const &e, edm::EventSetup const &iSetup)
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
virtual void endJob ()
 HLTAnalyzer (edm::ParameterSet const &conf)

Public Attributes

TTree * HltTree

Static Private Member Functions

static int errMax ()

Private Attributes

double _EtaMax
double _EtaMin
std::string _HistName
double _MinPtChargedHadrons
double _MinPtGammas
edm::InputTag ActivityEcalIso_
edm::InputTag ActivityHcalIso_
edm::InputTag ActivityHoverEH_
edm::InputTag ActivityR9_
edm::InputTag ActivityR9ID_
edm::InputTag ActivityTrackIso_
HLTBJet bjet_analysis_
edm::InputTag calotowers_
edm::InputTag calotowersLowerR45_
edm::InputTag calotowersNoR45_
edm::InputTag calotowersUpperR45_
edm::InputTag CandIso_
edm::InputTag CandNonIso_
edm::InputTag DiMuVtx_
edm::InputTag ECALActivity_
edm::InputTag EcalIso_
edm::InputTag EcalNonIso_
edm::InputTag Electron_
HLTEgamma elm_analysis_
int errCnt
EventHeader evt_header_
 Default analyses.
double filterEff_
int firstLumi_
edm::InputTag gctBitCounts_
edm::InputTag gctRingSums_
edm::InputTag genEventInfo_
edm::InputTag genjets_
edm::InputTag genmet_
edm::InputTag gtObjectMap_
edm::InputTag gtReadoutRecord_
edm::InputTag HcalIsoPho_
edm::InputTag HcalNonIsoPho_
edm::InputTag HFECALClusters_
edm::InputTag HFElectrons_
HLTInfo hlt_analysis_
edm::InputTag hltcorjets_
edm::InputTag hltcorL1L2L3jets_
edm::InputTag hltjets_
edm::InputTag hltresults_
edm::InputTag HLTTau_
edm::InputTag ht_
edm::InputTag IsoElectron_
edm::InputTag IsoEleHcal_
edm::InputTag IsoEleTrackIsol_
edm::InputTag IsoHoverEH_
edm::InputTag IsoPhoTrackIsol_
edm::InputTag IsoPixelTrackTagL2_
edm::InputTag IsoPixelTrackTagL3_
edm::InputTag IsoPixelTrackVerticesTag_
edm::InputTag IsoR9_
edm::InputTag IsoR9ID_
HLTJets jet_analysis_
std::string l1extramc_
std::string l1extramu_
edm::InputTag L1IsoPixelSeeds_
edm::InputTag L1NonIsoPixelSeeds_
edm::InputTag L2Tau_
int lastLumi_
edm::InputTag m_correctedBJets
edm::InputTag m_correctedBJetsL1FastJet
TFile * m_file
edm::InputTag m_l1extraemi
edm::InputTag m_l1extraemn
edm::InputTag m_l1extrajet
edm::InputTag m_l1extrajetc
edm::InputTag m_l1extrajetf
edm::InputTag m_l1extramet
edm::InputTag m_l1extramht
edm::InputTag m_l1extramu
edm::InputTag m_l1extrataujet
edm::InputTag m_lifetimeBJetsL25
edm::InputTag m_lifetimeBJetsL25L1FastJet
edm::InputTag m_lifetimeBJetsL25SingleTrack
edm::InputTag m_lifetimeBJetsL25SingleTrackL1FastJet
edm::InputTag m_lifetimeBJetsL3
edm::InputTag m_lifetimeBJetsL3L1FastJet
edm::InputTag m_lifetimeBJetsL3SingleTrack
edm::InputTag m_lifetimeBJetsL3SingleTrackL1FastJet
edm::InputTag m_lifetimePFBJetsL3
edm::InputTag m_performanceBJetsL25
edm::InputTag m_performanceBJetsL25L1FastJet
edm::InputTag m_performanceBJetsL3
edm::InputTag m_performanceBJetsL3L1FastJet
edm::InputTag m_pfBJets
edm::InputTag m_rawBJets
HLTMCtruth mct_analysis_
edm::InputTag mctruth_
edm::InputTag MuCandTag2_
edm::InputTag MuCandTag3_
edm::InputTag MuIsolTag2_
edm::InputTag MuIsolTag3_
edm::InputTag MuNoVtxCandTag2_
edm::InputTag muon_
HLTMuon muon_analysis_
edm::InputTag MuTrkIsolTag3_
edm::InputTag NonIsoElectron_
edm::InputTag NonIsoEleHcal_
edm::InputTag NonIsoEleTrackIsol_
edm::InputTag NonIsoHoverEH_
edm::InputTag NonIsoPhoTrackIsol_
edm::InputTag NonIsoR9_
edm::InputTag NonIsoR9ID_
edm::InputTag oniaPixelTag_
edm::InputTag oniaTrackTag_
edm::InputTag particleMapSource_
edm::InputTag PFJets_
edm::InputTag pfmuon_
edm::InputTag PFTau_
edm::InputTag PFTauTightCone_
edm::InputTag Photon_
edm::InputTag PixelClustersTag_
edm::InputTag PixelFEDSizeTag_
edm::InputTag PixelTracksTagL3_
edm::InputTag reccorjets_
edm::InputTag recjets_
edm::InputTag recmet_
edm::InputTag recoPFJets_
edm::InputTag recoPFMet_
edm::InputTag RecoPFTau_
edm::InputTag RecoPFTauAgainstElec_
edm::InputTag RecoPFTauAgainstMuon_
edm::InputTag RecoPFTauDiscrByIso_
edm::InputTag RecoPFTauDiscrByTanCHalfPercent_
edm::InputTag RecoPFTauDiscrByTanCOnePercent_
edm::InputTag RecoPFTauDiscrByTanCQuarterPercent_
edm::InputTag RecoPFTauDiscrByTanCTenthPercent_
edm::InputTag rho_
edm::InputTag simhits_
int towerThreshold_
HLTTrack track_analysis_
edm::InputTag TrackerMuonTag_
double treeWeight
edm::InputTag VertexTagHLT_
edm::InputTag VertexTagOffline0_
RECOVertex vrt_analysisHLT_
RECOVertex vrt_analysisOffline0_
double xSection_

Detailed Description

$Date: November 2006 $Revision:

Author:
P. Bargassa - Rice U.

Definition at line 47 of file HLTAnalyzer.h.


Constructor & Destructor Documentation

HLTAnalyzer::HLTAnalyzer ( edm::ParameterSet const &  conf) [explicit]

Definition at line 27 of file HLTAnalyzer.cc.

References _EtaMax, _EtaMin, _HistName, _MinPtChargedHadrons, _MinPtGammas, ActivityEcalIso_, ActivityHcalIso_, ActivityHoverEH_, ActivityR9_, ActivityR9ID_, ActivityTrackIso_, bjet_analysis_, calotowers_, calotowersLowerR45_, calotowersNoR45_, calotowersUpperR45_, CandIso_, CandNonIso_, gather_cfg::cout, DiMuVtx_, ECALActivity_, EcalIso_, EcalNonIso_, Electron_, elm_analysis_, errCnt, evt_header_, filterEff_, firstLumi_, gctBitCounts_, gctRingSums_, genEventInfo_, genjets_, genmet_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), gtReadoutRecord_, HcalIsoPho_, HcalNonIsoPho_, HFECALClusters_, HFElectrons_, hlt_analysis_, hltcorjets_, hltcorL1L2L3jets_, hltjets_, hltresults_, HLTTau_, HltTree, ht_, IsoElectron_, IsoEleHcal_, IsoEleTrackIsol_, IsoHoverEH_, IsoPhoTrackIsol_, IsoR9_, IsoR9ID_, jet_analysis_, l1extramc_, l1extramu_, L1IsoPixelSeeds_, L1NonIsoPixelSeeds_, L2Tau_, edm::InputTag::label(), lastLumi_, m_correctedBJets, m_correctedBJetsL1FastJet, m_file, m_l1extraemi, m_l1extraemn, m_l1extrajet, m_l1extrajetc, m_l1extrajetf, m_l1extramet, m_l1extramht, m_l1extramu, m_l1extrataujet, m_lifetimeBJetsL25, m_lifetimeBJetsL25L1FastJet, m_lifetimeBJetsL25SingleTrack, m_lifetimeBJetsL25SingleTrackL1FastJet, m_lifetimeBJetsL3, m_lifetimeBJetsL3L1FastJet, m_lifetimeBJetsL3SingleTrack, m_lifetimeBJetsL3SingleTrackL1FastJet, m_lifetimePFBJetsL3, m_performanceBJetsL25, m_performanceBJetsL25L1FastJet, m_performanceBJetsL3, m_performanceBJetsL3L1FastJet, m_pfBJets, m_rawBJets, mct_analysis_, mctruth_, MuCandTag2_, MuCandTag3_, MuIsolTag2_, MuIsolTag3_, MuNoVtxCandTag2_, muon_, muon_analysis_, MuTrkIsolTag3_, NonIsoElectron_, NonIsoEleHcal_, NonIsoEleTrackIsol_, NonIsoHoverEH_, NonIsoPhoTrackIsol_, NonIsoR9_, NonIsoR9ID_, oniaPixelTag_, oniaTrackTag_, PFJets_, pfmuon_, PFTau_, PFTauTightCone_, Photon_, PixelClustersTag_, PixelFEDSizeTag_, PixelTracksTagL3_, reccorjets_, recjets_, recmet_, recoPFJets_, recoPFMet_, RecoPFTau_, RecoPFTauAgainstElec_, RecoPFTauAgainstMuon_, RecoPFTauDiscrByIso_, RecoPFTauDiscrByTanCHalfPercent_, RecoPFTauDiscrByTanCOnePercent_, RecoPFTauDiscrByTanCQuarterPercent_, RecoPFTauDiscrByTanCTenthPercent_, rho_, environment_file_cff::runParameters, HLTEgamma::setup(), RECOVertex::setup(), EventHeader::setup(), HLTJets::setup(), HLTMuon::setup(), HLTTrack::setup(), HLTMCtruth::setup(), HLTInfo::setup(), HLTBJet::setup(), simhits_, towerThreshold_, track_analysis_, TrackerMuonTag_, treeWeight, VertexTagHLT_, VertexTagOffline0_, vrt_analysisHLT_, vrt_analysisOffline0_, and xSection_.

                                                    {
    
    // If your module takes parameters, here is where you would define
    // their names and types, and access them to initialize internal
    // variables. Example as follows:
    std::cout << " Beginning HLTAnalyzer Analysis " << std::endl;

    hltjets_            = conf.getParameter<edm::InputTag> ("hltjets");
    hltcorjets_         = conf.getParameter<edm::InputTag> ("hltcorjets");    
    hltcorL1L2L3jets_   = conf.getParameter<edm::InputTag> ("hltcorL1L2L3jets");    
    rho_                = edm::InputTag("hltKT6CaloJets", "rho");    
    recjets_            = conf.getParameter<edm::InputTag> ("recjets");
    reccorjets_         = conf.getParameter<edm::InputTag> ("reccorjets");
    genjets_            = conf.getParameter<edm::InputTag> ("genjets");
    recmet_             = conf.getParameter<edm::InputTag> ("recmet");
    recoPFMet_          = conf.getParameter<edm::InputTag> ("pfmet"); 
    genmet_             = conf.getParameter<edm::InputTag> ("genmet");
    ht_                 = conf.getParameter<edm::InputTag> ("ht");
    recoPFJets_         = conf.getParameter<edm::InputTag> ("recoPFJets"); 
    calotowers_         = conf.getParameter<edm::InputTag> ("calotowers");
    calotowersUpperR45_ = conf.getParameter<edm::InputTag> ("calotowersUpperR45");
    calotowersLowerR45_ = conf.getParameter<edm::InputTag> ("calotowersLowerR45");
    calotowersNoR45_    = conf.getParameter<edm::InputTag> ("calotowersNoR45");
    muon_               = conf.getParameter<edm::InputTag> ("muon");
    pfmuon_             = conf.getParameter<edm::InputTag> ("pfmuon");
    mctruth_            = conf.getParameter<edm::InputTag> ("mctruth");
    genEventInfo_       = conf.getParameter<edm::InputTag> ("genEventInfo");
    simhits_            = conf.getParameter<edm::InputTag> ("simhits");
    xSection_           = conf.getUntrackedParameter<double> ("xSection",1.);
    filterEff_          = conf.getUntrackedParameter<double> ("filterEff",1.);
    firstLumi_          = conf.getUntrackedParameter<int> ("firstLumi",0);
    lastLumi_           = conf.getUntrackedParameter<int> ("lastLumi",-1);
    towerThreshold_     = conf.getParameter<double>("caloTowerThreshold");
       
    // keep this separate from l1extramc_ as needed by FastSim:
    //    This is purposefully done this way to allow FastSim to run with OpenHLT: 
    //    The {FastSim+OpenHLT} package runs on the head of HLTrigger/HLTanalyzers 
    //    where there is purposefully this duplication because FastSim does the 
    //    simulation of muons seperately, and needs the same collection. 
    l1extramu_        = conf.getParameter<std::string>   ("l1extramu");
    m_l1extramu       = edm::InputTag(l1extramu_, "");
    
    // read the L1Extra collection name, and add the instance names as needed
    l1extramc_        = conf.getParameter<std::string>   ("l1extramc");
    m_l1extraemi      = edm::InputTag(l1extramc_, "Isolated");
    m_l1extraemn      = edm::InputTag(l1extramc_, "NonIsolated");
    m_l1extrajetc     = edm::InputTag(l1extramc_, "Central");
    m_l1extrajetf     = edm::InputTag(l1extramc_, "Forward");
    m_l1extrajet      = edm::InputTag("gctInternJetProducer","Internal","ANALYSIS");
    m_l1extrataujet   = edm::InputTag(l1extramc_, "Tau");
    m_l1extramet      = edm::InputTag(l1extramc_, "MET");
    m_l1extramht      = edm::InputTag(l1extramc_, "MHT");
    
    hltresults_       = conf.getParameter<edm::InputTag> ("hltresults");
    gtReadoutRecord_  = conf.getParameter<edm::InputTag> ("l1GtReadoutRecord");
    
    gctBitCounts_        = edm::InputTag( conf.getParameter<edm::InputTag>("l1GctHFBitCounts").label(), "" );
    gctRingSums_         = edm::InputTag( conf.getParameter<edm::InputTag>("l1GctHFRingSums").label(), "" );
    
    MuCandTag2_          = conf.getParameter<edm::InputTag> ("MuCandTag2");
    MuIsolTag2_          = conf.getParameter<edm::InputTag> ("MuIsolTag2");
    MuNoVtxCandTag2_     = conf.getParameter<edm::InputTag> ("MuNoVtxCandTag2");
    MuCandTag3_          = conf.getParameter<edm::InputTag> ("MuCandTag3");
    MuIsolTag3_          = conf.getParameter<edm::InputTag> ("MuIsolTag3");
    MuTrkIsolTag3_       = conf.getParameter<edm::InputTag> ("MuTrkIsolTag3");
    TrackerMuonTag_      = conf.getParameter<edm::InputTag> ("TrackerMuonTag");
    oniaPixelTag_        = conf.getParameter<edm::InputTag> ("OniaPixelTag");
    oniaTrackTag_        = conf.getParameter<edm::InputTag> ("OniaTrackTag");
    DiMuVtx_             = conf.getParameter<edm::InputTag> ("DiMuVtx");
    L2Tau_               = conf.getParameter<edm::InputTag> ("L2Tau");
    HLTTau_              = conf.getParameter<edm::InputTag> ("HLTTau");
    PFTau_               = conf.getParameter<edm::InputTag> ("HLTPFTau");
    PFTauTightCone_      = conf.getParameter<edm::InputTag> ("HLTPFTauTightCone");
    _MinPtChargedHadrons = conf.getParameter<double>("minPtChargedHadronsForTaus");
    _MinPtGammas         = conf.getParameter<double>("minPtGammassForTaus");

    PFJets_          = conf.getParameter<edm::InputTag> ("HLTPFJet");
    
    // offline reco tau collection and discriminators
    RecoPFTau_                          = conf.getParameter<edm::InputTag> ("RecoPFTau");
    RecoPFTauDiscrByTanCOnePercent_     = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCOnePercent"); 
    RecoPFTauDiscrByTanCHalfPercent_    = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCHalfPercent");  
    RecoPFTauDiscrByTanCQuarterPercent_ = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCQuarterPercent");
    RecoPFTauDiscrByTanCTenthPercent_   = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCTenthPercent");
    RecoPFTauDiscrByIso_                = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByIso");  
    RecoPFTauAgainstMuon_               = conf.getParameter<edm::InputTag> ("RecoPFTauAgainstMuon");  
    RecoPFTauAgainstElec_               = conf.getParameter<edm::InputTag> ("RecoPFTauAgainstElec");  
   
    
    // btag OpenHLT input collections
    m_rawBJets                = conf.getParameter<edm::InputTag>("CommonBJetsL2");
    m_correctedBJets          = conf.getParameter<edm::InputTag>("CorrectedBJetsL2");
    m_correctedBJetsL1FastJet = conf.getParameter<edm::InputTag>("CorrectedBJetsL2L1FastJet");
    m_pfBJets                 = conf.getParameter<edm::InputTag>("PFlowBJetsL2");
    m_lifetimeBJetsL25             = conf.getParameter<edm::InputTag>("LifetimeBJetsL25");
    m_lifetimeBJetsL3              = conf.getParameter<edm::InputTag>("LifetimeBJetsL3");
    m_lifetimeBJetsL25L1FastJet    = conf.getParameter<edm::InputTag>("LifetimeBJetsL25L1FastJet");
    m_lifetimeBJetsL3L1FastJet     = conf.getParameter<edm::InputTag>("LifetimeBJetsL3L1FastJet");
    m_lifetimePFBJetsL3            = conf.getParameter<edm::InputTag>("LifetimePFlowBJetsL3");
    m_lifetimeBJetsL25SingleTrack  = conf.getParameter<edm::InputTag>("LifetimeBJetsL25SingleTrack");
    m_lifetimeBJetsL3SingleTrack   = conf.getParameter<edm::InputTag>("LifetimeBJetsL3SingleTrack");
    m_lifetimeBJetsL25SingleTrackL1FastJet  = conf.getParameter<edm::InputTag>("LifetimeBJetsL25SingleTrackL1FastJet");
    m_lifetimeBJetsL3SingleTrackL1FastJet   = conf.getParameter<edm::InputTag>("LifetimeBJetsL3SingleTrackL1FastJet");
    m_performanceBJetsL25          = conf.getParameter<edm::InputTag>("PerformanceBJetsL25");
    m_performanceBJetsL3           = conf.getParameter<edm::InputTag>("PerformanceBJetsL3");
    m_performanceBJetsL25L1FastJet = conf.getParameter<edm::InputTag>("PerformanceBJetsL25L1FastJet");
    m_performanceBJetsL3L1FastJet  = conf.getParameter<edm::InputTag>("PerformanceBJetsL3L1FastJet");
    
    // egamma OpenHLT input collections
    Electron_                 = conf.getParameter<edm::InputTag> ("Electron");
    Photon_                   = conf.getParameter<edm::InputTag> ("Photon");
    CandIso_                  = conf.getParameter<edm::InputTag> ("CandIso");
    CandNonIso_               = conf.getParameter<edm::InputTag> ("CandNonIso");
    EcalIso_                  = conf.getParameter<edm::InputTag> ("EcalIso");
    EcalNonIso_               = conf.getParameter<edm::InputTag> ("EcalNonIso");
    HcalIsoPho_               = conf.getParameter<edm::InputTag> ("HcalIsoPho");
    HcalNonIsoPho_            = conf.getParameter<edm::InputTag> ("HcalNonIsoPho");
    IsoPhoTrackIsol_          = conf.getParameter<edm::InputTag> ("IsoPhoTrackIsol");
    NonIsoPhoTrackIsol_       = conf.getParameter<edm::InputTag> ("NonIsoPhoTrackIsol");
    IsoElectron_              = conf.getParameter<edm::InputTag> ("IsoElectrons");
    NonIsoElectron_           = conf.getParameter<edm::InputTag> ("NonIsoElectrons");
    IsoEleHcal_               = conf.getParameter<edm::InputTag> ("HcalIsoEle");
    NonIsoEleHcal_            = conf.getParameter<edm::InputTag> ("HcalNonIsoEle");
    IsoEleTrackIsol_          = conf.getParameter<edm::InputTag> ("IsoEleTrackIsol");
    NonIsoEleTrackIsol_       = conf.getParameter<edm::InputTag> ("NonIsoEleTrackIsol");
    L1IsoPixelSeeds_          = conf.getParameter<edm::InputTag> ("PixelSeedL1Iso");
    L1NonIsoPixelSeeds_       = conf.getParameter<edm::InputTag> ("PixelSeedL1NonIso");
    IsoR9_                    = conf.getParameter<edm::InputTag> ("SpikeCleaningIsol");  
    NonIsoR9_                 = conf.getParameter<edm::InputTag> ("SpikeCleaningNonIsol");   
    IsoHoverEH_               = conf.getParameter<edm::InputTag> ("HcalForHoverEIsol");
    NonIsoHoverEH_            = conf.getParameter<edm::InputTag> ("HcalForHoverENonIsol"); 
    IsoR9ID_                  = conf.getParameter<edm::InputTag> ("R9IDIsol");
    NonIsoR9ID_               = conf.getParameter<edm::InputTag> ("R9IDNonIsol");
    HFECALClusters_           = conf.getParameter<edm::InputTag> ("HFECALClusters"); 
    HFElectrons_              = conf.getParameter<edm::InputTag> ("HFElectrons"); 

   // Add ECAL Activity
   ECALActivity_                    = conf.getParameter<edm::InputTag> ("ECALActivity");
   ActivityEcalIso_                 = conf.getParameter<edm::InputTag> ("ActivityEcalIso");
   ActivityHcalIso_                 = conf.getParameter<edm::InputTag> ("ActivityHcalIso");
   ActivityTrackIso_                = conf.getParameter<edm::InputTag> ("ActivityTrackIso");
   ActivityR9_                    = conf.getParameter<edm::InputTag> ("ActivityR9"); // spike cleaning
   ActivityR9ID_                    = conf.getParameter<edm::InputTag> ("ActivityR9ID");
   ActivityHoverEH_           = conf.getParameter<edm::InputTag> ("ActivityHcalForHoverE");


   // AlCa OpenHLT input collections  
   /*
    EERecHitTag_              = conf.getParameter<edm::InputTag> ("EERecHits"); 
    EBRecHitTag_              = conf.getParameter<edm::InputTag> ("EBRecHits"); 
    pi0EBRecHitTag_           = conf.getParameter<edm::InputTag> ("pi0EBRecHits");  
    pi0EERecHitTag_           = conf.getParameter<edm::InputTag> ("pi0EERecHits");  
    HBHERecHitTag_            = conf.getParameter<edm::InputTag> ("HBHERecHits");  
    HORecHitTag_              = conf.getParameter<edm::InputTag> ("HORecHits");  
    HFRecHitTag_              = conf.getParameter<edm::InputTag> ("HFRecHits");  
    IsoPixelTrackTagL3_       = conf.getParameter<edm::InputTag> ("IsoPixelTracksL3"); 
    IsoPixelTrackTagL2_       = conf.getParameter<edm::InputTag> ("IsoPixelTracksL2");
    IsoPixelTrackVerticesTag_       = conf.getParameter<edm::InputTag> ("IsoPixelTrackVertices");
   */
 
   // Track OpenHLT input collections
   PixelTracksTagL3_         = conf.getParameter<edm::InputTag> ("PixelTracksL3"); 
   PixelFEDSizeTag_          = conf.getParameter<edm::InputTag> ("PixelFEDSize");
   PixelClustersTag_         = conf.getParameter<edm::InputTag> ("PixelClusters");

    // Reco Vertex collection
    VertexTagHLT_                = conf.getParameter<edm::InputTag> ("PrimaryVertices");  
    VertexTagOffline0_           = conf.getParameter<edm::InputTag> ("OfflinePrimaryVertices0");

    m_file = 0;   // set to null
    errCnt = 0;
    
    // read run parameters with a default value 
    edm::ParameterSet runParameters = conf.getParameter<edm::ParameterSet>("RunParameters");
    _HistName = runParameters.getUntrackedParameter<std::string>("HistogramFile", "test.root");
    _EtaMin   = runParameters.getUntrackedParameter<double>("EtaMin", -5.2);
    _EtaMax   = runParameters.getUntrackedParameter<double>("EtaMax",  5.2);
    
    
    
    // open the tree file
    m_file = new TFile(_HistName.c_str(), "RECREATE");
    if (m_file)
        m_file->cd();
    
    // Initialize the tree
    HltTree = new TTree("HltTree", "");
    
    treeWeight=xSection_*filterEff_;
    std::cout << "\n Setting HltTree weight to " << treeWeight << " = " << xSection_ << "*" << filterEff_ << " (cross section * gen filter efficiency)\n" << std::endl;
    
    // Setup the different analysis
    jet_analysis_.setup(conf, HltTree);
    bjet_analysis_.setup(conf, HltTree);
    elm_analysis_.setup(conf, HltTree);
    muon_analysis_.setup(conf, HltTree);
    track_analysis_.setup(conf, HltTree);
    mct_analysis_.setup(conf, HltTree);
    hlt_analysis_.setup(conf, HltTree);
    vrt_analysisHLT_.setup(conf, HltTree, "HLT");
    vrt_analysisOffline0_.setup(conf, HltTree, "Offline0");
    evt_header_.setup(HltTree);
}

Member Function Documentation

void HLTAnalyzer::analyze ( edm::Event const &  e,
edm::EventSetup const &  iSetup 
) [virtual]

Implements edm::EDAnalyzer.

Definition at line 237 of file HLTAnalyzer.cc.

References _MinPtChargedHadrons, _MinPtGammas, ActivityEcalIso_, ActivityHcalIso_, ActivityHoverEH_, ActivityR9_, ActivityR9ID_, ActivityTrackIso_, HLTBJet::analyze(), HLTMuon::analyze(), HLTJets::analyze(), RECOVertex::analyze(), HLTMCtruth::analyze(), HLTInfo::analyze(), EventHeader::analyze(), HLTTrack::analyze(), HLTEgamma::analyze(), bjet_analysis_, HiRecoJets_cff::caloTowers, calotowers_, calotowersLowerR45_, calotowersNoR45_, calotowersUpperR45_, CandIso_, CandNonIso_, DiMuVtx_, ECALActivity_, EcalIso_, EcalNonIso_, Electron_, HI_PhotonSkim_cff::electrons, elm_analysis_, errCnt, errMax(), evt_header_, firstLumi_, gctBitCounts_, gctRingSums_, genEventInfo_, genjets_, genmet_, edm::EventSetup::get(), edm::Event::getByLabel(), getCollection(), gtReadoutRecord_, HcalIsoPho_, HcalNonIsoPho_, HFECALClusters_, HFElectrons_, hlt_analysis_, hltcorjets_, hltcorL1L2L3jets_, hltjets_, hltresults_, HLTTau_, HltTree, ht_, IsoElectron_, IsoEleHcal_, IsoEleTrackIsol_, IsoHoverEH_, IsoPhoTrackIsol_, IsoPixelTrackTagL2_, IsoPixelTrackTagL3_, IsoPixelTrackVerticesTag_, IsoR9_, IsoR9ID_, edm::HandleBase::isValid(), jet_analysis_, kBTagCorrectedJets, kBTagCorrectedJetsL1FastJet, kBTagJets, kBTagLifetimeBJetsL25, kBTagLifetimeBJetsL25L1FastJet, kBTagLifetimeBJetsL25SingleTrack, kBTagLifetimeBJetsL25SingleTrackL1FastJet, kBTagLifetimeBJetsL3, kBTagLifetimeBJetsL3L1FastJet, kBTagLifetimeBJetsL3SingleTrack, kBTagLifetimeBJetsL3SingleTrackL1FastJet, kBTagLifetimePFBJetsL3, kBTagPerformanceBJetsL25, kBTagPerformanceBJetsL25L1FastJet, kBTagPerformanceBJetsL3, kBTagPerformanceBJetsL3L1FastJet, kBTagPFJets, kCaloTowers, kCaloTowersLowerR45, kCaloTowersNoR45, kCaloTowersUpperR45, kCandIso, kCandNonIso, kDimuvtxcands3, kECALActivity, kECALActivityEcalIso, kECALActivityHcalIso, kECALActivityHoverEH, kECALActivityR9, kECALActivityR9ID, kECALActivityTrackIso, kEcalIso, kEcalNonIso, kElectrons, kGenEventInfo, kGenjets, kGenmet, kHcalIsoPho, kHcalNonIsoPho, kHFECALClusters, kHFElectrons, kHLTCorjets, kHLTCorL1L2L3jets, kHLTjets, kHltresults, kHt, kIsoElectron, kIsoEleHcal, kIsoEleTrackIsol, kIsoHoverEH, kIsoMap2, kIsoMap3, kIsoPhoTrackIsol, kIsoPixelTracksL2, kIsoPixelTracksL3, kIsoPixelTrackVertices, kIsoR9, kIsoR9ID, kIsoTrk10Map3, kL1extemi, kL1extemn, kL1extjet, kL1extjetc, kL1extjetf, kL1extmet, kL1extmht, kL1extmu, kL1exttaujet, kL1GctBitCounts, kL1GctRingSums, kL1GtRR, kL1IsoPixelSeeds, kL1NonIsoPixelSeeds, kMctruth, kMucands2, kMucands3, kMunovtxcands2, WDecay::kMuon, kNonIsoElectron, kNonIsoEleTrackIsol, kNonIsoHoverEH, kNonIsoPhoTrackIsol, kNonIsoR9, kNonIsoR9ID, kOniaPixelCands, kOniaTrackCands, kPFJets, kPFMet, kpfMuon, kPFTaus, kPFTausTightCone, kPhotons, kPixelClusters, kPixelFEDSize, kPixelTracksL3, kRecCorjets, kRecjets, kRecmet, kRecoPFJets, kRecoPFTaus, kRecoVerticesHLT, kRecoVerticesOffline0, kRho, kSimhit, kTaus, ktheRecoPFTauDiscrAgainstElec, ktheRecoPFTauDiscrAgainstMuon, ktheRecoPFTauDiscrByIsolation, ktheRecoPFTauDiscrByTanCHalfPercent, ktheRecoPFTauDiscrByTanCOnePercent, ktheRecoPFTauDiscrByTanCQuarterPercent, ktheRecoPFTauDiscrByTanCTenthPercent, kTrkMucands, L1IsoPixelSeeds_, L1NonIsoPixelSeeds_, L2Tau_, lastLumi_, edm::EventBase::luminosityBlock(), m_correctedBJets, m_correctedBJetsL1FastJet, m_file, m_l1extraemi, m_l1extraemn, m_l1extrajet, m_l1extrajetc, m_l1extrajetf, m_l1extramet, m_l1extramht, m_l1extramu, m_l1extrataujet, m_lifetimeBJetsL25, m_lifetimeBJetsL25L1FastJet, m_lifetimeBJetsL25SingleTrack, m_lifetimeBJetsL25SingleTrackL1FastJet, m_lifetimeBJetsL3, m_lifetimeBJetsL3L1FastJet, m_lifetimeBJetsL3SingleTrack, m_lifetimeBJetsL3SingleTrackL1FastJet, m_lifetimePFBJetsL3, m_performanceBJetsL25, m_performanceBJetsL25L1FastJet, m_performanceBJetsL3, m_performanceBJetsL3L1FastJet, m_pfBJets, m_rawBJets, mct_analysis_, mctruth_, combine::missing, MuCandTag2_, MuCandTag3_, MuIsolTag2_, MuIsolTag3_, MuNoVtxCandTag2_, metsig::muon, muon_, muon_analysis_, MuTrkIsolTag3_, NonIsoElectron_, NonIsoEleHcal_, NonIsoEleTrackIsol_, NonIsoHoverEH_, NonIsoPhoTrackIsol_, NonIsoR9_, NonIsoR9ID_, oniaPixelTag_, oniaTrackTag_, dbtoconf::out, PFJets_, pfmuon_, PFTau_, PFTauTightCone_, Photon_, interactiveExample::photons, PixelClustersTag_, PixelFEDSizeTag_, PixelTracksTagL3_, reccorjets_, recjets_, recmet_, RecoPFJets_cff::recoPFJets, recoPFJets_, recoPFMet_, RecoPFTau_, RecoPFTauAgainstElec_, RecoPFTauAgainstMuon_, RecoPFTauDiscrByIso_, RecoPFTauDiscrByTanCHalfPercent_, RecoPFTauDiscrByTanCOnePercent_, RecoPFTauDiscrByTanCQuarterPercent_, RecoPFTauDiscrByTanCTenthPercent_, rho, rho_, simhits_, towerThreshold_, track_analysis_, TrackerMuonTag_, VertexTagHLT_, VertexTagOffline0_, vrt_analysisHLT_, and vrt_analysisOffline0_.

                                                                             {
    
    // To get information from the event setup, you must request the "Record"
    // which contains it and then extract the object you need
    //edm::ESHandle<CaloGeometry> geometry;
    //iSetup.get<IdealGeometryRecord>().get(geometry);
    
    int iLumi = iEvent.luminosityBlock();
    if (iLumi<firstLumi_) return;
    if (lastLumi_ != -1 && iLumi>lastLumi_) return;
    
    // These declarations create handles to the types of records that you want
    // to retrieve from event "iEvent".
    edm::Handle<reco::CaloJetCollection>              hltjets;
    edm::Handle<reco::CaloJetCollection>              hltcorjets;
    edm::Handle<reco::CaloJetCollection>              hltcorL1L2L3jets;
    edm::Handle<double>                               rho;
    edm::Handle<reco::CaloJetCollection>              recjets;
    edm::Handle<reco::CaloJetCollection>              reccorjets;
    edm::Handle<reco::GenJetCollection>               genjets;
    edm::Handle<CaloTowerCollection>                  caloTowers;
    edm::Handle<CaloTowerCollection>                  caloTowersCleanerUpperR45;
    edm::Handle<CaloTowerCollection>                  caloTowersCleanerLowerR45;
    edm::Handle<CaloTowerCollection>                  caloTowersCleanerNoR45;
    edm::Handle<reco::CaloMETCollection>              recmet;
    edm::Handle<reco::PFMETCollection>                recoPFMet;
    edm::Handle<reco::GenMETCollection>               genmet;
    edm::Handle<reco::METCollection>                  ht;
    edm::Handle<reco::PFJetCollection>                recoPFJets; 
    edm::Handle<reco::CandidateView>                  mctruth;
    edm::Handle<GenEventInfoProduct>                  genEventInfo;
    edm::Handle<std::vector<SimTrack> >               simTracks;
    edm::Handle<std::vector<SimVertex> >              simVertices;
    edm::Handle<reco::MuonCollection>                 muon;
    edm::Handle<reco::PFCandidateCollection>          pfmuon;
    edm::Handle<edm::TriggerResults>                  hltresults;
    edm::Handle<l1extra::L1EmParticleCollection>      l1extemi, l1extemn;
    edm::Handle<l1extra::L1MuonParticleCollection>    l1extmu;
    edm::Handle<l1extra::L1JetParticleCollection>     l1extjetc, l1extjetf, l1extjet, l1exttaujet;
    //edm::Handle<l1extra::L1JetParticleCollection>     l1extjetc, l1extjetf, l1exttaujet;
    edm::Handle<l1extra::L1EtMissParticleCollection>  l1extmet,l1extmht;
    edm::Handle<L1GlobalTriggerReadoutRecord>         l1GtRR;
    edm::Handle< L1GctHFBitCountsCollection >         gctBitCounts ;
    edm::Handle< L1GctHFRingEtSumsCollection >        gctRingSums ;
    
    edm::Handle<reco::RecoChargedCandidateCollection> mucands2, mucands3, munovtxcands2;
    edm::Handle<reco::RecoChargedCandidateCollection> oniaPixelCands, oniaTrackCands;
    edm::Handle<reco::VertexCollection>               dimuvtxcands3;
    edm::Handle<reco::MuonCollection>                 trkmucands;
    edm::Handle<edm::ValueMap<bool> >                 isoMap2,  isoMap3, isoTrk10Map3;
    edm::Handle<reco::CaloJetCollection>              l2taus;
    edm::Handle<reco::HLTTauCollection>               taus;
    edm::Handle<reco::PFTauCollection>                pftaus;
    edm::Handle<reco::PFTauCollection>                pftausTightCone;
    edm::Handle<reco::PFJetCollection>                pfjets;
    
    // offline reco tau collection and discriminators
    edm::Handle<reco::PFTauCollection>  recoPftaus;
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCOnePercent;
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCHalfPercent; 
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCQuarterPercent;
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCTenthPercent;
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByIsolation;
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrAgainstMuon;
    edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrAgainstElec;
   
    
    // btag OpenHLT input collections
    edm::Handle<edm::View<reco::Jet> >                hRawBJets;
    edm::Handle<edm::View<reco::Jet> >                hCorrectedBJets;
    edm::Handle<edm::View<reco::Jet> >                hCorrectedBJetsL1FastJet;
    edm::Handle<edm::View<reco::Jet> >                hPFBJets;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL25;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL3L1FastJet;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL25L1FastJet;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL3;
    edm::Handle<reco::JetTagCollection>               hLifetimePFBJetsL3;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL25SingleTrack;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL3SingleTrack;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL25SingleTrackL1FastJet;
    edm::Handle<reco::JetTagCollection>               hLifetimeBJetsL3SingleTrackL1FastJet;
    edm::Handle<reco::JetTagCollection>               hPerformanceBJetsL25;
    edm::Handle<reco::JetTagCollection>               hPerformanceBJetsL3;
    edm::Handle<reco::JetTagCollection>               hPerformanceBJetsL25L1FastJet;
    edm::Handle<reco::JetTagCollection>               hPerformanceBJetsL3L1FastJet;
    
    // egamma OpenHLT input collections
    edm::Handle<reco::GsfElectronCollection>          electrons;
    edm::Handle<reco::PhotonCollection>               photons;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    photonR9IsoHandle; 
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    photonR9NonIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    photonR9IDIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    photonR9IDNonIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  photonHoverEHIsoHandle;   
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  photonHoverEHNonIsoHandle;    
    edm::Handle<reco::ElectronCollection>             electronIsoHandle;
    edm::Handle<reco::ElectronCollection>             electronNonIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    electronR9IsoHandle; 
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    electronR9NonIsoHandle;  
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    electronR9IDIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>    electronR9IDNonIsoHandle;
    edm::Handle<reco::ElectronIsolationMap>           NonIsoTrackEleIsolMap;
    edm::Handle<reco::ElectronIsolationMap>           TrackEleIsolMap;
    edm::Handle<reco::ElectronSeedCollection>         L1IsoPixelSeedsMap;
    edm::Handle<reco::ElectronSeedCollection>         L1NonIsoPixelSeedsMap;
    edm::Handle<reco::RecoEcalCandidateCollection>    recoIsolecalcands;
    edm::Handle<reco::RecoEcalCandidateCollection>    recoNonIsolecalcands;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  EcalIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  EcalNonIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  HcalEleIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  HcalEleNonIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  HcalIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  HcalNonIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  TrackIsolMap;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  TrackNonIsolMap;
    edm::Handle<reco::SuperClusterCollection>         electronHFClusterHandle; 
    edm::Handle<reco::RecoEcalCandidateCollection>    electronHFElectronHandle;  
    // ECAL Activity
    edm::Handle<reco::RecoEcalCandidateCollection>    ActivityCandsHandle;  
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  ActivityEcalIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  ActivityHcalIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  ActivityTrackIsoHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  ActivityR9Handle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  ActivityR9IDHandle;
    edm::Handle<reco::RecoEcalCandidateIsolationMap>  ActivityHoverEHHandle;
 
    
    // AlCa OpenHLT input collections   
    /*
    edm::Handle<EBRecHitCollection>             ebrechits;  
    edm::Handle<EERecHitCollection>             eerechits;   
    edm::Handle<EBRecHitCollection>             pi0ebrechits;   
    edm::Handle<EERecHitCollection>             pi0eerechits;    
    edm::Handle<HBHERecHitCollection>           hbherechits;   
    edm::Handle<HORecHitCollection>             horechits;   
    edm::Handle<HFRecHitCollection>             hfrechits;   
    */

    edm::Handle<reco::IsolatedPixelTrackCandidateCollection> isopixeltracksL3; 
    edm::Handle<reco::IsolatedPixelTrackCandidateCollection> isopixeltracksL2;  
    edm::Handle<reco::VertexCollection>         isopixeltrackPixVertices;
    edm::Handle<reco::RecoChargedCandidateCollection> pixeltracksL3; 
    edm::Handle<FEDRawDataCollection> pixelfedsize;
    edm::Handle<edmNew::DetSetVector<SiPixelCluster> > pixelclusters;
    
    // Reco vertex collection
    edm::Handle<reco::VertexCollection> recoVertexsHLT;
    edm::Handle<reco::VertexCollection> recoVertexsOffline0;

    // new stuff for the egamma EleId
    edm::InputTag ecalRechitEBTag (std::string("hltEcalRegionalEgammaRecHit:EcalRecHitsEB"));
    edm::InputTag ecalRechitEETag (std::string("hltEcalRegionalEgammaRecHit:EcalRecHitsEE"));
    EcalClusterLazyTools lazyTools( iEvent, iSetup, ecalRechitEBTag, ecalRechitEETag);
    
    edm::Handle<reco::HFEMClusterShapeAssociationCollection> electronHFClusterAssociation;   
    iEvent.getByLabel(edm::InputTag("hltHFEMClusters"),electronHFClusterAssociation);

    edm::ESHandle<MagneticField>                theMagField;
    iSetup.get<IdealMagneticFieldRecord>().get(theMagField);
    
    edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
    edm::InputTag BSProducer_(std::string("hltOnlineBeamSpot"));
    
    // get EventSetup stuff needed for the AlCa pi0 path
    //    edm::ESHandle< EcalElectronicsMapping > ecalmapping;
    //    iSetup.get< EcalMappingRcd >().get(ecalmapping);
   
    //    edm::ESHandle<CaloGeometry> geoHandle;
    //    iSetup.get<CaloGeometryRecord>().get(geoHandle); 
   
    //    edm::ESHandle<CaloTopology> pTopology;
    //    iSetup.get<CaloTopologyRecord>().get(pTopology);
   
    //    edm::ESHandle<L1CaloGeometry> l1CaloGeom ;
    //    iSetup.get<L1CaloGeometryRecord>().get(l1CaloGeom) ;
   
    
    // extract the collections from the event, check their validity and log which are missing
    std::vector<MissingCollectionInfo> missing;
    
    //get the BeamSpot
    getCollection( iEvent, missing, recoBeamSpotHandle,       BSProducer_ ,          "Beam Spot handle");
    // gets its position
    reco::BeamSpot::Point BSPosition(0,0,0);
    BSPosition = recoBeamSpotHandle->position();
    
    getCollection( iEvent, missing, hltjets,         hltjets_,           kHLTjets );
    getCollection( iEvent, missing, hltcorjets,      hltcorjets_,        kHLTCorjets );
    getCollection( iEvent, missing, hltcorL1L2L3jets,hltcorL1L2L3jets_,  kHLTCorL1L2L3jets );
    getCollection( iEvent, missing, rho,             rho_,               kRho );
    getCollection( iEvent, missing, recjets,         recjets_,           kRecjets );
    getCollection( iEvent, missing, reccorjets,      reccorjets_,        kRecCorjets );
    getCollection( iEvent, missing, genjets,         genjets_,           kGenjets );
    getCollection( iEvent, missing, recmet,          recmet_,            kRecmet );
    getCollection( iEvent, missing, recoPFMet,       recoPFMet_,         kPFMet );
    getCollection( iEvent, missing, genmet,          genmet_,            kGenmet );
    getCollection( iEvent, missing, caloTowers,      calotowers_,        kCaloTowers );
    getCollection( iEvent, missing, caloTowersCleanerUpperR45, calotowersUpperR45_,        kCaloTowersUpperR45 );
    getCollection( iEvent, missing, caloTowersCleanerLowerR45, calotowersLowerR45_,        kCaloTowersLowerR45 );
    getCollection( iEvent, missing, caloTowersCleanerNoR45,    calotowersNoR45_,           kCaloTowersNoR45 );
    getCollection( iEvent, missing, ht,              ht_,                kHt );
    getCollection( iEvent, missing, recoPFJets,      recoPFJets_,        kRecoPFJets );   
    getCollection( iEvent, missing, muon,            muon_,              kMuon );
    getCollection( iEvent, missing, pfmuon,          pfmuon_,            kpfMuon );
    getCollection( iEvent, missing, l2taus,          L2Tau_,             kTaus );
    getCollection( iEvent, missing, taus,            HLTTau_,            kTaus );
    getCollection( iEvent, missing, pftaus,          PFTau_,             kPFTaus );
    getCollection( iEvent, missing, pftausTightCone, PFTauTightCone_,    kPFTausTightCone );
    getCollection( iEvent, missing, pfjets,          PFJets_,            kPFJets );  
    getCollection( iEvent, missing, recoPftaus,                            RecoPFTau_,                          kRecoPFTaus );
    getCollection( iEvent, missing, theRecoPFTauDiscrByTanCOnePercent,     RecoPFTauDiscrByTanCOnePercent_,     ktheRecoPFTauDiscrByTanCOnePercent); 
    getCollection( iEvent, missing, theRecoPFTauDiscrByTanCHalfPercent,    RecoPFTauDiscrByTanCHalfPercent_,    ktheRecoPFTauDiscrByTanCHalfPercent); 
    getCollection( iEvent, missing, theRecoPFTauDiscrByTanCQuarterPercent, RecoPFTauDiscrByTanCQuarterPercent_, ktheRecoPFTauDiscrByTanCQuarterPercent); 
    getCollection( iEvent, missing, theRecoPFTauDiscrByTanCTenthPercent,   RecoPFTauDiscrByTanCTenthPercent_,   ktheRecoPFTauDiscrByTanCTenthPercent);     
    getCollection( iEvent, missing, theRecoPFTauDiscrByIsolation,          RecoPFTauDiscrByIso_,                ktheRecoPFTauDiscrByIsolation); 
    getCollection( iEvent, missing, theRecoPFTauDiscrAgainstMuon,          RecoPFTauAgainstMuon_,               ktheRecoPFTauDiscrAgainstMuon); 
    getCollection( iEvent, missing, theRecoPFTauDiscrAgainstElec,          RecoPFTauAgainstElec_,               ktheRecoPFTauDiscrAgainstElec); 
    getCollection( iEvent, missing, hltresults,      hltresults_,        kHltresults );
    getCollection( iEvent, missing, l1extemi,        m_l1extraemi,       kL1extemi );
    getCollection( iEvent, missing, l1extemn,        m_l1extraemn,       kL1extemn );
    getCollection( iEvent, missing, l1extmu,         m_l1extramu,        kL1extmu );
    getCollection( iEvent, missing, l1extjetc,       m_l1extrajetc,      kL1extjetc );
    getCollection( iEvent, missing, l1extjetf,       m_l1extrajetf,      kL1extjetf );
    getCollection( iEvent, missing, l1extjet,        m_l1extrajet,       kL1extjet );
    getCollection( iEvent, missing, l1exttaujet,     m_l1extrataujet,    kL1exttaujet );
    getCollection( iEvent, missing, l1extmet,        m_l1extramet,       kL1extmet );
    getCollection( iEvent, missing, l1extmht,        m_l1extramht,       kL1extmht );
    getCollection( iEvent, missing, l1GtRR,          gtReadoutRecord_,   kL1GtRR );
    getCollection( iEvent, missing, gctBitCounts,     gctBitCounts_,      kL1GctBitCounts );
    getCollection( iEvent, missing, gctRingSums,      gctRingSums_,       kL1GctRingSums );
    getCollection( iEvent, missing, mctruth,         mctruth_,           kMctruth );
    getCollection( iEvent, missing, simTracks,       simhits_,           kSimhit );
    getCollection( iEvent, missing, simVertices,     simhits_,           kSimhit );
    getCollection( iEvent, missing, genEventInfo,    genEventInfo_,      kGenEventInfo );
    getCollection( iEvent, missing, mucands2,        MuCandTag2_,        kMucands2 );
    getCollection( iEvent, missing, munovtxcands2,   MuNoVtxCandTag2_,   kMunovtxcands2 ); 
    getCollection( iEvent, missing, mucands3,        MuCandTag3_,        kMucands3 );
    getCollection( iEvent, missing, oniaPixelCands,  oniaPixelTag_,      kOniaPixelCands );
    getCollection( iEvent, missing, oniaTrackCands,  oniaTrackTag_,      kOniaTrackCands );
    getCollection( iEvent, missing, trkmucands,      TrackerMuonTag_,    kTrkMucands );
    getCollection( iEvent, missing, dimuvtxcands3,   DiMuVtx_,           kDimuvtxcands3 );
    getCollection( iEvent, missing, isoMap2,         MuIsolTag2_,        kIsoMap2 );
    getCollection( iEvent, missing, isoMap3,         MuIsolTag3_,        kIsoMap3 );
    getCollection( iEvent, missing, isoTrk10Map3,    MuTrkIsolTag3_,     kIsoTrk10Map3 ); 
    getCollection( iEvent, missing, hRawBJets,                    m_rawBJets,                     kBTagJets );
    getCollection( iEvent, missing, hCorrectedBJets,              m_correctedBJets,               kBTagCorrectedJets );
    getCollection( iEvent, missing, hCorrectedBJetsL1FastJet,     m_correctedBJetsL1FastJet,      kBTagCorrectedJetsL1FastJet );
    getCollection( iEvent, missing, hPFBJets,                     m_pfBJets,                      kBTagPFJets );
    getCollection( iEvent, missing, hLifetimeBJetsL25,            m_lifetimeBJetsL25,             kBTagLifetimeBJetsL25 );
    getCollection( iEvent, missing, hLifetimeBJetsL3,             m_lifetimeBJetsL3,              kBTagLifetimeBJetsL3 );
    getCollection( iEvent, missing, hLifetimeBJetsL25L1FastJet,   m_lifetimeBJetsL25L1FastJet,    kBTagLifetimeBJetsL25L1FastJet );
    getCollection( iEvent, missing, hLifetimeBJetsL3L1FastJet,    m_lifetimeBJetsL3L1FastJet,     kBTagLifetimeBJetsL3L1FastJet );
    getCollection( iEvent, missing, hLifetimePFBJetsL3,           m_lifetimePFBJetsL3,            kBTagLifetimePFBJetsL3 );
    getCollection( iEvent, missing, hLifetimeBJetsL25SingleTrack, m_lifetimeBJetsL25SingleTrack,  kBTagLifetimeBJetsL25SingleTrack );
    getCollection( iEvent, missing, hLifetimeBJetsL3SingleTrack,  m_lifetimeBJetsL3SingleTrack,   kBTagLifetimeBJetsL3SingleTrack );
    getCollection( iEvent, missing, hLifetimeBJetsL25SingleTrackL1FastJet, m_lifetimeBJetsL25SingleTrackL1FastJet,  kBTagLifetimeBJetsL25SingleTrackL1FastJet );
    getCollection( iEvent, missing, hLifetimeBJetsL3SingleTrackL1FastJet,  m_lifetimeBJetsL3SingleTrackL1FastJet,   kBTagLifetimeBJetsL3SingleTrackL1FastJet );
    getCollection( iEvent, missing, hPerformanceBJetsL25,         m_performanceBJetsL25,          kBTagPerformanceBJetsL25 );
    getCollection( iEvent, missing, hPerformanceBJetsL3,          m_performanceBJetsL3,           kBTagPerformanceBJetsL3 );
    getCollection( iEvent, missing, hPerformanceBJetsL25L1FastJet,m_performanceBJetsL25L1FastJet, kBTagPerformanceBJetsL25L1FastJet );
    getCollection( iEvent, missing, hPerformanceBJetsL3L1FastJet, m_performanceBJetsL3L1FastJet,  kBTagPerformanceBJetsL3L1FastJet );
    getCollection( iEvent, missing, electrons,                Electron_,                  kElectrons );
    getCollection( iEvent, missing, photons,                  Photon_,                    kPhotons );
    getCollection( iEvent, missing, ActivityCandsHandle, ECALActivity_,                    kECALActivity);       
    getCollection( iEvent, missing, ActivityEcalIsoHandle, ActivityEcalIso_,               kECALActivityEcalIso); 
    getCollection( iEvent, missing, ActivityHcalIsoHandle, ActivityHcalIso_,               kECALActivityHcalIso); 
    getCollection( iEvent, missing, ActivityTrackIsoHandle, ActivityTrackIso_,             kECALActivityTrackIso); 
    getCollection( iEvent, missing, ActivityR9Handle, ActivityR9_,                     kECALActivityR9); 
    getCollection( iEvent, missing, ActivityR9IDHandle, ActivityR9ID_,                     kECALActivityR9ID); 
    getCollection( iEvent, missing, ActivityHoverEHHandle, ActivityHoverEH_,               kECALActivityHoverEH);
    
    //Read offline eleID results
    std::vector<edm::Handle<edm::ValueMap<float> > > eIDValueMap(4); 
    //   edm::InputTag electronLabelRobustTight_(std::string("eidRobustTight"));
    //   edm::InputTag electronLabelTight_(std::string("eidTight"));
    //   edm::InputTag electronLabelRobustLoose_(std::string("eidRobustLoose"));
    //   edm::InputTag electronLabelLoose_(std::string("eidLoose"));
    //   getCollection( iEvent, missing, eIDValueMap[0],   electronLabelRobustLoose_      ,       "EleId Robust-Loose");
    //   getCollection( iEvent, missing, eIDValueMap[1],   electronLabelRobustTight_      ,       "EleId Robust-Tight");
    //   getCollection( iEvent, missing, eIDValueMap[2],   electronLabelLoose_      ,       "EleId Loose");
    //   getCollection( iEvent, missing, eIDValueMap[3],   electronLabelTight_      ,       "EleId Tight");
    
    //read all the OpenHLT egamma collections
    getCollection( iEvent, missing, recoIsolecalcands,        CandIso_,                   kCandIso);
    getCollection( iEvent, missing, recoNonIsolecalcands,     CandNonIso_,                kCandNonIso);
    getCollection( iEvent, missing, EcalIsolMap,              EcalIso_,                   kEcalIso);
    getCollection( iEvent, missing, EcalNonIsolMap,           EcalNonIso_,                kEcalNonIso);
    getCollection( iEvent, missing, HcalIsolMap,              HcalIsoPho_,                kHcalIsoPho);
    getCollection( iEvent, missing, HcalNonIsolMap,           HcalNonIsoPho_,             kHcalNonIsoPho);
    getCollection( iEvent, missing, photonR9IsoHandle,        IsoR9_,                     kIsoR9); 
    getCollection( iEvent, missing, photonR9NonIsoHandle,     NonIsoR9_,                  kNonIsoR9);  
    getCollection( iEvent, missing, photonR9IDIsoHandle,      IsoR9ID_,                   kIsoR9ID);
    getCollection( iEvent, missing, photonR9IDNonIsoHandle,   NonIsoR9ID_,                kNonIsoR9ID);
    getCollection( iEvent, missing, photonHoverEHIsoHandle,   IsoHoverEH_,                kIsoHoverEH);    
    getCollection( iEvent, missing, photonHoverEHNonIsoHandle,NonIsoHoverEH_,             kNonIsoHoverEH);   
    getCollection( iEvent, missing, electronIsoHandle,        IsoElectron_,               kIsoElectron);
    getCollection( iEvent, missing, HcalEleIsolMap,           IsoEleHcal_,                kIsoEleHcal);
    getCollection( iEvent, missing, TrackEleIsolMap,          IsoEleTrackIsol_,           kIsoEleTrackIsol);
    getCollection( iEvent, missing, L1IsoPixelSeedsMap,       L1IsoPixelSeeds_,           kL1IsoPixelSeeds);
    getCollection( iEvent, missing, L1NonIsoPixelSeedsMap,    L1NonIsoPixelSeeds_,        kL1NonIsoPixelSeeds);
    getCollection( iEvent, missing, electronNonIsoHandle,     NonIsoElectron_,            kNonIsoElectron);
    getCollection( iEvent, missing, HcalEleNonIsolMap,        NonIsoEleHcal_,             kIsoEleHcal);
    getCollection( iEvent, missing, NonIsoTrackEleIsolMap,    NonIsoEleTrackIsol_,        kNonIsoEleTrackIsol);
    getCollection( iEvent, missing, TrackNonIsolMap,          NonIsoPhoTrackIsol_,        kNonIsoPhoTrackIsol);
    getCollection( iEvent, missing, TrackIsolMap,             IsoPhoTrackIsol_,           kIsoPhoTrackIsol);
    getCollection( iEvent, missing, electronR9IsoHandle,      IsoR9_,                     kIsoR9);  
    getCollection( iEvent, missing, electronR9NonIsoHandle,   NonIsoR9_,                  kNonIsoR9);   
    getCollection( iEvent, missing, electronR9IDIsoHandle,    IsoR9ID_,                   kIsoR9ID);
    getCollection( iEvent, missing, electronR9IDNonIsoHandle, NonIsoR9ID_,                kNonIsoR9ID);
    getCollection( iEvent, missing, electronHFClusterHandle,  HFECALClusters_,            kHFECALClusters); 
    getCollection( iEvent, missing, electronHFElectronHandle, HFElectrons_,               kHFElectrons); 
    /*
    getCollection( iEvent, missing, eerechits,                EERecHitTag_,               kEErechits ); 
    getCollection( iEvent, missing, ebrechits,                EBRecHitTag_,               kEBrechits );  
    getCollection( iEvent, missing, pi0eerechits,             pi0EERecHitTag_,            kpi0EErechits );  
    getCollection( iEvent, missing, pi0ebrechits,             pi0EBRecHitTag_,            kpi0EBrechits );   
    getCollection( iEvent, missing, hbherechits,              HBHERecHitTag_,             kHBHErechits );   
    getCollection( iEvent, missing, horechits,                HORecHitTag_,               kHOrechits );   
    getCollection( iEvent, missing, hfrechits,                HFRecHitTag_,               kHFrechits );   
    */
    getCollection( iEvent, missing, isopixeltracksL3,         IsoPixelTrackTagL3_,        kIsoPixelTracksL3 ); 
    getCollection( iEvent, missing, isopixeltracksL2,         IsoPixelTrackTagL2_,        kIsoPixelTracksL2 );
    getCollection( iEvent, missing, isopixeltrackPixVertices, IsoPixelTrackVerticesTag_,  kIsoPixelTrackVertices );
    getCollection( iEvent, missing, pixeltracksL3,            PixelTracksTagL3_,          kPixelTracksL3 ); 
    getCollection( iEvent, missing, pixelfedsize,             PixelFEDSizeTag_,           kPixelFEDSize );
    getCollection( iEvent, missing, pixelclusters,            PixelClustersTag_,          kPixelClusters );  
    getCollection( iEvent, missing, recoVertexsHLT,           VertexTagHLT_,              kRecoVerticesHLT ); 
    getCollection( iEvent, missing, recoVertexsOffline0,      VertexTagOffline0_,         kRecoVerticesOffline0 );
    
    double ptHat=-1.;
    if (genEventInfo.isValid()) {ptHat=genEventInfo->qScale();}
    
    
    // print missing collections
    if (not missing.empty() and (errCnt < errMax())) {
        errCnt++;
        std::stringstream out;       
        out <<  "OpenHLT analyser - missing collections (This message is for information only. RECO collections will always be missing when running on RAW, MC collections will always be missing when running on data):";
        BOOST_FOREACH(const MissingCollectionInfo & entry, missing)
        out << "\n\t" << entry.first << ": " << entry.second->encode();
        edm::LogPrint("OpenHLT") << out.str() << std::endl; 
        if (errCnt == errMax())
            edm::LogWarning("OpenHLT") << "Maximum error count reached -- No more messages will be printed.";
    }
    
    // run the analysis, passing required event fragments
    jet_analysis_.analyze(iEvent,
                          hltjets,
                          hltcorjets,
                          hltcorL1L2L3jets,
                          rho,
                          recjets,
                          reccorjets,
                          genjets,
                          recmet,
                          genmet,
                          ht,
                          l2taus,
                          taus,
                          pftaus,
                          pftausTightCone,
                          pfjets,
                          recoPftaus,
                          theRecoPFTauDiscrByTanCOnePercent,
                          theRecoPFTauDiscrByTanCHalfPercent,
                          theRecoPFTauDiscrByTanCQuarterPercent,
                          theRecoPFTauDiscrByTanCTenthPercent,
                          theRecoPFTauDiscrByIsolation,
                          theRecoPFTauDiscrAgainstMuon,
                          theRecoPFTauDiscrAgainstElec,
                          recoPFJets, 
                          caloTowers,
                          caloTowersCleanerUpperR45,
                          caloTowersCleanerLowerR45,
                          caloTowersCleanerNoR45,
                          recoPFMet,
                          towerThreshold_,
                          _MinPtGammas,
                          _MinPtChargedHadrons,
                          HltTree);
    
    muon_analysis_.analyze(
                           muon,
                           pfmuon,
                           l1extmu,
                           mucands2,
                           isoMap2,
                           mucands3,
                           isoMap3,
                           isoTrk10Map3,
                           oniaPixelCands,
                           oniaTrackCands,
                           dimuvtxcands3,
                           munovtxcands2,
                           trkmucands,
                           theMagField,
                           recoBeamSpotHandle,
                           // BSPosition,
                           HltTree);
    
    elm_analysis_.analyze(
                          electrons,
                          photons,
                          electronIsoHandle,
                          electronNonIsoHandle,
                          NonIsoTrackEleIsolMap,
                          TrackEleIsolMap,
                          L1IsoPixelSeedsMap,
                          L1NonIsoPixelSeedsMap,
                          recoIsolecalcands,
                          recoNonIsolecalcands,
                          EcalIsolMap,
                          EcalNonIsolMap,
                          HcalEleIsolMap,
                          HcalEleNonIsolMap,
                          HcalIsolMap,
                          HcalNonIsolMap,
                          TrackIsolMap,
                          TrackNonIsolMap,
                          lazyTools,
                          theMagField,
                          BSPosition,
                          eIDValueMap,
                          photonR9IsoHandle, 
                          photonR9NonIsoHandle, 
                          electronR9IsoHandle, 
                          electronR9NonIsoHandle, 
                          photonHoverEHIsoHandle,  
                          photonHoverEHNonIsoHandle,  
                          photonR9IDIsoHandle,
                          photonR9IDNonIsoHandle,
                          electronR9IDIsoHandle,
                          electronR9IDNonIsoHandle,
                          electronHFClusterHandle,
                          electronHFElectronHandle,
                          electronHFClusterAssociation,  
                          ActivityCandsHandle,
                          ActivityEcalIsoHandle,
                          ActivityHcalIsoHandle,
                          ActivityTrackIsoHandle,
                          ActivityR9Handle,
                          ActivityR9IDHandle,
                          ActivityHoverEHHandle,
                          HltTree);
    
    mct_analysis_.analyze(
                          mctruth,
                          ptHat,
                          simTracks,
                          simVertices,
                          HltTree);
    track_analysis_.analyze( 
                            isopixeltracksL3, 
                            isopixeltracksL2,
                            isopixeltrackPixVertices,                     
                            pixeltracksL3, 
                            pixelfedsize,
                            pixelclusters,
                            HltTree); 

    hlt_analysis_.analyze(
                          hltresults,
                          l1extemi,
                          l1extemn,
                          l1extmu,
                          l1extjetc,
                          l1extjetf,
                          l1extjet,
                          l1exttaujet,
                          l1extmet,
                          l1extmht,
                          l1GtRR,
                          gctBitCounts,
                          gctRingSums,
                          iSetup,
                          iEvent,
                          HltTree);

    bjet_analysis_.analyze(
                           hRawBJets, 
                           hCorrectedBJets,
                           hCorrectedBJetsL1FastJet,
                           hPFBJets, 
                           hLifetimeBJetsL25,
                           hLifetimeBJetsL3,
                           hLifetimeBJetsL25L1FastJet,
                           hLifetimeBJetsL3L1FastJet,
                           hLifetimePFBJetsL3,
                           hLifetimeBJetsL25SingleTrack,
                           hLifetimeBJetsL3SingleTrack,
                           hLifetimeBJetsL25SingleTrackL1FastJet,
                           hLifetimeBJetsL3SingleTrackL1FastJet,
                           hPerformanceBJetsL25,
                           hPerformanceBJetsL3,
                           hPerformanceBJetsL25L1FastJet,
                           hPerformanceBJetsL3L1FastJet,
                           HltTree);

    vrt_analysisHLT_.analyze(
                             recoVertexsHLT,
                             HltTree);

    vrt_analysisOffline0_.analyze(
                             recoVertexsOffline0,
                             HltTree);

    evt_header_.analyze(iEvent, HltTree);
    
    
    // std::cout << " Ending Event Analysis" << std::endl;
    // After analysis, fill the variables tree
    if (m_file)
        m_file->cd();
    HltTree->Fill();
}
void HLTAnalyzer::beginRun ( const edm::Run run,
const edm::EventSetup c 
) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 231 of file HLTAnalyzer.cc.

References HLTInfo::beginRun(), and hlt_analysis_.

                                                                   { 
    
    hlt_analysis_.beginRun(run, c);
}
void HLTAnalyzer::endJob ( void  ) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 754 of file HLTAnalyzer.cc.

References edm::ParameterSet::dump(), edm::getProcessParameterSet(), HltTree, list(), m_file, and treeWeight.

                         {
    
    if (m_file)
        m_file->cd();
    
    const edm::ParameterSet &thepset = edm::getProcessParameterSet();   
    TList *list = HltTree->GetUserInfo();   
    list->Add(new TObjString(thepset.dump().c_str()));   
    
    HltTree->SetWeight(treeWeight);
    HltTree->Write();
    delete HltTree;
    HltTree = 0;
    
    if (m_file) {         // if there was a tree file...
        m_file->Write();    // write out the branches
        delete m_file;      // close and delete the file
        m_file = 0;         // set to zero to clean up
    }
    
}
static int HLTAnalyzer::errMax ( ) [inline, static, private]

Definition at line 198 of file HLTAnalyzer.h.

Referenced by analyze().

{ return 5; }

Member Data Documentation

double HLTAnalyzer::_EtaMax [private]

Definition at line 201 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().

double HLTAnalyzer::_EtaMin [private]

Definition at line 201 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().

std::string HLTAnalyzer::_HistName [private]

Definition at line 200 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().

Definition at line 202 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

double HLTAnalyzer::_MinPtGammas [private]

Definition at line 202 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 165 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 166 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 170 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 168 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 169 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 167 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 66 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 82 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 82 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 82 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 139 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 140 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 102 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 164 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 141 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 142 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 137 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 68 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

int HLTAnalyzer::errCnt [private]

Definition at line 197 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Default analyses.

Definition at line 64 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

double HLTAnalyzer::filterEff_ [private]

Definition at line 79 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().

int HLTAnalyzer::firstLumi_ [private]

Definition at line 78 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 99 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 99 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 98 of file HLTAnalyzer.h.

Definition at line 98 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 143 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 144 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 161 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 162 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 74 of file HLTAnalyzer.h.

Referenced by analyze(), beginRun(), and HLTAnalyzer().

Definition at line 83 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 83 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 83 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 103 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 57 of file HLTAnalyzer.h.

Referenced by analyze(), endJob(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 147 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 149 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 151 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 159 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 145 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 183 of file HLTAnalyzer.h.

Referenced by analyze().

Definition at line 182 of file HLTAnalyzer.h.

Referenced by analyze().

Definition at line 184 of file HLTAnalyzer.h.

Referenced by analyze().

Definition at line 156 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 158 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 65 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

std::string HLTAnalyzer::l1extramc_ [private]

Definition at line 86 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().

std::string HLTAnalyzer::l1extramu_ [private]

Definition at line 86 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().

Definition at line 153 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 154 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 103 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

int HLTAnalyzer::lastLumi_ [private]

Definition at line 78 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 119 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 120 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

TFile* HLTAnalyzer::m_file [private]

Definition at line 203 of file HLTAnalyzer.h.

Referenced by analyze(), endJob(), and HLTAnalyzer().

Definition at line 88 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 89 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 92 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 90 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 91 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 94 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 95 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 87 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 93 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 122 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 124 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 127 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 129 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 123 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 125 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 128 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 130 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 126 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 131 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 133 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 132 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 134 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 121 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 118 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 69 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 97 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 101 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 101 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 101 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 101 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 101 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 84 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 67 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 101 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 148 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 150 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 152 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 160 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 146 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 155 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 157 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 102 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 102 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 97 of file HLTAnalyzer.h.

Definition at line 104 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 85 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 103 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 103 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 138 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 191 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 190 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 189 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 81 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 107 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 114 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 113 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 112 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 109 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 108 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 110 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 111 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 83 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 97 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 78 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 73 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 102 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

double HLTAnalyzer::treeWeight [private]

Definition at line 79 of file HLTAnalyzer.h.

Referenced by endJob(), and HLTAnalyzer().

Definition at line 194 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 195 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 75 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

Definition at line 76 of file HLTAnalyzer.h.

Referenced by analyze(), and HLTAnalyzer().

double HLTAnalyzer::xSection_ [private]

Definition at line 79 of file HLTAnalyzer.h.

Referenced by HLTAnalyzer().