Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JetContainer.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file JetContainer.cc
1 #include "JetContainer.h"
2 #include <ostream> // for operator<<, endl, ostream, basic_ostream
3 
4 class Jet;
5 
6 // Dummy members for virtual classes to return in base implementation
8 std::map<Jet::PROPERTY, Jet::PROPERTY> DummyMap;
9 std::vector<float> DummyFloatVec;
10 TClonesArray DummyTClonesArray("Jet", 1);
11 std::set<Jet::SRC> DummyJetContSourceSet;
12 // N.B. this will seg fault if used... so don't use it!
13 
14 std::map<Jet::PROPERTY, Jet::PROPERTY /*really this is an index*/>& property_indices() { return DummyMap; }
15 
17 {
18  return DummyJetContSourceSet.end();
19 }
20 
22 {
23  return DummyJetContSourceSet.end();
24 }
25 
27 {
28  return DummyJetContSourceSet.end();
29 }
30 
32 {
33  return DummyJetContSourceSet.end();
34 }
35 
37 {
38  return DummyJetContSourceSet.end();
39 }
40 
42 {
43  return DummyJetContSourceSet.end();
44 }
45 
46 void JetContainer::identify(std::ostream& os) const
47 {
48  os << "JetContainer" << std::endl;
49 }
50 
51 TClonesArray* JetContainer::clone_data() const
52 {
53  return (TClonesArray*) DummyTClonesArray.Clone();
54 };
55 
57 
58 /* Jet* JetContainer::current_jet() { return DummyJetV2; }; */
59 
60 /* std::vector<float>& JetContainer::jet_properties() { return DummyFloatVec; }; */
61 
63 {
64  return DummyIterJetTCA;
65 }
66 
68 {
69  return DummyIterJetTCA;
70 }