Marlin  1.10.0
 All Classes Namespaces Functions Variables Enumerations Friends Pages
CCCollection.h
1 #ifndef CCCOLLECTION_H
2 #define CCCOLLECTION_H
3 
4 #include <string>
5 
6 namespace marlin {
7 
8  class CCProcessor;
9 
17  class CCCollection{
18 
19  public:
20 
21  //constructor
22  CCCollection( const std::string& value="", const std::string& type="", const std::string& name="", CCProcessor* srcProc=NULL );
23 
24  //copy constructor
25  CCCollection( const CCCollection &c );
26 
27  //destructor
28  ~CCCollection();
29 
30  const std::string& getValue() const { return _value; }
31  const std::string& getType() const { return _type; }
32  const std::string& getName() const { return _name; }
33 
35  CCProcessor* getSrcProc(){ return _srcProc; }
36 
37  void setValue( const std::string& value );
38  void setType( const std::string& type );
39  void setName( const std::string& name );
40 
42  void setSrcProc( CCProcessor* srcProc );
43 
44  private:
45 
46  std::string _value; // lcio collection name
47  std::string _type; // lcio collection type
48  std::string _name; // parameter "name" of the collection in the xml file
49  CCProcessor* _srcProc; // CCProcessor associated to this collection
50  };
51 
52 } // namespace
53 #endif
handles information about LCIO collections needed by MarlinSteerCheck
Definition: CCCollection.h:17
handles information about marlin processors and their collections needed by MarlinSteerCheck ...
Definition: CCProcessor.h:39
CCProcessor * getSrcProc()
Returns the source CCProcessor associated to this collection.
Definition: CCCollection.h:35
void setSrcProc(CCProcessor *srcProc)
Sets the source CCProcessor associated to this collection.
Definition: CCCollection.cc:37