1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef DataFormats_TrackerCommon_PixelPannelType_H
#define DataFormats_TrackerCommon_PixelPannelType_H
#include "DataFormats/TrackerCommon/interface/PixelEndcapName.h"
class PixelPannelType {
public:
enum PannelType { p3L, p3R, p4L, p4R, p2x8 };
static PannelType pannelType(const PixelEndcapName& name) {
PannelType type = (name.pannelName() == 1) ? p4L : p3L;
return type;
}
};
#endif
|