CMS 3D CMS Logo

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

#include <EventColin.h>

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.

10 : number_(-1), nTracks_(0) {}
int nTracks_
Definition: EventColin.h:137
virtual EventColin::~EventColin ( )
inlinevirtual

Definition at line 11 of file EventColin.h.

11 {}

Member Function Documentation

void EventColin::addBlock ( const Block b)
inline

Definition at line 116 of file EventColin.h.

References blocks_.

Referenced by PFRootEventManager::fillOutEventWithBlocks().

116  {
117  blocks_.push_back( b );
118  }
double b
Definition: hdecay.h:120
std::vector< EventColin::Block > blocks_
Definition: EventColin.h:146
void EventColin::addCaloTower ( const CaloTower ct)
inline

Definition at line 112 of file EventColin.h.

References caloTowers_.

Referenced by PFRootEventManager::fillOutEventWithCaloTowers().

112  {
113  caloTowers_.push_back( ct );
114  }
std::vector< EventColin::CaloTower > caloTowers_
Definition: EventColin.h:145
void EventColin::addCandidate ( const Particle ptc)
inline

Definition at line 88 of file EventColin.h.

References candidates_.

Referenced by PFRootEventManager::fillOutEventWithPFCandidates().

88  {
89  candidates_.push_back(ptc);
90  }
std::vector< EventColin::Particle > candidates_
Definition: EventColin.h:139
void EventColin::addCluster ( const Cluster ptc)
inline

Definition at line 92 of file EventColin.h.

References clusters_.

Referenced by PFRootEventManager::fillOutEventWithClusters().

92  {
93  clusters_.push_back(ptc);
94  }
std::vector< EventColin::Cluster > clusters_
Definition: EventColin.h:140
void EventColin::addClusterIsland ( const Cluster ptc)
inline

Definition at line 96 of file EventColin.h.

References clustersIsland_.

96  {
97  clustersIsland_.push_back(ptc);
98  }
std::vector< EventColin::Cluster > clustersIsland_
Definition: EventColin.h:141
void EventColin::addJetEHT ( const Jet jets)
inline

Definition at line 104 of file EventColin.h.

References jetsEHT_.

Referenced by PFRootEventManager::tauBenchmark().

104  {
105  jetsEHT_.push_back(jets);
106  }
std::vector< EventColin::Jet > jetsEHT_
Definition: EventColin.h:143
vector< PseudoJet > jets
void EventColin::addJetMC ( const Jet jets)
inline

Definition at line 100 of file EventColin.h.

References jetsMC_.

Referenced by PFRootEventManager::tauBenchmark().

100  {
101  jetsMC_.push_back(jets);
102  }
std::vector< EventColin::Jet > jetsMC_
Definition: EventColin.h:142
vector< PseudoJet > jets
void EventColin::addJetPF ( const Jet jets)
inline

Definition at line 108 of file EventColin.h.

References jetsPF_.

Referenced by PFRootEventManager::tauBenchmark().

108  {
109  jetsPF_.push_back(jets);
110  }
vector< PseudoJet > jets
std::vector< EventColin::Jet > jetsPF_
Definition: EventColin.h:144
void EventColin::addParticle ( const Particle ptc)
inline

Definition at line 84 of file EventColin.h.

References particles_.

Referenced by PFRootEventManager::fillOutEventWithSimParticles().

84  {
85  particles_.push_back(ptc);
86  }
std::vector< EventColin::Particle > particles_
Definition: EventColin.h:138
const std::vector<EventColin::Cluster>& EventColin::clusters ( )
inline

Definition at line 123 of file EventColin.h.

References clusters_.

124  {return clusters_;}
std::vector< EventColin::Cluster > clusters_
Definition: EventColin.h:140
const std::vector<EventColin::Cluster>& EventColin::clustersIsland ( )
inline

Definition at line 125 of file EventColin.h.

References clustersIsland_.

126  {return clustersIsland_;}
std::vector< EventColin::Cluster > clustersIsland_
Definition: EventColin.h:141
const std::vector<EventColin::Jet>& EventColin::jetsEHT ( )
inline

Definition at line 129 of file EventColin.h.

References jetsEHT_.

130  {return jetsEHT_;}
std::vector< EventColin::Jet > jetsEHT_
Definition: EventColin.h:143
const std::vector<EventColin::Jet>& EventColin::jetsMC ( )
inline

Definition at line 127 of file EventColin.h.

References jetsMC_.

128  {return jetsMC_;}
std::vector< EventColin::Jet > jetsMC_
Definition: EventColin.h:142
const std::vector<EventColin::Jet>& EventColin::jetsPF ( )
inline

Definition at line 131 of file EventColin.h.

References jetsPF_.

132  {return jetsPF_;}
std::vector< EventColin::Jet > jetsPF_
Definition: EventColin.h:144
const std::vector<EventColin::Particle>& EventColin::particles ( )
inline

Definition at line 121 of file EventColin.h.

References particles_.

122  {return particles_;}
std::vector< EventColin::Particle > particles_
Definition: EventColin.h:138
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().

12  {
13  number_ = -1;
14  particles_.clear();
15  candidates_.clear();
16  clusters_.clear();
17  clustersIsland_.clear();
18  jetsMC_.clear();
19  jetsEHT_.clear();
20  jetsPF_.clear();
21  nTracks_=0;
22  }
std::vector< EventColin::Jet > jetsEHT_
Definition: EventColin.h:143
std::vector< EventColin::Particle > candidates_
Definition: EventColin.h:139
int nTracks_
Definition: EventColin.h:137
std::vector< EventColin::Jet > jetsMC_
Definition: EventColin.h:142
std::vector< EventColin::Particle > particles_
Definition: EventColin.h:138
std::vector< EventColin::Cluster > clustersIsland_
Definition: EventColin.h:141
std::vector< EventColin::Cluster > clusters_
Definition: EventColin.h:140
std::vector< EventColin::Jet > jetsPF_
Definition: EventColin.h:144
void EventColin::setNTracks ( int  nTracks)
inline

Definition at line 82 of file EventColin.h.

References nTracks_.

82 {nTracks_ = nTracks;}
int nTracks_
Definition: EventColin.h:137
void EventColin::setNumber ( int  number)
inline

Definition at line 81 of file EventColin.h.

References number_.

Referenced by PFRootEventManager::processEntry().

81 {number_ = number;}

Member Data Documentation

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

Definition at line 146 of file EventColin.h.

Referenced by addBlock().

std::vector<EventColin::CaloTower> EventColin::caloTowers_
private

Definition at line 145 of file EventColin.h.

Referenced by addCaloTower().

std::vector<EventColin::Particle> EventColin::candidates_
private

Definition at line 139 of file EventColin.h.

Referenced by addCandidate(), and reset().

std::vector<EventColin::Cluster> EventColin::clusters_
private

Definition at line 140 of file EventColin.h.

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

std::vector<EventColin::Cluster> EventColin::clustersIsland_
private

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().

std::vector<EventColin::Particle> EventColin::particles_
private

Definition at line 138 of file EventColin.h.

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