Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void DEventProcessor_ReactionEfficiency::Process(const std::shared_ptr<const JEv
//If no cuts are performed by the analysis actions added to a DReaction, then this saves all of its particle combinations.
//The event writer gets the DAnalysisResults objects from JANA, performing the analysis.
// string is DReaction factory tag: will fill trees for all DReactions that are defined in the specified factory
const DEventWriterROOT_ReactionEfficiency* locEventWriterROOT = NULL;
const DEventWriterROOT* locEventWriterROOT = NULL;
locEvent->GetSingle(locEventWriterROOT, "ReactionEfficiency");
locEventWriterROOT->Fill_DataTrees(locEvent, "ReactionEfficiency");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class DEventWriterROOT_factory_ReactionEfficiency : public JFactoryT<DEventWrite
{
public:
DEventWriterROOT_factory_ReactionEfficiency(){
SetTag("ReactionEfficiency");
SetRegenerateFlag(true); //prevents JANA from searching the input file for these objects
};
};
~DEventWriterROOT_factory_ReactionEfficiency(){};
const char* Tag(void){return "ReactionEfficiency";}

DEventWriterROOT_ReactionEfficiency *dROOTEventWriter = nullptr;

Expand Down
Loading