Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:01:05

0001 // -*- C++ -*-
0002 //
0003 // Package:     Core
0004 // Class  :     FWItemCSCSegmentAccessor
0005 //
0006 // Implementation:
0007 //     An example of how to write a plugin based FWItemAccessorBase derived class.
0008 //
0009 // Original Author:  Giulio Eulisse
0010 //         Created:  Thu Feb 18 15:19:44 EDT 2008
0011 //
0012 
0013 // system include files
0014 #include <cassert>
0015 
0016 #include "TClass.h"
0017 
0018 // user include files
0019 #include "DataFormats/L1Trigger/interface/BXVector.h"
0020 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0021 #include "DataFormats/L1THGCal/interface/HGCalMulticluster.h"
0022 
0023 #include "Fireworks/Core/interface/FWItemRandomAccessor.h"
0024 
0025 REGISTER_TEMPLATE_FWITEMACCESSOR(BXVectorAccessor<BXVector<l1t::HGCalTriggerCell>>,
0026                                  BXVector<l1t::HGCalTriggerCell>,
0027                                  "HGCalTriggerCellCollectionAccessor");
0028 
0029 REGISTER_TEMPLATE_FWITEMACCESSOR(BXVectorAccessor<BXVector<l1t::HGCalMulticluster>>,
0030                                  BXVector<l1t::HGCalMulticluster>,
0031                                  "HGCalTriggerClusterCollectionAccessor");