CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
EVTColContainer Class Reference

container with all the objects needed More...

Public Types

enum  {
  PHOTON = 22, ELEC = 11, MUON = 13, MUTRK = 130,
  PFTAU = 15, TRACK = 0, PFMET = 39, PFMHT = 40,
  MET = 390000, GENMET = 390001, CALOMET = 390002, HLTMET = 390003,
  L1MET = 390004, PFJET = 211, CALOJET = 111, CALOMHT = 400002,
  _nMAX
}
 
enum  {
  MUON = 13, ELEC = 11, PHOTON = 22, CALOMET = 390002,
  PFMET = 39, PFTAU = 15, PFJET = 211, _nMAX
}
 

Public Member Functions

 EVTColContainer ()
 
 EVTColContainer ()
 
const unsigned int getSize (const unsigned int &objtype) const
 
const unsigned int getSize (const unsigned int &objtype) const
 Get size of collections. More...
 
bool isAllInit ()
 
bool isAllInit ()
 
bool isCommonInit ()
 
bool isCommonInit ()
 
void reset ()
 
void reset ()
 Reset: clear all collections. More...
 
void set (const reco::MuonCollection *v)
 Setter: multiple overloaded function. More...
 
void set (const reco::GsfElectronCollection *v)
 
void set (const reco::PhotonCollection *v)
 
void set (const reco::CaloMETCollection *v)
 
void set (const reco::PFMETCollection *v)
 
void set (const reco::PFTauCollection *v)
 
void set (const reco::PFJetCollection *v)
 
void set (const reco::MuonCollection *v)
 Setter: multiple overloaded function. More...
 
void set (const reco::JetTagCollection *v)
 
void set (const reco::TrackCollection *v)
 
void set (const reco::GsfElectronCollection *v)
 
void set (const reco::PhotonCollection *v)
 
void set (const reco::METCollection *v)
 
void set (const reco::PFMETCollection *v)
 
void set (const reco::GenMETCollection *v)
 
void set (const reco::CaloMETCollection *v)
 
void set (const l1extra::L1EtMissParticleCollection *v)
 
void set (const reco::PFTauCollection *v)
 
void set (const reco::PFJetCollection *v)
 
void set (const reco::CaloJetCollection *v)
 
void setCaloMHT (const reco::CaloMETCollection *v)
 
void setPFMHT (const reco::PFMETCollection *v)
 

Static Public Member Functions

static std::string getTypeString (const unsigned int &objtype)
 
static const std::string getTypeString (const unsigned int &objtype)
 Tranform types into strings. More...
 

Public Attributes

const reco::BeamSpotbs
 
const std::vector
< reco::CaloJet > * 
caloJets
 
const std::vector
< reco::CaloMET > * 
caloMETs
 
const std::vector
< reco::CaloMET > * 
caloMHTs
 
const std::vector
< reco::GsfElectron > * 
electrons
 
const reco::GenJetCollectiongenJets
 
const std::vector< reco::GenMET > * genMETs
 
const reco::GenParticleCollectiongenParticles
 
const reco::JetTagCollectionjetTags
 
const std::vector
< l1extra::L1EtMissParticle > * 
l1METs
 
const std::vector< reco::MET > * METs
 
const std::vector< reco::Muon > * muons
 
int nInitialized
 
int nOfCollections
 
const std::vector< reco::PFJet > * pfJets
 
const std::vector< reco::PFMET > * pfMETs
 
const std::vector< reco::PFMET > * pfMHTs
 
const std::vector< reco::PFTau > * pfTaus
 
const std::vector< reco::Photon > * photons
 
const
trigger::TriggerEventWithRefs
rawTriggerEvent
 
const std::vector< reco::Track > * tracks
 
const edm::TriggerResultstriggerResults
 

Detailed Description

container with all the objects needed

Container with all the objects needed Notice that I have "more or less" followed the pdgIds of the particles involved.

Class to manage all the object collections in the Exotica Validation package.

Author
J. Duarte Campderros

Generate histograms for trigger efficiencies Higgs related Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/HiggsWGHLTValidate

Author
J. Duarte Campderros

Definition at line 45 of file EVTColContainer.cc.

Member Enumeration Documentation

anonymous enum
Enumerator
PHOTON 
ELEC 
MUON 
MUTRK 
PFTAU 
TRACK 
PFMET 
PFMHT 
MET 
GENMET 
CALOMET 
HLTMET 
L1MET 
PFJET 
CALOJET 
CALOMHT 
_nMAX 

Definition at line 46 of file EVTColContainer.cc.

anonymous enum
Enumerator
MUON 
ELEC 
PHOTON 
CALOMET 
PFMET 
PFTAU 
PFJET 
_nMAX 

Definition at line 42 of file EVTColContainer.cc.

Constructor & Destructor Documentation

EVTColContainer::EVTColContainer ( )
inline

Definition at line 87 of file EVTColContainer.cc.

EVTColContainer::EVTColContainer ( )
inline

Definition at line 70 of file EVTColContainer.cc.

Member Function Documentation

const unsigned int EVTColContainer::getSize ( const unsigned int &  objtype) const
inline

Definition at line 154 of file EVTColContainer.cc.

const unsigned int EVTColContainer::getSize ( const unsigned int &  objtype) const
inline

Get size of collections.

Definition at line 216 of file EVTColContainer.cc.

static std::string EVTColContainer::getTypeString ( const unsigned int &  objtype)
inlinestatic

Definition at line 193 of file EVTColContainer.cc.

static const std::string EVTColContainer::getTypeString ( const unsigned int &  objtype)
inlinestatic

Tranform types into strings.

Definition at line 255 of file EVTColContainer.cc.

bool EVTColContainer::isAllInit ( )
inline

Definition at line 89 of file EVTColContainer.cc.

bool EVTColContainer::isAllInit ( )
inline

Definition at line 110 of file EVTColContainer.cc.

bool EVTColContainer::isCommonInit ( )
inline

Definition at line 94 of file EVTColContainer.cc.

bool EVTColContainer::isCommonInit ( )
inline

Definition at line 115 of file EVTColContainer.cc.

void EVTColContainer::reset ( void  )
inline

Definition at line 99 of file EVTColContainer.cc.

void EVTColContainer::reset ( void  )
inline

Reset: clear all collections.

Definition at line 121 of file EVTColContainer.cc.

Referenced by HLTHiggsValidator::analyze(), and HLTExoticaValidator::analyze().

void EVTColContainer::set ( const reco::MuonCollection v)
inline

Setter: multiple overloaded function.

Definition at line 110 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::GsfElectronCollection v)
inline

Definition at line 115 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PhotonCollection v)
inline

Definition at line 120 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::CaloMETCollection v)
inline

Definition at line 125 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PFMETCollection v)
inline

Definition at line 130 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PFTauCollection v)
inline

Definition at line 135 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PFJetCollection v)
inline

Definition at line 140 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::MuonCollection v)
inline

Setter: multiple overloaded function.

Definition at line 144 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::JetTagCollection v)
inline

Definition at line 145 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::TrackCollection v)
inline

Definition at line 149 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::GsfElectronCollection v)
inline

Definition at line 154 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PhotonCollection v)
inline

Definition at line 159 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::METCollection v)
inline

Definition at line 164 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PFMETCollection v)
inline

Definition at line 169 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::GenMETCollection v)
inline

Definition at line 179 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::CaloMETCollection v)
inline

Definition at line 184 of file EVTColContainer.cc.

void EVTColContainer::set ( const l1extra::L1EtMissParticleCollection v)
inline

Definition at line 194 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PFTauCollection v)
inline

Definition at line 199 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::PFJetCollection v)
inline

Definition at line 204 of file EVTColContainer.cc.

void EVTColContainer::set ( const reco::CaloJetCollection v)
inline

Definition at line 209 of file EVTColContainer.cc.

void EVTColContainer::setCaloMHT ( const reco::CaloMETCollection v)
inline

Definition at line 189 of file EVTColContainer.cc.

void EVTColContainer::setPFMHT ( const reco::PFMETCollection v)
inline

Definition at line 174 of file EVTColContainer.cc.

Member Data Documentation

const reco::BeamSpot* EVTColContainer::bs

Definition at line 85 of file EVTColContainer.cc.

const std::vector<reco::CaloJet>* EVTColContainer::caloJets

Definition at line 83 of file EVTColContainer.cc.

const std::vector< reco::CaloMET > * EVTColContainer::caloMETs

Definition at line 78 of file EVTColContainer.cc.

const std::vector<reco::CaloMET>* EVTColContainer::caloMHTs

Definition at line 79 of file EVTColContainer.cc.

const std::vector< reco::GsfElectron > * EVTColContainer::electrons

Definition at line 72 of file EVTColContainer.cc.

const reco::GenJetCollection* EVTColContainer::genJets

Definition at line 58 of file EVTColContainer.cc.

const std::vector<reco::GenMET>* EVTColContainer::genMETs

Definition at line 77 of file EVTColContainer.cc.

const reco::GenParticleCollection * EVTColContainer::genParticles

Definition at line 69 of file EVTColContainer.cc.

const reco::JetTagCollection* EVTColContainer::jetTags

Definition at line 66 of file EVTColContainer.cc.

const std::vector<l1extra::L1EtMissParticle>* EVTColContainer::l1METs

Definition at line 80 of file EVTColContainer.cc.

const std::vector<reco::MET>* EVTColContainer::METs

Definition at line 74 of file EVTColContainer.cc.

const std::vector< reco::Muon > * EVTColContainer::muons

Definition at line 70 of file EVTColContainer.cc.

int EVTColContainer::nInitialized

Definition at line 67 of file EVTColContainer.cc.

int EVTColContainer::nOfCollections

Definition at line 66 of file EVTColContainer.cc.

const std::vector< reco::PFJet > * EVTColContainer::pfJets

Definition at line 82 of file EVTColContainer.cc.

const std::vector< reco::PFMET > * EVTColContainer::pfMETs

Definition at line 75 of file EVTColContainer.cc.

const std::vector<reco::PFMET>* EVTColContainer::pfMHTs

Definition at line 76 of file EVTColContainer.cc.

const std::vector< reco::PFTau > * EVTColContainer::pfTaus

Definition at line 81 of file EVTColContainer.cc.

const std::vector< reco::Photon > * EVTColContainer::photons

Definition at line 73 of file EVTColContainer.cc.

const trigger::TriggerEventWithRefs* EVTColContainer::rawTriggerEvent

Definition at line 68 of file EVTColContainer.cc.

const std::vector<reco::Track>* EVTColContainer::tracks

Definition at line 71 of file EVTColContainer.cc.

const edm::TriggerResults * EVTColContainer::triggerResults

Definition at line 84 of file EVTColContainer.cc.