Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

cafe::Event Class Reference
[CAF Environment (Cafe)]

The D0 specific Event class. More...

#include <Event.hpp>

Inheritance diagram for cafe::Event:

cafe::EventBase List of all members.

Public Member Functions

 Event ()
const TMBCellContainergetCaloCells (const Variables &vars=cafe::detail::empty) const
 Get container with all calorimeter cells.

Collection< TMBLumgetLum (const Variables &vars=cafe::detail::empty) const
 Luminosity chunk.

Collection< TMBLumVgetLumV (const Variables &vars=cafe::detail::empty) const
 Luminosity chunk.

 ClassDef (Event, 0)
Global
const TMBGlobalgetGlobal (const Variables &vars=cafe::detail::empty) const
 Get global event information (like run number, event number, ...).

const Collection< TMBHistorygetHistory (const Variables &vars=cafe::detail::empty) const
 Get history information.

const TMBEventFlagsgetEventFlags (const Variables &vars=cafe::detail::empty) const
 Get event flags.

Reco Objects.
Collection< TMBMuongetMuons (const Variables &vars=cafe::detail::empty) const
 Get all muons.

Collection< TMBEMClustergetEM (const std::string &branchName, const Variables &vars=cafe::detail::empty) const
 Get all EM clusters from the given branch.

Collection< TMBEMClustergetEMscone (const Variables &vars=cafe::detail::empty) const
 Get simple cone EM clusters.

Collection< TMBEMClustergetEMcnn (const Variables &vars=cafe::detail::empty) const
 Get Cell NN EM clusters.

Collection< TMBJetgetJets (const std::string &branchName, const Variables &vars=cafe::detail::empty) const
 Get all jets from given branch.

Collection< TMBJetgetJCCA (const Variables &vars=cafe::detail::empty) const
 Get JCCA jets.

Collection< TMBJetgetJCCB (const Variables &vars=cafe::detail::empty) const
 Get JCCB jets.

Collection< TMBParticleJetgetParticleJets (const std::string &branchName, const Variables &vars=cafe::detail::empty) const
 Get all particle jets from given branch.

Collection< TMBParticleJetgetParticlesJCCA (const Variables &vars=cafe::detail::empty) const
 Get JCCA particle jets.

Collection< TMBParticleJetgetParticlesJCCB (const Variables &vars=cafe::detail::empty) const
 Get JCCB particle jets.

Collection< TMBTrackgetTracks (const Variables &vars=cafe::detail::empty) const
 Get all tracks.

Collection< TMBIsoTrackgetIsoTracks (const Variables &vars=cafe::detail::empty) const
 Get all isolated tracks.

Collection< TMBTaugetTaus (const Variables &vars=cafe::detail::empty) const
 Get all taus.

Collection< TMBPrimaryVertexgetPrimaryVertices (const Variables &vars=cafe::detail::empty) const
 Get all primary vertices.

Collection< TMBPrimaryVertexgetPrimaryVertices (const std::string &type, const Variables &vars=cafe::detail::empty) const
 Get all primayr vertices of a given type.

Collection< TMBTrackCalgetTrackCals (const Variables &vars=cafe::detail::empty) const
 Get TrackCal .

Collection< TMBTrackCalJetgetTrackCalJCCA (const Variables &vars=cafe::detail::empty) const
 Get TrackCalJets for 0.7 cone jets.

Collection< TMBTrackCalJetgetTrackCalJCCB (const Variables &vars=cafe::detail::empty) const
 Get TrackCalJets for 0.5 cone jets.

const TMBMetgetMet (const Variables &vars=cafe::detail::empty) const
 Get missing ET object.

const TMBMetExgetMetEx (const Variables &vars=cafe::detail::empty) const
 Get expert missing ET object.

const TMBLeBobgetLeBob (const Variables &vars=cafe::detail::empty) const
 Get LeBob.

Collection< TMBCpsgetCPS (const Variables &vars=cafe::detail::empty) const
 Get CPS information.

Collection< TMBFpsgetFPS (const Variables &vars=cafe::detail::empty) const
 Get FPS information.

Collection< TMBFpdgetFPD (const Variables &vars=cafe::detail::empty) const
 Get FPD information.

B-ID
  • jetAlgo should be one of corrJCCA or corrJCCB - qual should be one of LOOSE, MEDIUM, TIGHT


Collection< TMBBTaggetCSIP (const std::string &jetAlgo, const std::string &qual, const Variables &vars=cafe::detail::empty)
Collection< TMBBTagSLTgetSLT (const std::string &jetAlgo, const std::string &qual, const Variables &vars=cafe::detail::empty)
Collection< TMBBTagJLIPgetJLIP (const std::string &jetAlgo, const std::string &qual, const Variables &vars=cafe::detail::empty)
Collection< TMBBTagSVTgetSVT (const std::string &jetAlgo, const std::string &qual, const Variables &vars=cafe::detail::empty)
Monte Carlo
const TMBMCevtInfogetMCEventInfo (const Variables &vars=cafe::detail::empty) const
 Get MC Event information.

Collection< TMBMCvtxgetMCVertices (const Variables &vars=cafe::detail::empty) const
 Get all MC vertices.

Collection< TMBMCpartgetMCParticles (const Variables &vars=cafe::detail::empty) const
 Get all MC particles.

Trigger
Collection< TMBTriggergetTriggers (const Variables &vars=cafe::detail::empty) const
 Get all triggers.

const TMBL1AndOrgetL1AndOr (const Variables &vars=cafe::detail::empty) const
 Get L1 AndOr terms.

const TMBL1NamesgetL1Names (const Variables &vars=cafe::detail::empty) const
 Get L1 terms.

const TMBL2NamesgetL2Names (const Variables &vars=cafe::detail::empty) const
 Get L2 terms.

const TMBL1CalgetL1Cal (const Variables &vars=cafe::detail::empty) const
 Get L1 Calorimeter information.

Collection< TMBL1CalTilegetL1CalTiles (const Variables &vars=cafe::detail::empty) const
 Get L1Cal Tiles.

Collection< TMBL1CalTowergetL1CalTotalTowers (const Variables &vars=cafe::detail::empty) const
 Get L1Cal Towers.

Collection< TMBL1CalTowergetL1CalEMTowers (const Variables &vars=cafe::detail::empty) const
 Get L1Cal Towers.

const TMBL1MuongetL1Muon (const Variables &vars=cafe::detail::empty) const
 Get L1 Muon information.

const TMBL1CTTgetL1CTT (const Variables &vars=cafe::detail::empty) const
 Get L1 CTT.

Collection< TMBL1toL2CTTgetL1toL2CTT (const Variables &vars=cafe::detail::empty) const
 Get L1toL2CTT.

Collection< TMBL1TrackgetL1Tracks (const Variables &vars=cafe::detail::empty) const
 Get L1 Tracks.

Collection< TMBL2CPSgetL2CPSs (const Variables &vars=cafe::detail::empty) const
 Get L2 CPS.

Collection< TMBL2EMgetL2EMs (const Variables &vars=cafe::detail::empty) const
 Get L2 Preprocessor EM.

Collection< TMBL2MuongetL2Muons (const Variables &vars=cafe::detail::empty) const
 Get L2 Preprocessor Muon.

Collection< TMBL2JetgetL2Jets (const Variables &vars=cafe::detail::empty) const
 Get L2 Preprocessor Jet.

Collection< TMBL2TrackgetL2STTPT (const Variables &vars=cafe::detail::empty) const
 Get L2 STTPT Tracks.

Collection< TMBL2TrackgetL2STTIP (const Variables &vars=cafe::detail::empty) const
 Get L2 STTIP Tracks.

Collection< TMBL2TrackgetL2CTT (const Variables &vars=cafe::detail::empty) const
 Get L2 CTT Tracks.

Collection< TMBL2GblJetgetL2GblJets (const Variables &vars=cafe::detail::empty) const
 Get L2 GblJet.

Collection< TMBL2GblEMgetL2GblEMs (const Variables &vars=cafe::detail::empty) const
 Get L2 GblEM.

Collection< TMBL2GblMuongetL2GblMuons (const Variables &vars=cafe::detail::empty) const
 Get L2 GblMuon.

Collection< TMBL2GblTrackgetL2GblTracks (const Variables &vars=cafe::detail::empty) const
 Get L2 GblTrack.

Collection< TMBL2GblInvMassgetL2GblInvMass (const Variables &vars=cafe::detail::empty) const
 Get L2 GblInvMass.

Collection< TMBL2GblMJtgetL2GblMJts (const Variables &vars=cafe::detail::empty) const
 Get L2 GblMJt.

Collection< TMBL2GblHtgetL2GblHts (const Variables &vars=cafe::detail::empty) const
 Get L2 GblHt.

Collection< TMBL3BTagIPgetL3BTagIPs (const Variables &vars=cafe::detail::empty) const
 Get L3 BTagIP.

Collection< TMBL3CFTVtxgetL3CFTVtxs (const Variables &vars=cafe::detail::empty) const
 Get L3 CFTVtx.

Collection< TMBL3ElegetL3Eles (const Variables &vars=cafe::detail::empty) const
 Get L3 Ele.

Collection< TMBL3IPTrackgetL3IPTracks (const Variables &vars=cafe::detail::empty) const
 Get L3 IPTrack.

Collection< TMBL3IsolationgetL3Isolations (const Variables &vars=cafe::detail::empty) const
 Get L3 Isolation.

Collection< TMBL3JetgetL3Jets (const Variables &vars=cafe::detail::empty) const
 Get L3 Jet.

Collection< TMBL3MuongetL3Muons (const Variables &vars=cafe::detail::empty) const
 Get L3 Muon.

Collection< TMBL3PhotongetL3Photons (const Variables &vars=cafe::detail::empty) const
 Get L3 Photon.

Collection< TMBL3TaugetL3Taus (const Variables &vars=cafe::detail::empty) const
 Get L3 Tau.

Collection< TMBL3TrackgetL3Tracks (const Variables &vars=cafe::detail::empty) const
 Get L3 Track.

Collection< TMBL3MEtgetL3MEts (const Variables &vars=cafe::detail::empty) const
 Get L3 MEt.


Detailed Description

The D0 specific Event class.

Contains specialized methods to access all common D0 physics objects.

Definition at line 112 of file Event.hpp.


Constructor & Destructor Documentation

cafe::Event::Event  ) 
 

Definition at line 6 of file Event.cpp.


Member Function Documentation

cafe::Event::ClassDef Event  ,
 

Reimplemented from cafe::EventBase.

const TMBCellContainer* cafe::Event::getCaloCells const Variables vars = cafe::detail::empty  )  const [inline]
 

Get container with all calorimeter cells.

Definition at line 590 of file Event.hpp.

Collection<TMBCps> cafe::Event::getCPS const Variables vars = cafe::detail::empty  )  const [inline]
 

Get CPS information.

Definition at line 275 of file Event.hpp.

Collection<TMBBTag> cafe::Event::getCSIP const std::string &  jetAlgo,
const std::string &  qual,
const Variables vars = cafe::detail::empty
[inline]
 

Definition at line 302 of file Event.hpp.

Collection<TMBEMCluster> cafe::Event::getEM const std::string &  branchName,
const Variables vars = cafe::detail::empty
const [inline]
 

Get all EM clusters from the given branch.

Default branches stored are EMscone and EMcnn.

Definition at line 152 of file Event.hpp.

Referenced by getEMcnn(), and getEMscone().

Collection<TMBEMCluster> cafe::Event::getEMcnn const Variables vars = cafe::detail::empty  )  const [inline]
 

Get Cell NN EM clusters.

Definition at line 164 of file Event.hpp.

References getEM().

Collection<TMBEMCluster> cafe::Event::getEMscone const Variables vars = cafe::detail::empty  )  const [inline]
 

Get simple cone EM clusters.

Definition at line 158 of file Event.hpp.

References getEM().

const TMBEventFlags* cafe::Event::getEventFlags const Variables vars = cafe::detail::empty  )  const [inline]
 

Get event flags.

Definition at line 132 of file Event.hpp.

Referenced by cafe::EventFlags::processEvent().

Collection<TMBFpd> cafe::Event::getFPD const Variables vars = cafe::detail::empty  )  const [inline]
 

Get FPD information.

Definition at line 287 of file Event.hpp.

Collection<TMBFps> cafe::Event::getFPS const Variables vars = cafe::detail::empty  )  const [inline]
 

Get FPS information.

Definition at line 281 of file Event.hpp.

const TMBGlobal* cafe::Event::getGlobal const Variables vars = cafe::detail::empty  )  const [inline]
 

Get global event information (like run number, event number, ...).

Definition at line 120 of file Event.hpp.

Referenced by cafe::RunEventChecker::isNewEvent(), caf_util::JetSelector::processEvent(), cafe::GoodRuns::processEvent(), caf_util::FindDuplicateEvents::processEvent(), caf_util::EventQuality::processEvent(), and cafe::BadLBNs::processEvent().

const Collection<TMBHistory> cafe::Event::getHistory const Variables vars = cafe::detail::empty  )  const [inline]
 

Get history information.

Definition at line 126 of file Event.hpp.

Collection<TMBIsoTrack> cafe::Event::getIsoTracks const Variables vars = cafe::detail::empty  )  const [inline]
 

Get all isolated tracks.

Definition at line 213 of file Event.hpp.

Collection<TMBJet> cafe::Event::getJCCA const Variables vars = cafe::detail::empty  )  const [inline]
 

Get JCCA jets.

Definition at line 176 of file Event.hpp.

References getJets().

Collection<TMBJet> cafe::Event::getJCCB const Variables vars = cafe::detail::empty  )  const [inline]
 

Get JCCB jets.

Definition at line 182 of file Event.hpp.

References getJets().

Collection<TMBJet> cafe::Event::getJets const std::string &  branchName,
const Variables vars = cafe::detail::empty
const [inline]
 

Get all jets from given branch.

Definition at line 170 of file Event.hpp.

Referenced by getJCCA(), and getJCCB().

Collection<TMBBTagJLIP> cafe::Event::getJLIP const std::string &  jetAlgo,
const std::string &  qual,
const Variables vars = cafe::detail::empty
[inline]
 

Definition at line 318 of file Event.hpp.

const TMBL1AndOr* cafe::Event::getL1AndOr const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1 AndOr terms.

Definition at line 369 of file Event.hpp.

const TMBL1Cal* cafe::Event::getL1Cal const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1 Calorimeter information.

Definition at line 387 of file Event.hpp.

Collection<TMBL1CalTower> cafe::Event::getL1CalEMTowers const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1Cal Towers.

Definition at line 406 of file Event.hpp.

Collection<TMBL1CalTile> cafe::Event::getL1CalTiles const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1Cal Tiles.

Definition at line 394 of file Event.hpp.

Collection<TMBL1CalTower> cafe::Event::getL1CalTotalTowers const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1Cal Towers.

Definition at line 400 of file Event.hpp.

const TMBL1CTT* cafe::Event::getL1CTT const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1 CTT.

Definition at line 418 of file Event.hpp.

const TMBL1Muon* cafe::Event::getL1Muon const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1 Muon information.

Definition at line 412 of file Event.hpp.

const TMBL1Names* cafe::Event::getL1Names const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1 terms.

Definition at line 375 of file Event.hpp.

Collection<TMBL1toL2CTT> cafe::Event::getL1toL2CTT const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1toL2CTT.

Definition at line 424 of file Event.hpp.

Collection<TMBL1Track> cafe::Event::getL1Tracks const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L1 Tracks.

Definition at line 430 of file Event.hpp.

Collection<TMBL2CPS> cafe::Event::getL2CPSs const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 CPS.

Definition at line 437 of file Event.hpp.

Collection<TMBL2Track> cafe::Event::getL2CTT const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 CTT Tracks.

Definition at line 473 of file Event.hpp.

Collection<TMBL2EM> cafe::Event::getL2EMs const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 Preprocessor EM.

Definition at line 443 of file Event.hpp.

Collection<TMBL2GblEM> cafe::Event::getL2GblEMs const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblEM.

Definition at line 485 of file Event.hpp.

Collection<TMBL2GblHt> cafe::Event::getL2GblHts const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblHt.

Definition at line 515 of file Event.hpp.

Collection<TMBL2GblInvMass> cafe::Event::getL2GblInvMass const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblInvMass.

Definition at line 503 of file Event.hpp.

Collection<TMBL2GblJet> cafe::Event::getL2GblJets const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblJet.

Definition at line 479 of file Event.hpp.

Collection<TMBL2GblMJt> cafe::Event::getL2GblMJts const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblMJt.

Definition at line 509 of file Event.hpp.

Collection<TMBL2GblMuon> cafe::Event::getL2GblMuons const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblMuon.

Definition at line 491 of file Event.hpp.

Collection<TMBL2GblTrack> cafe::Event::getL2GblTracks const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 GblTrack.

Definition at line 497 of file Event.hpp.

Collection<TMBL2Jet> cafe::Event::getL2Jets const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 Preprocessor Jet.

Definition at line 455 of file Event.hpp.

Collection<TMBL2Muon> cafe::Event::getL2Muons const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 Preprocessor Muon.

Definition at line 449 of file Event.hpp.

const TMBL2Names* cafe::Event::getL2Names const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 terms.

Definition at line 381 of file Event.hpp.

Collection<TMBL2Track> cafe::Event::getL2STTIP const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 STTIP Tracks.

Definition at line 467 of file Event.hpp.

Collection<TMBL2Track> cafe::Event::getL2STTPT const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L2 STTPT Tracks.

Definition at line 461 of file Event.hpp.

Collection<TMBL3BTagIP> cafe::Event::getL3BTagIPs const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 BTagIP.

Definition at line 522 of file Event.hpp.

Collection<TMBL3CFTVtx> cafe::Event::getL3CFTVtxs const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 CFTVtx.

Definition at line 528 of file Event.hpp.

Collection<TMBL3Ele> cafe::Event::getL3Eles const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Ele.

Definition at line 534 of file Event.hpp.

Collection<TMBL3IPTrack> cafe::Event::getL3IPTracks const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 IPTrack.

Definition at line 540 of file Event.hpp.

Collection<TMBL3Isolation> cafe::Event::getL3Isolations const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Isolation.

Definition at line 546 of file Event.hpp.

Collection<TMBL3Jet> cafe::Event::getL3Jets const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Jet.

Definition at line 552 of file Event.hpp.

Collection<TMBL3MEt> cafe::Event::getL3MEts const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 MEt.

Definition at line 582 of file Event.hpp.

Collection<TMBL3Muon> cafe::Event::getL3Muons const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Muon.

Definition at line 558 of file Event.hpp.

Collection<TMBL3Photon> cafe::Event::getL3Photons const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Photon.

Definition at line 564 of file Event.hpp.

Collection<TMBL3Tau> cafe::Event::getL3Taus const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Tau.

Definition at line 570 of file Event.hpp.

Collection<TMBL3Track> cafe::Event::getL3Tracks const Variables vars = cafe::detail::empty  )  const [inline]
 

Get L3 Track.

Definition at line 576 of file Event.hpp.

const TMBLeBob* cafe::Event::getLeBob const Variables vars = cafe::detail::empty  )  const [inline]
 

Get LeBob.

Definition at line 269 of file Event.hpp.

Collection<TMBLum> cafe::Event::getLum const Variables vars = cafe::detail::empty  )  const [inline]
 

Luminosity chunk.

Definition at line 596 of file Event.hpp.

Collection<TMBLumV> cafe::Event::getLumV const Variables vars = cafe::detail::empty  )  const [inline]
 

Luminosity chunk.

Definition at line 602 of file Event.hpp.

const TMBMCevtInfo* cafe::Event::getMCEventInfo const Variables vars = cafe::detail::empty  )  const [inline]
 

Get MC Event information.

Definition at line 338 of file Event.hpp.

Referenced by caf_util::METSelector::processEvent(), caf_util::JetSelector::processEvent(), caf_util::FindDuplicateEvents::processEvent(), caf_util::BTagJetSelector::processEvent(), cafe::BadLBNs::processEvent(), and caf_util::ApplyJES::processEvent().

Collection<TMBMCpart> cafe::Event::getMCParticles const Variables vars = cafe::detail::empty  )  const [inline]
 

Get all MC particles.

Definition at line 350 of file Event.hpp.

Collection<TMBMCvtx> cafe::Event::getMCVertices const Variables vars = cafe::detail::empty  )  const [inline]
 

Get all MC vertices.

Definition at line 344 of file Event.hpp.

const TMBMet* cafe::Event::getMet const Variables vars = cafe::detail::empty  )  const [inline]
 

Get missing ET object.

Definition at line 257 of file Event.hpp.

const TMBMetEx* cafe::Event::getMetEx const Variables vars = cafe::detail::empty  )  const [inline]
 

Get expert missing ET object.

Definition at line 263 of file Event.hpp.

Collection<TMBMuon> cafe::Event::getMuons const Variables vars = cafe::detail::empty  )  const [inline]
 

Get all muons.

Definition at line 145 of file Event.hpp.

Collection<TMBParticleJet> cafe::Event::getParticleJets const std::string &  branchName,
const Variables vars = cafe::detail::empty
const [inline]
 

Get all particle jets from given branch.

Definition at line 189 of file Event.hpp.

Referenced by