Marlin  1.17.1
 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  // assignment operator, not needed, verboten
31  CCCollection& operator=( const CCCollection & ) = delete;
32 
33  const std::string& getValue() const { return _value; }
34  const std::string& getType() const { return _type; }
35  const std::string& getName() const { return _name; }
36 
38  CCProcessor* getSrcProc(){ return _srcProc; }
39 
40  void setValue( const std::string& value );
41  void setType( const std::string& type );
42  void setName( const std::string& name );
43 
45  void setSrcProc( CCProcessor* srcProc );
46 
47  private:
48 
49  std::string _value; // lcio collection name
50  std::string _type; // lcio collection type
51  std::string _name; // parameter "name" of the collection in the xml file
52  CCProcessor* _srcProc; // CCProcessor associated to this collection
53  };
54 
55 } // namespace
56 #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:38
void setSrcProc(CCProcessor *srcProc)
Sets the source CCProcessor associated to this collection.
Definition: CCCollection.cc:37