// $Id: $ // // File: DEventProcessor_cdc_hists.h // #ifndef _DEventProcessor_cdc_hists_ #define _DEventProcessor_cdc_hists_ #include #include using std::map; #include #include #include #include #include #include #include #include using namespace jana; #include #include #include #include #include #include "CDC_branch.h" #include "CDChit_branch.h" class DEventProcessor_cdc_hists:public JEventProcessor{ public: DEventProcessor_cdc_hists(); ~DEventProcessor_cdc_hists(); TTree *cdctree; CDC_branch cdc; CDC_branch *cdc_ptr; TTree *cdchittree; CDChit_branch cdchit; CDChit_branch *cdchit_ptr; TBranch *cdcbranch, *cdchitbranch; TH1D *idEdx; TH2D *idEdx_vs_p; private: jerror_t init(void); ///< Invoked via DEventProcessor virtual method jerror_t evnt(JEventLoop *loop, int eventnumber); ///< Invoked via DEventProcessor virtual method jerror_t brun(JEventLoop *eventLoop, int runnumber); jerror_t erun(void); ///< Invoked via DEventProcessor virtual method jerror_t fini(void); ///< Invoked via DEventProcessor virtual method pthread_mutex_t mutex; const DMagneticFieldMap *bfield; DReferenceTrajectory *rt; }; #endif // _DEventProcessor_cdc_hists_