Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlange6 committed Mar 17, 2021
1 parent 348740e commit 4d7cd73
Show file tree
Hide file tree
Showing 3 changed files with 451 additions and 7 deletions.
276 changes: 276 additions & 0 deletions SimG4Core/Notification/go.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
>> Local Products Rules ..... started
>> Local Products Rules ..... done
>> Entering Package SimG4Core/Notification
>> Compiling /dlange/210317/CMSSW_11_3_X_2021-03-16-2300/src/SimG4Core/Notification/test/simactivityregistryNew_t.cppunit.cpp
In file included from /cvmfs/cms-ib.cern.ch/nweek-02672/slc7_amd64_gcc900/external/boost/1.75.0-edb1ce683d8b13eb6857b17c4cf93614/include/boost/bind.hpp:30,
from /dlange/210317/CMSSW_11_3_X_2021-03-16-2300/src/SimG4Core/Notification/interface/SimActivityRegistry.h:22,
from /dlange/210317/CMSSW_11_3_X_2021-03-16-2300/src/SimG4Core/Notification/test/simactivityregistryNew_t.cppunit.cpp:10:
/cvmfs/cms-ib.cern.ch/nweek-02672/slc7_amd64_gcc900/external/boost/1.75.0-edb1ce683d8b13eb6857b17c4cf93614/include/boost/bind.hpp:36:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
36 | BOOST_PRAGMA_MESSAGE(
| ^~~~~~~~~~~~~~~~~~~~
>> Building binary newtestSimG4CoreNotifications
Copying tmp/slc7_amd64_gcc900/src/SimG4Core/Notification/test/newtestSimG4CoreNotifications/newtestSimG4CoreNotifications to productstore area:
>> Leaving Package SimG4Core/Notification
>> Package SimG4Core/Notification built
Creating test log file logs/slc7_amd64_gcc900/testing.log
Package SimG4Core/Notification: Running test newtestSimG4CoreNotifications

===== Test "newtestSimG4CoreNotifications" ====
Running ...N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_18NoSignalE
ok N12_GLOBAL__N_18NoSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_19OneSignalE
ok N12_GLOBAL__N_19OneSignalE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_110TwoSignalsE
ok N12_GLOBAL__N_110TwoSignalsE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfRunEE
ok N12_GLOBAL__N_18CountingI10BeginOfRunEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI10BeginOfJobEE
ok N12_GLOBAL__N_18CountingI10BeginOfJobEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfEventEE
ok N12_GLOBAL__N_18CountingI12BeginOfEventEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI12BeginOfTrackEE
ok N12_GLOBAL__N_18CountingI12BeginOfTrackEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI8DDDWorldEE
ok N12_GLOBAL__N_18CountingI8DDDWorldEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI6G4StepEE
ok N12_GLOBAL__N_18CountingI6G4StepEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI8EndOfRunEE
ok N12_GLOBAL__N_18CountingI8EndOfRunEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfEventEE
ok N12_GLOBAL__N_18CountingI10EndOfEventEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE
N12_GLOBAL__N_18CountingI10EndOfTrackEE
ok N12_GLOBAL__N_18CountingI10EndOfTrackEE


OK (3)

---> test newtestSimG4CoreNotifications succeeded

^^^^ End Test newtestSimG4CoreNotifications ^^^^
Package SimG4Core/Notification: Running test testSimG4CoreNotifications

===== Test "testSimG4CoreNotifications" ====
Running ...

OK (3)

---> test testSimG4CoreNotifications succeeded

^^^^ End Test testSimG4CoreNotifications ^^^^
>> Tests for package SimG4Core/Notification ran.
23 changes: 16 additions & 7 deletions SimG4Core/Notification/interface/SimActivityRegistryEnroller.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ namespace enroller_helper {
};

template <class T>
static void enroll(SimActivityRegistry& iReg, T* iT) {
}
static void enroll(SimActivityRegistry& iReg, T* iT) {}

template <class T, class F, class ...TVector>
static void enroll(SimActivityRegistry& iReg, T* iT) {
template <class T, class F, class... TVector>
static void enroll(SimActivityRegistry& iReg, T* iT) {
//Try to enroll the object if it inherits from the class at the
// start of TVector
Enrollment<F>::enroll(iReg,iT);
enroll<T,TVector...>(iReg,iT);
Enrollment<F>::enroll(iReg, iT);
enroll<T, TVector...>(iReg, iT);
}

} // namespace enroller_helper
Expand All @@ -49,7 +48,17 @@ class SimActivityRegistryEnroller {

template <class T>
static void enroll(SimActivityRegistry& iReg, T* iObj) {
enroller_helper::enroll<T, BeginOfJob, DDDWorld, BeginOfRun, BeginOfEvent, BeginOfTrack, BeginOfStep, G4Step, EndOfTrack, EndOfEvent, EndOfRun>(iReg, iObj);
enroller_helper::enroll<T,
BeginOfJob,
DDDWorld,
BeginOfRun,
BeginOfEvent,
BeginOfTrack,
BeginOfStep,
G4Step,
EndOfTrack,
EndOfEvent,
EndOfRun>(iReg, iObj);
}

// stop default
Expand Down
Loading

0 comments on commit 4d7cd73

Please sign in to comment.