![]()  | 
  
    Project
    
   | 
 
#include <ClusterReaderSpec.h>
Inherits o2::framework::Task.
Public Member Functions | |
| ClusterReader (bool useMC=true) | |
| ~ClusterReader () override=default | |
| void | init (o2::framework::InitContext &ic) final | 
| void | run (o2::framework::ProcessingContext &pc) final | 
  Public Member Functions inherited from o2::framework::Task | |
| virtual | ~Task () | 
| virtual void | endOfStream (EndOfStreamContext &context) | 
| This is invoked whenever we have an EndOfStream event.   | |
| virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) | 
| virtual void | stop () | 
| This is invoked on stop.   | |
Protected Member Functions | |
| void | connectTree (const std::string &filename) | 
Protected Attributes | |
| std::vector< o2::cpv::Cluster > | mClusters | 
| std::vector< o2::cpv::Cluster > * | mClustersInp = &mClusters | 
| std::vector< o2::cpv::TriggerRecord > | mTRs | 
| std::vector< o2::cpv::TriggerRecord > * | mTRsInp = &mTRs | 
| o2::dataformats::MCTruthContainer< o2::MCCompLabel > | mMCTruth | 
| o2::dataformats::MCTruthContainer< o2::MCCompLabel > * | mMCTruthInp = &mMCTruth | 
| o2::header::DataOrigin | mOrigin = o2::header::gDataOriginCPV | 
| bool | mUseMC = true | 
| std::unique_ptr< TFile > | mFile | 
| std::unique_ptr< TTree > | mTree | 
| std::string | mInputFileName = "" | 
| std::string | mClusterTreeName = "o2sim" | 
| std::string | mClusterBranchName = "CPVCluster" | 
| std::string | mTRBranchName = "CPVClusterTrigRec" | 
| std::string | mClusterMCTruthBranchName = "CPVClusterTrueMC" | 
Definition at line 33 of file ClusterReaderSpec.h.
| o2::cpv::ClusterReader::ClusterReader | ( | bool | useMC = true | ) | 
Definition at line 29 of file ClusterReaderSpec.cxx.
      
  | 
  overridedefault | 
      
  | 
  protected | 
Definition at line 59 of file ClusterReaderSpec.cxx.
      
  | 
  finalvirtual | 
The method which is called once to initialise the task. Derived classes can use this to save extra state.
Reimplemented from o2::framework::Task.
Definition at line 34 of file ClusterReaderSpec.cxx.
      
  | 
  finalvirtual | 
This is invoked whenever a new InputRecord is demeed to be complete.
Implements o2::framework::Task.
Definition at line 41 of file ClusterReaderSpec.cxx.
      
  | 
  protected | 
Definition at line 56 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 58 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 44 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 44 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 55 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 52 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 54 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 46 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 46 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 48 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 57 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 53 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 45 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 45 of file ClusterReaderSpec.h.
      
  | 
  protected | 
Definition at line 50 of file ClusterReaderSpec.h.