]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAODHandler.h
some fixes wrt to the AliAODExtension behavior (Laurent)
[u/mrichter/AliRoot.git] / STEER / AliAODHandler.h
index c5032017a155bed7a718d77d19c68c140b00a465..905633472cce500f5fd59f66f02d54473457b29f 100644 (file)
@@ -143,7 +143,8 @@ class AliAODExtension : public TNamed {
 public:
 
 enum EAliAODExtensionFlags {
-   kFilteredAOD      = BIT(14)
+   kFilteredAOD      = BIT(14),
+   kDropUnspecifiedBranches = BIT(15)
 };
     
   AliAODExtension();
@@ -166,6 +167,12 @@ enum EAliAODExtensionFlags {
 
   void Print(Option_t* opt="") const;
   
+  // Branches not specified in any FilterBranch call will be dropped by default
+  void DropUnspecifiedBranches() { TObject::SetBit(kDropUnspecifiedBranches); }
+    
+  // Branches not specified in any FilterBranch call will be kept by default
+  void KeepUnspecifiedBranches() { TObject::ResetBit(kDropUnspecifiedBranches); }
+    
   void FilterBranch(const char* branchName, AliAODBranchReplicator* replicator=0x0);
 
   /* Use DisableReferences if and only if the output AOD contains no TRef or TRefArray,