test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RctUnpackCollections.cc
Go to the documentation of this file.
2 
3 
5  m_event(event),
6  m_rctEm(new L1CaloEmCollection()),
7  m_rctCalo(new L1CaloRegionCollection())
8 {
9  //m_rctIsoEm->reserve(4);
10  //m_rctCenJets->reserve(4);
11  //m_rctForJets->reserve(4);
12  //m_rctTauJets->reserve(4);
13  // ** DON'T RESERVE SPACE IN VECTORS FOR DEBUG UNPACK ITEMS! **
14 }
15 
17 {
18  // RCT input collections
21 
22 }
23 
24 std::ostream& operator<<(std::ostream& os, const RctUnpackCollections& rhs)
25 {
26  // RCT input collections
27  os << "Read " << rhs.rctEm()->size() << " RCT EM candidates\n"
28  << "Read " << rhs.rctCalo()->size() << " RCT Calo Regions\n";
29 
30  return os;
31 }
std::vector< L1CaloEmCand > L1CaloEmCollection
~RctUnpackCollections()
Destructor - the last action of this object is to put the rct collections into the event provided on ...
RctUnpackCollections(edm::Event &event)
Construct with an event. The collections get put into the event when the object instance goes out of ...
L1CaloRegionCollection *const rctCalo() const
Input calo regions from the RCT to the RCT.
std::auto_ptr< L1CaloRegionCollection > m_rctCalo
Input calo regions.
L1CaloEmCollection *const rctEm() const
Input electrons from the RCT to the RCT.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::auto_ptr< L1CaloEmCollection > m_rctEm
Input electrons.
std::vector< L1CaloRegion > L1CaloRegionCollection
edm::Event & m_event
The event the collections will be put into on destruction of the RctUnpackCollections instance...