cms-jet / JetMETAnalysis

2 stars 33 forks source link

Multithreaded framework #9

Closed aperloff closed 8 years ago

aperloff commented 8 years ago

Start to transition to a multithreaded framework. This is not a final solution. To begin with I merged the JRAEvent and JRANtuple classes so that only the JRAEvent class remains. I have also transitioned from arrays to vectors. The MatchRecToGen class is now thread safe.

JetResponseAnalyzer is the only non-thread safe program now. Analyzers which use the TFileService are known not to be thread safe and we will transition to a thread safe version at a later date.

Work still needs to be done to make the JetResponseAnalyzerProducer thread safe.

aperloff commented 8 years ago

I have already looked at these changes and they seem to be in order.