Place the salmon in a shallow pan. Add enough water to just cover the fish. Season with vinegar, bay leaf and peppercorns. Poach gently until the salmon tests just done. Do not overcook! Flake the salmon into pieces, and mix in herbs.
Saute shallots in butter until lightly browned. Remove from the heat and mix with salmon and herbs.
Beat eggs with the half and half, mustard, and salt. Put salmon mixture in the pie shell. Add the ricotta followed by the egg mixture. Sprinkle the cheddar cheese over the top.
Bake 10 minutes at 450°F then turn the oven down to 350°F., bake until the filling is firm (about 20 minutes longer). Let the pie cool for a few minutes before slicing.