ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/PhysicsMod/interface/PublisherMod.h
(Generate patch)

Comparing UserCode/MitAna/PhysicsMod/interface/PublisherMod.h (file contents):
Revision 1.6 by bendavid, Wed Mar 11 18:13:10 2009 UTC vs.
Revision 1.9 by loizides, Mon Jun 15 15:00:16 2009 UTC

# Line 13 | Line 13
13   #ifndef MITANA_PHYSICSMOD_PUBLISHERMOD_H
14   #define MITANA_PHYSICSMOD_PUBLISHERMOD_H
15  
16 + #include "MitAna/DataCont/interface/Collection.h"
17 + #include "MitAna/DataCont/interface/ObjArray.h"
18   #include "MitAna/TreeMod/interface/BaseMod.h"
17 #include "MitAna/DataTree/interface/Collections.h"
19  
20   namespace mithep
21   {
# Line 24 | Line 25 | namespace mithep
25      public:
26        PublisherMod(const char *name="PublisherMod",
27                     const char *title="Publisher module");
27      ~PublisherMod() {}
28  
29        const char              *GetBranchName()              const { return fBranchName;     }
30        const char              *GetInputName()               const { return GetBranchName(); }
# Line 94 | Line 94 | void mithep::PublisherMod<TIn, TOut>::Sl
94    ReqBranch(GetBranchName(), fColIn);
95  
96    if (fPublicName.IsNull())
97 <    fPublicName = fBranchName;
97 >    fPublicName = GetBranchName();
98  
99    if (!GetPubPerEvent()) {
100      fColOut = new mithep::ObjArray<TOut>(0, GetPublicName());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines