Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:57

0001 /*! \brief   Definition of all the relevant data types
0002  *
0003  *  \author Andrew W. Rose
0004  *  \author Nicola Pozzobon
0005  *  \date   2013, Jul 12
0006  *
0007  */
0008 
0009 #ifndef L1_TRACK_TRIGGER_TYPES_H
0010 #define L1_TRACK_TRIGGER_TYPES_H
0011 
0012 /// Standard CMS Formats
0013 #include "DataFormats/Common/interface/Ref.h"
0014 #include "DataFormats/Common/interface/Ptr.h"
0015 #include "DataFormats/Common/interface/DetSetVector.h"
0016 #include "DataFormats/Phase2TrackerDigi/interface/Phase2TrackerDigi.h"
0017 #include "DataFormats/L1TrackTrigger/interface/TTCluster.h"
0018 #include "DataFormats/L1TrackTrigger/interface/TTStub.h"
0019 #include "DataFormats/L1TrackTrigger/interface/TTTrack.h"
0020 #include "DataFormats/L1TrackTrigger/interface/TTTrack_TrackWord.h"
0021 
0022 /// Templated aliases
0023 template <typename T>
0024 using TTClusterDetSetVecT = edmNew::DetSetVector<TTCluster<T> >;
0025 template <typename T>
0026 using TTStubDetSetVecT = edmNew::DetSetVector<TTStub<T> >;
0027 
0028 template <typename T>
0029 using TTClusterRefT = edm::Ref<TTClusterDetSetVecT<T>, TTCluster<T> >;
0030 template <typename T>
0031 using TTStubRefT = edm::Ref<TTStubDetSetVecT<T>, TTStub<T> >;
0032 
0033 template <typename T>
0034 using TTTrackPtrT = edm::Ptr<TTTrack<T> >;
0035 
0036 /// Specialized aliases
0037 typedef edm::Ref<edm::DetSetVector<Phase2TrackerDigi>, Phase2TrackerDigi> Ref_Phase2TrackerDigi_;
0038 
0039 typedef edmNew::DetSet<TTStub<Ref_Phase2TrackerDigi_> > TTStubDetSet;
0040 
0041 typedef TTClusterDetSetVecT<Ref_Phase2TrackerDigi_> TTClusterDetSetVec;
0042 typedef TTStubDetSetVecT<Ref_Phase2TrackerDigi_> TTStubDetSetVec;
0043 
0044 typedef TTClusterRefT<Ref_Phase2TrackerDigi_> TTClusterRef;
0045 typedef TTStubRefT<Ref_Phase2TrackerDigi_> TTStubRef;
0046 
0047 typedef TTTrackPtrT<Ref_Phase2TrackerDigi_> TTTrackPtr;
0048 
0049 #endif