Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-29 10:25:01

0001 #include "JHasOutputs.h"
0002 #include <JANA/JFactory.h>
0003 
0004 void jana::components::UpdateFactoryStatusOnEulerianStore(JFactory* fac) {
0005     // We need to set the factory status separately from the databundle status so 
0006     // that the factory doesn't accidentally get re-run.
0007     // We do this inside a weird little free function because we need to avoid creating
0008     // a circular definition of JFactory in our templates.
0009     // Eventually we will need to refactor JFactory::Status and CreationStatus.
0010 
0011     fac->SetStatus(JFactory::Status::Inserted);
0012     fac->SetCreationStatus(JFactory::CreationStatus::Inserted);
0013 }
0014 
0015