Migration to 'getbyToken', part I.
Migration to 'getByToken', part I.
Roll-back to resolve conflict.
Merged 70X-consumesMigration-I from repository vadler
Merge branch 'CMSSW_7_0_X' of https://github.com/cms-sw/cmssw into from-CMSSW_7_0_X_2013-10-18-0200
Reapply migration after conflict resolution.
Fix helper classes.
Make static cache thread_local.
Remove unneeded statics.
Remove / make const a few more statics.
Remove statics.
Changed static to const static to avoid problems with thread safety checker
Made static nWarn thread-safe via std::atomic
Changed MagFields verbose::debugOut to constexpr to avoid threading problems

The thread-safey checker complains about the static verbose::debugOut.
Given that no code exists which changes the value after it is initialized
changing this to a constexpr has no functional effect. The default remains
the same 'false'. If one wants the debug output they have to edit the code
and recompile.
Make static data member non-static
Declare DigiAccumulatorMixModFactory::singleInstance_ const
Remove unnecessary dependency on Reflex
speedup MC truth management, addition of check om primary for ECAL RR for gamma
Pick different struct name if Reflex dictionary is split (ROOT6)

There are 5 packages, which are built in a few chunks in order
to have smaller translation unit and deliver finer granularity.

All chunks are linked together back into a single Reflex dictionary.
In ROOT6 it still has multiple intialization points, and 'struct
dictionary' from anonymous namespace is executed. In ROOT6 it's
done in the same context and causes multiple redefinitions:

input_line_35:60:10: error: redefinition of 'dictionary'
 struct dictionary {
        ^
input_line_19:99:10: note: previous definition is here
 struct dictionary {
        ^
input_line_37:73:10: error: redefinition of 'dictionary'
 struct dictionary {
        ^
input_line_19:99:10: note: previous definition is here
 struct dictionary {
        ^
Rename structs in each classes_*.h to avoid such conflicts in
ROOT6.

If Reflex dictionary is built in a few chunks, each chunk has to
have a unique struct name (if used).

Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
Merge pull request #1194 from davidlt/fix-root6-dictionary-struct-redefinition

Pick different struct name if Reflex dictionary is split (ROOT6)