Marlin  01.17.01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CCCollection.cc
Go to the documentation of this file.
1 #include "marlin/CCCollection.h"
2 
3 #include <iostream>
4 
5 namespace marlin{
6 
7  CCCollection::CCCollection( const std::string& value, const std::string& type, const std::string& name, CCProcessor* srcProc ) :
8  _value(value),
9  _type(type),
10  _name(name),
11  _srcProc(srcProc){
12  }
13 
15  _srcProc=NULL;
16  }
17 
19  _value(c._value),
20  _type(c._type),
21  _name(c._name),
22  _srcProc(c._srcProc){
23  }
24 
25  void CCCollection::setValue( const std::string& value ){
26  _value = value;
27  }
28 
29  void CCCollection::setType( const std::string& type ){
30  _type = type;
31  }
32 
33  void CCCollection::setName( const std::string& name ){
34  _name = name;
35  }
36 
38  _srcProc = srcProc;
39  }
40 
41 } // namespace
42 
CCCollection(const std::string &value="", const std::string &type="", const std::string &name="", CCProcessor *srcProc=NULL)
Definition: CCCollection.cc:7
handles information about LCIO collections needed by MarlinSteerCheck
Definition: CCCollection.h:17
void setValue(const std::string &value)
Definition: CCCollection.cc:25
handles information about marlin processors and their collections needed by MarlinSteerCheck ...
Definition: CCProcessor.h:39
STL class.
std::string _value
Definition: CCCollection.h:49
void setSrcProc(CCProcessor *srcProc)
Sets the source CCProcessor associated to this collection.
Definition: CCCollection.cc:37
void setType(const std::string &type)
Definition: CCCollection.cc:29
void setName(const std::string &name)
Definition: CCCollection.cc:33
CCProcessor * _srcProc
Definition: CCCollection.h:52