ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/GPetrucc/plugins/DataNTupler.cc
Revision: 1.3
Committed: Thu Jul 30 08:42:57 2009 UTC (15 years, 9 months ago) by gpetrucc
Content type: text/plain
Branch: MAIN
CVS Tags: V03-00-00, V02-00-00, Before34X, V01-00-00, Checkpoint_2_2_10_v1, HEAD
Changes since 1.2: +1 -230 lines
Log Message:
- Refactored code
- Printing di-object variables

File Contents

# User Rev Content
1 gpetrucc 1.3 #include "UserCode/GPetrucc/plugins/DataNTupler.h"
2 gpetrucc 1.1
3     #include "FWCore/Framework/interface/MakerMacros.h"
4    
5     #include "DataFormats/PatCandidates/interface/Muon.h"
6     #include "DataFormats/PatCandidates/interface/GenericParticle.h"
7     #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
8    
9     //define this as a plug-in
10     typedef DataNTupler<pat::Muon> PATMuonNTupler;
11     typedef DataNTupler<pat::GenericParticle> PATGenericParticleNTupler;
12     typedef DataNTupler<reco::GenParticle> GenParticleNTupler;
13     DEFINE_FWK_MODULE(GenParticleNTupler);
14 gpetrucc 1.2 DEFINE_FWK_MODULE(PATMuonNTupler);
15 gpetrucc 1.1 DEFINE_FWK_MODULE(PATGenericParticleNTupler);