21 |
|
class BaseFiller |
22 |
|
{ |
23 |
|
public: |
24 |
< |
BaseFiller(const edm::ParameterSet&, const char *en, const char *mn); |
24 |
> |
BaseFiller(const edm::ParameterSet&, const char *name); |
25 |
|
virtual ~BaseFiller() {} |
26 |
|
|
27 |
< |
virtual bool Active() { return active_; } |
28 |
< |
virtual void BookDataBlock(TreeWriter *tws) = 0; |
29 |
< |
virtual void FillDataBlock(const edm::Event&, const edm::EventSetup&) = 0; |
30 |
< |
virtual void ResolveLinks (const edm::Event&, const edm::EventSetup&) {} |
27 |
> |
bool Active() const { return active_; } |
28 |
> |
virtual void BookDataBlock(TreeWriter *tws) = 0; |
29 |
> |
virtual void FillDataBlock(const edm::Event&, const edm::EventSetup&) = 0; |
30 |
> |
const std::string &Name() const { return name_; } |
31 |
> |
virtual void ResolveLinks(const edm::Event&, const edm::EventSetup&) {} |
32 |
|
|
33 |
|
protected: |
34 |
< |
const edm::ParameterSet &config_; |
35 |
< |
std::string edmName_; |
36 |
< |
std::string mitName_; |
37 |
< |
const bool active_; |
34 |
> |
const std::string name_; |
35 |
> |
const edm::ParameterSet config_; |
36 |
> |
const bool active_; |
37 |
> |
|
38 |
> |
const edm::ParameterSet &Conf() const { return config_; } |
39 |
|
}; |
40 |
|
} |
41 |
|
#endif |