CMS 3D CMS Logo

Classes | Public Member Functions | Private Attributes

EventColin Class Reference

#include <EventColin.h>

List of all members.

Classes

class  Block
class  CaloTower
class  Cluster
class  Jet
class  Particle

Public Member Functions

void addBlock (const Block &b)
void addCaloTower (const CaloTower &ct)
void addCandidate (const Particle &ptc)
void addCluster (const Cluster &ptc)
void addClusterIsland (const Cluster &ptc)
void addJetEHT (const Jet &jets)
void addJetMC (const Jet &jets)
void addJetPF (const Jet &jets)
void addParticle (const Particle &ptc)
const std::vector
< EventColin::Cluster > & 
clusters ()
const std::vector
< EventColin::Cluster > & 
clustersIsland ()
 EventColin ()
const std::vector
< EventColin::Jet > & 
jetsEHT ()
const std::vector
< EventColin::Jet > & 
jetsMC ()
const std::vector
< EventColin::Jet > & 
jetsPF ()
const std::vector
< EventColin::Particle > & 
particles ()
void reset ()
void setNTracks (int nTracks)
void setNumber (int number)
virtual ~EventColin ()

Private Attributes

std::vector< EventColin::Blockblocks_
std::vector
< EventColin::CaloTower
caloTowers_
std::vector< EventColin::Particlecandidates_
std::vector< EventColin::Clusterclusters_
std::vector< EventColin::ClusterclustersIsland_
std::vector< EventColin::JetjetsEHT_
std::vector< EventColin::JetjetsMC_
std::vector< EventColin::JetjetsPF_
int nTracks_
int number_
std::vector< EventColin::Particleparticles_

Detailed Description

Definition at line 7 of file EventColin.h.


Constructor & Destructor Documentation

EventColin::EventColin ( ) [inline]

Definition at line 10 of file EventColin.h.

: number_(-1), nTracks_(0) {}
virtual EventColin::~EventColin ( ) [inline, virtual]

Definition at line 11 of file EventColin.h.

{}

Member Function Documentation

void EventColin::addBlock ( const Block b) [inline]

Definition at line 116 of file EventColin.h.

References blocks_.

Referenced by PFRootEventManager::fillOutEventWithBlocks().

                                  {
    blocks_.push_back( b );
  }
void EventColin::addCaloTower ( const CaloTower ct) [inline]

Definition at line 112 of file EventColin.h.

References caloTowers_.

Referenced by PFRootEventManager::fillOutEventWithCaloTowers().

                                           {
    caloTowers_.push_back( ct );
  } 
void EventColin::addCandidate ( const Particle ptc) [inline]

Definition at line 88 of file EventColin.h.

References candidates_.

Referenced by PFRootEventManager::fillOutEventWithPFCandidates().

                                           {
    candidates_.push_back(ptc);
  }
void EventColin::addCluster ( const Cluster ptc) [inline]

Definition at line 92 of file EventColin.h.

References clusters_.

Referenced by PFRootEventManager::fillOutEventWithClusters().

                                        {
    clusters_.push_back(ptc);
  }
void EventColin::addClusterIsland ( const Cluster ptc) [inline]

Definition at line 96 of file EventColin.h.

References clustersIsland_.

                                              {
    clustersIsland_.push_back(ptc);
  }
void EventColin::addJetEHT ( const Jet jets) [inline]

Definition at line 104 of file EventColin.h.

References jetsEHT_.

Referenced by PFRootEventManager::tauBenchmark().

                                     {
    jetsEHT_.push_back(jets);
  }
void EventColin::addJetMC ( const Jet jets) [inline]

Definition at line 100 of file EventColin.h.

References jetsMC_.

Referenced by PFRootEventManager::tauBenchmark().

                                    {
    jetsMC_.push_back(jets);
  }
void EventColin::addJetPF ( const Jet jets) [inline]

Definition at line 108 of file EventColin.h.

References jetsPF_.

Referenced by PFRootEventManager::tauBenchmark().

                                    {
    jetsPF_.push_back(jets);
  }
void EventColin::addParticle ( const Particle ptc) [inline]

Definition at line 84 of file EventColin.h.

References particles_.

Referenced by PFRootEventManager::fillOutEventWithSimParticles().

                                          {
    particles_.push_back(ptc);
  }
const std::vector<EventColin::Cluster>& EventColin::clusters ( ) [inline]

Definition at line 123 of file EventColin.h.

References clusters_.

    {return clusters_;}
const std::vector<EventColin::Cluster>& EventColin::clustersIsland ( ) [inline]

Definition at line 125 of file EventColin.h.

References clustersIsland_.

    {return clustersIsland_;}
const std::vector<EventColin::Jet>& EventColin::jetsEHT ( ) [inline]

Definition at line 129 of file EventColin.h.

References jetsEHT_.

    {return jetsEHT_;}
const std::vector<EventColin::Jet>& EventColin::jetsMC ( ) [inline]

Definition at line 127 of file EventColin.h.

References jetsMC_.

    {return jetsMC_;}
const std::vector<EventColin::Jet>& EventColin::jetsPF ( ) [inline]

Definition at line 131 of file EventColin.h.

References jetsPF_.

    {return jetsPF_;}
const std::vector<EventColin::Particle>& EventColin::particles ( ) [inline]

Definition at line 121 of file EventColin.h.

References particles_.

    {return particles_;}
void EventColin::reset ( void  ) [inline]

Definition at line 12 of file EventColin.h.

References candidates_, clusters_, clustersIsland_, jetsEHT_, jetsMC_, jetsPF_, nTracks_, number_, and particles_.

Referenced by PFRootEventManager::reset().

               {
    number_ = -1;
    particles_.clear();
    candidates_.clear();
    clusters_.clear();
    clustersIsland_.clear();
    jetsMC_.clear();
    jetsEHT_.clear();
    jetsPF_.clear();
    nTracks_=0;
  }
void EventColin::setNTracks ( int  nTracks) [inline]

Definition at line 82 of file EventColin.h.

References nTracks_.

{nTracks_ = nTracks;}
void EventColin::setNumber ( int  number) [inline]

Definition at line 81 of file EventColin.h.

References number_.

Referenced by PFRootEventManager::processEntry().

{number_ = number;}

Member Data Documentation

std::vector<EventColin::Block> EventColin::blocks_ [private]

Definition at line 146 of file EventColin.h.

Referenced by addBlock().

Definition at line 145 of file EventColin.h.

Referenced by addCaloTower().

Definition at line 139 of file EventColin.h.

Referenced by addCandidate(), and reset().

Definition at line 140 of file EventColin.h.

Referenced by addCluster(), clusters(), and reset().

Definition at line 141 of file EventColin.h.

Referenced by addClusterIsland(), clustersIsland(), and reset().

std::vector<EventColin::Jet> EventColin::jetsEHT_ [private]

Definition at line 143 of file EventColin.h.

Referenced by addJetEHT(), jetsEHT(), and reset().

std::vector<EventColin::Jet> EventColin::jetsMC_ [private]

Definition at line 142 of file EventColin.h.

Referenced by addJetMC(), jetsMC(), and reset().

std::vector<EventColin::Jet> EventColin::jetsPF_ [private]

Definition at line 144 of file EventColin.h.

Referenced by addJetPF(), jetsPF(), and reset().

int EventColin::nTracks_ [private]

Definition at line 137 of file EventColin.h.

Referenced by reset(), and setNTracks().

int EventColin::number_ [private]

Definition at line 136 of file EventColin.h.

Referenced by reset(), and setNumber().

Definition at line 138 of file EventColin.h.

Referenced by addParticle(), particles(), and reset().