AliAODEvent::GetHeader() returns AliVHeader
[u/mrichter/AliRoot.git] / PWG / DevNanoAOD / AliNanoAODReplicator.h
index 2abf866..86c4b4c 100644 (file)
@@ -63,12 +63,13 @@ class AliNanoAODReplicator : public AliAODBranchReplicator
 {
  public:
   
-  AliNanoAODReplicator(const char* name="AliNanoAODReplicator", 
-                         const char* title="Branch Replicator for special tracks related branches",
-                         const char * varlist="pt,eta",
-                         AliAnalysisCuts* trackCut=0x0,
-                         Int_t mcMode=0
-                       );
+  AliNanoAODReplicator();
+  AliNanoAODReplicator(const char* name,
+                      const char* title,
+                      const char * varlist=0,
+                      AliAnalysisCuts* trackCut=0x0,
+                      Int_t mcMode=0
+                      );
   
   virtual ~AliNanoAODReplicator();
   
@@ -97,8 +98,6 @@ class AliNanoAODReplicator : public AliAODBranchReplicator
   void FilterMC(const AliAODEvent& source);
  
 
-  Double_t fBzkG;     // z componenent of field in kG
-
  private:
   
   AliAnalysisCuts* fTrackCut; // decides which tracks to keep
@@ -117,8 +116,8 @@ class AliNanoAODReplicator : public AliAODBranchReplicator
   TExMap fLabelMap; //! for MC label remapping (in case of aggressive filtering)
   TExMap fParticleSelected; //! List of selected MC particles
                        
-  const char * fVarList; // list of variables to be filterered
-  const char * fVarListHeader; // list of variables to be filtered (header)
+  TString fVarList; // list of variables to be filterered
+  TString fVarListHeader; // list of variables to be filtered (header)
 
   AliNanoAODCustomSetter * fCustomSetter;  // Setter class for custom variables